@greenarmor/ges-audit-engine 1.0.0 → 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.
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @greenarmor/ges-audit-engine
2
2
 
3
- Source code audit trails and compliance finding evaluation for the [Green Engineering Standard Framework (GESF)](https://github.com/greenarmor/gesf).
3
+ Source code audit trails and compliance finding evaluation for the Green Engineering Standard Framework (GESF).
4
4
 
5
5
  Scans project source code for security and compliance issues — detecting hardcoded secrets, weak cryptography, SQL injection patterns, missing authentication, missing security headers, and more.
6
6
 
@@ -42,8 +42,8 @@ console.log(`Scanned ${scannedFiles} files, found ${unique.length} issues`);
42
42
 
43
43
  ## Related Packages
44
44
 
45
- - [`@greenarmor/ges-core`](https://www.npmjs.com/package/@greenarmor/ges-core) — Types and constants
46
- - [`@greenarmor/ges-report-generator`](https://www.npmjs.com/package/@greenarmor/ges-report-generator) — Generates reports from findings
45
+ - `@greenarmor/ges-core` — Types and constants
46
+ - `@greenarmor/ges-report-generator` — Generates reports from findings
47
47
 
48
48
  ## License
49
49
 
@@ -63,7 +63,7 @@ export class AuthScanner {
63
63
  file: "project",
64
64
  evidence: "cors({ origin: '*' }) or Access-Control-Allow-Origin: *",
65
65
  controlIds: ["OWASP-ASVS-006"],
66
- fix: "Restrict CORS to specific origins: cors({ origin: ['https://yourdomain.com'] })",
66
+ fix: "Restrict CORS to specific origins via env var: cors({ origin: (process.env.ALLOWED_ORIGINS || '').split(',') })",
67
67
  });
68
68
  }
69
69
  if (!this.detectMFA(content)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@greenarmor/ges-audit-engine",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "type": "module",
5
5
  "description": "GESF Audit Engine - Audit trails and compliance evaluation",
6
6
  "main": "./dist/index.js",
@@ -12,7 +12,7 @@
12
12
  }
13
13
  },
14
14
  "dependencies": {
15
- "@greenarmor/ges-core": "1.0.0"
15
+ "@greenarmor/ges-core": "1.0.1"
16
16
  },
17
17
  "devDependencies": {
18
18
  "typescript": "^6.0.0",