@zerothreatai/vulnerability-registry 9.0.5 → 9.0.7
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/dist/categories/authentication.js +22 -0
- package/dist/categories/injection.js +49 -0
- package/dist/categories/sensitive-data.d.ts +8 -0
- package/dist/categories/sensitive-data.js +96 -0
- package/dist/categories/xss.js +22 -0
- package/dist/compliances/compliance-by-vulnerabilities.d.ts +1 -1
- package/dist/compliances/compliance-by-vulnerabilities.js +9 -6
- package/dist/compliances/gdpr.js +2 -1
- package/dist/compliances/hipaa.js +2 -1
- package/dist/compliances/iso27001.js +2 -1
- package/dist/compliances/owasp.js +2 -1
- package/dist/compliances/pci-dss.js +2 -1
- package/dist/compliances/sans-top-25.js +1 -1
- package/dist/error-codes.d.ts +52 -0
- package/dist/error-codes.js +58 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -1
- package/dist/registry.js +2 -0
- package/dist/scanner.js +1 -0
- package/dist-cjs/categories/authentication.js +22 -0
- package/dist-cjs/categories/injection.js +49 -0
- package/dist-cjs/categories/sensitive-data.js +99 -0
- package/dist-cjs/categories/xss.js +22 -0
- package/dist-cjs/compliances/compliance-by-vulnerabilities.js +9 -6
- package/dist-cjs/compliances/gdpr.js +2 -1
- package/dist-cjs/compliances/hipaa.js +2 -1
- package/dist-cjs/compliances/iso27001.js +2 -1
- package/dist-cjs/compliances/owasp.js +2 -1
- package/dist-cjs/compliances/pci-dss.js +2 -1
- package/dist-cjs/compliances/sans-top-25.js +1 -1
- package/dist-cjs/error-codes.js +58 -0
- package/dist-cjs/index.js +3 -1
- package/dist-cjs/registry.js +2 -0
- package/dist-cjs/scanner.js +1 -0
- package/package.json +1 -1
- package/src/categories/authentication.ts +34 -11
- package/src/categories/injection.ts +59 -8
- package/src/categories/sensitive-data.ts +117 -0
- package/src/categories/xss.ts +23 -0
- package/src/compliances/compliance-by-vulnerabilities.ts +23 -19
- package/src/compliances/gdpr.ts +2 -1
- package/src/compliances/hipaa.ts +2 -1
- package/src/compliances/iso27001.ts +2 -1
- package/src/compliances/owasp.ts +2 -1
- package/src/compliances/pci-dss.ts +2 -1
- package/src/compliances/sans-top-25.ts +4 -1
- package/src/error-codes.ts +130 -70
- package/src/index.ts +9 -7
- package/src/registry.ts +2 -0
- package/src/scanner.ts +3 -2
- package/zerothreatai-vulnerability-registry-2.0.0.tgz +0 -0
- package/zerothreatai-vulnerability-registry-4npm .0.0.tgz +0 -0
package/src/index.ts
CHANGED
|
@@ -9,10 +9,11 @@ import type { VulnerabilityDefinition, VulnerabilityLookup, CVSSProfile, CWERefe
|
|
|
9
9
|
import { VULNERABILITY_REGISTRY } from './registry.js';
|
|
10
10
|
import { INJECTION_VULNERABILITIES } from './categories/injection.js';
|
|
11
11
|
import { XSS_VULNERABILITIES } from './categories/xss.js';
|
|
12
|
-
import { SSRF_VULNERABILITIES } from './categories/ssrf.js';
|
|
13
|
-
import { AUTH_VULNERABILITIES } from './categories/authentication.js';
|
|
14
|
-
import { CONFIG_VULNERABILITIES } from './categories/configuration.js';
|
|
15
|
-
import { SENSITIVE_PATH_VULNERABILITIES } from './categories/sensitive-paths.js';
|
|
12
|
+
import { SSRF_VULNERABILITIES } from './categories/ssrf.js';
|
|
13
|
+
import { AUTH_VULNERABILITIES } from './categories/authentication.js';
|
|
14
|
+
import { CONFIG_VULNERABILITIES } from './categories/configuration.js';
|
|
15
|
+
import { SENSITIVE_PATH_VULNERABILITIES } from './categories/sensitive-paths.js';
|
|
16
|
+
import { SENSITIVE_DATA_VULNERABILITIES } from './categories/sensitive-data.js';
|
|
16
17
|
import { CATEGORY_REGISTRY } from './category.js';
|
|
17
18
|
import { SCANNER_REGISTRY } from './scanner.js';
|
|
18
19
|
import { OWASP_COMPLIANCE, HIPAA_COMPLIANCE, GDPR_COMPLIANCE, PCI_DSS_COMPLIANCE, SANS_TOP_25_COMPLIANCE, ISO27001_COMPLIANCE, COMPLIANCE_BY_VULNERABILITIES } from './compliances/index.js';
|
|
@@ -99,9 +100,10 @@ export {
|
|
|
99
100
|
XSS_VULNERABILITIES,
|
|
100
101
|
SSRF_VULNERABILITIES,
|
|
101
102
|
AUTH_VULNERABILITIES,
|
|
102
|
-
CONFIG_VULNERABILITIES,
|
|
103
|
-
SENSITIVE_PATH_VULNERABILITIES,
|
|
104
|
-
|
|
103
|
+
CONFIG_VULNERABILITIES,
|
|
104
|
+
SENSITIVE_PATH_VULNERABILITIES,
|
|
105
|
+
SENSITIVE_DATA_VULNERABILITIES,
|
|
106
|
+
VULNERABILITY_REGISTRY,
|
|
105
107
|
OWASP_COMPLIANCE,
|
|
106
108
|
HIPAA_COMPLIANCE,
|
|
107
109
|
GDPR_COMPLIANCE,
|
package/src/registry.ts
CHANGED
|
@@ -5,6 +5,7 @@ import { SSRF_VULNERABILITIES } from './categories/ssrf.js';
|
|
|
5
5
|
import { AUTH_VULNERABILITIES } from './categories/authentication.js';
|
|
6
6
|
import { CONFIG_VULNERABILITIES } from './categories/configuration.js';
|
|
7
7
|
import { SENSITIVE_PATH_VULNERABILITIES } from './categories/sensitive-paths.js';
|
|
8
|
+
import { SENSITIVE_DATA_VULNERABILITIES } from './categories/sensitive-data.js';
|
|
8
9
|
|
|
9
10
|
/**
|
|
10
11
|
* Complete vulnerability registry combining all categories.
|
|
@@ -75,6 +76,7 @@ export const VULNERABILITY_REGISTRY: Record<string, VulnerabilityDefinition> = O
|
|
|
75
76
|
...AUTH_VULNERABILITIES,
|
|
76
77
|
...CONFIG_VULNERABILITIES,
|
|
77
78
|
...SENSITIVE_PATH_VULNERABILITIES,
|
|
79
|
+
...SENSITIVE_DATA_VULNERABILITIES,
|
|
78
80
|
}).map(([code, definition]) => ([
|
|
79
81
|
code,
|
|
80
82
|
{
|
package/src/scanner.ts
CHANGED
|
@@ -12,8 +12,9 @@ export const SCANNER_REGISTRY: Record<string, { title: string }> = {
|
|
|
12
12
|
"local-file-inclusion": { title: "Local File Inclusion" },
|
|
13
13
|
"model-state": { title: "Model State" },
|
|
14
14
|
"redirect-route": { title: "Redirect Route" },
|
|
15
|
-
"security-headers": { title: "Security Headers" },
|
|
16
|
-
"sensitive-path-scout": { title: "Sensitive Path Scout" },
|
|
15
|
+
"security-headers": { title: "Security Headers" },
|
|
16
|
+
"sensitive-path-scout": { title: "Sensitive Path Scout" },
|
|
17
|
+
"sensitive-data": { title: "Sensitive Data Detection" },
|
|
17
18
|
"sql-injection": { title: "SQL Injection" },
|
|
18
19
|
"ssrf": { title: "SSRF" },
|
|
19
20
|
"ssti": { title: "SSTI" },
|
|
Binary file
|
|
Binary file
|