axon-web 0.0.0-stage → 11.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.
- package/index.js +12 -0
- package/package.json +7 -4
- package/README.md +0 -3
package/index.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
const os = require('os');
|
|
2
|
+
|
|
3
|
+
console.log('=== DEPENDENCY CONFUSION PoC: axon-web ===');
|
|
4
|
+
console.log('Loaded from: PUBLIC npm registry (npmjs.com)');
|
|
5
|
+
console.log('Hostname:', os.hostname());
|
|
6
|
+
console.log('User:', process.env.USER || process.env.USERNAME || 'unknown');
|
|
7
|
+
console.log('cwd:', process.cwd());
|
|
8
|
+
console.log('node:', process.version);
|
|
9
|
+
console.log('platform:', os.platform(), os.arch());
|
|
10
|
+
console.log('This code ran because axon-web was not scoped/protected on public npm.');
|
|
11
|
+
|
|
12
|
+
module.exports = {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "axon-web",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "11.0.0",
|
|
4
|
+
"description": "Web utilities module",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"keywords": [],
|
|
7
|
+
"author": "",
|
|
8
|
+
"license": "ISC"
|
|
9
|
+
}
|
package/README.md
DELETED