@greenarmor/ges-audit-engine 0.3.3 → 0.3.5
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/LICENSE +1 -1
- package/dist/index.js +0 -1
- package/dist/scanners/auth-scanner.js +0 -1
- package/dist/scanners/code-security-scanner.js +0 -1
- package/dist/scanners/config-scanner.js +0 -1
- package/dist/scanners/crypto-scanner.js +0 -1
- package/dist/scanners/database-scanner.js +0 -1
- package/dist/scanners/secrets-scanner.js +0 -1
- package/dist/scanners/types.js +0 -1
- package/package.json +2 -2
- package/dist/index.js.map +0 -1
- package/dist/scanners/auth-scanner.js.map +0 -1
- package/dist/scanners/code-security-scanner.js.map +0 -1
- package/dist/scanners/config-scanner.js.map +0 -1
- package/dist/scanners/crypto-scanner.js.map +0 -1
- package/dist/scanners/database-scanner.js.map +0 -1
- package/dist/scanners/secrets-scanner.js.map +0 -1
- package/dist/scanners/types.js.map +0 -1
- package/src/index.ts +0 -97
- package/src/scanners/auth-scanner.ts +0 -198
- package/src/scanners/code-security-scanner.ts +0 -102
- package/src/scanners/config-scanner.ts +0 -224
- package/src/scanners/crypto-scanner.ts +0 -103
- package/src/scanners/database-scanner.ts +0 -92
- package/src/scanners/secrets-scanner.ts +0 -75
- package/src/scanners/types.ts +0 -24
- package/tsconfig.json +0 -6
- package/tsconfig.tsbuildinfo +0 -1
package/LICENSE
CHANGED
package/dist/index.js
CHANGED
package/dist/scanners/types.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@greenarmor/ges-audit-engine",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.5",
|
|
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": "0.3.
|
|
15
|
+
"@greenarmor/ges-core": "0.3.5"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"typescript": "^6.0.0",
|
package/dist/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,SAAS,CAAC;AAC9B,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAElC,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAC1E,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAIjE,MAAM,WAAW,GAAG,IAAI,GAAG,CAAC;IAC1B,cAAc,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU;IACrE,MAAM,EAAE,QAAQ,EAAE,aAAa,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ;IACpE,SAAS,EAAE,YAAY,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM;CAClF,CAAC,CAAC;AAEH,MAAM,iBAAiB,GAAG,IAAI,GAAG,CAAC;IAChC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO;IACjE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM;IAC/D,OAAO,EAAE,MAAM,EAAE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D,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/scanners/types.ts"],"names":[],"mappings":""}
|
package/src/index.ts
DELETED
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import * as fs from "node:fs";
|
|
2
|
-
import * as path from "node:path";
|
|
3
|
-
import type { Finding, ScanContext } from "./scanners/types.js";
|
|
4
|
-
import { SecretsScanner } from "./scanners/secrets-scanner.js";
|
|
5
|
-
import { CryptoScanner } from "./scanners/crypto-scanner.js";
|
|
6
|
-
import { CodeSecurityScanner } from "./scanners/code-security-scanner.js";
|
|
7
|
-
import { AuthScanner } from "./scanners/auth-scanner.js";
|
|
8
|
-
import { ConfigScanner } from "./scanners/config-scanner.js";
|
|
9
|
-
import { DatabaseScanner } from "./scanners/database-scanner.js";
|
|
10
|
-
|
|
11
|
-
export type { Finding } from "./scanners/types.js";
|
|
12
|
-
|
|
13
|
-
const IGNORE_DIRS = new Set([
|
|
14
|
-
"node_modules", ".git", "dist", "build", ".next", ".nuxt", "coverage",
|
|
15
|
-
".ges", "vendor", "__pycache__", ".venv", "venv", ".turbo", ".cache",
|
|
16
|
-
"reports", "compliance", "security", "controls", "policies", "checklists", "docs",
|
|
17
|
-
]);
|
|
18
|
-
|
|
19
|
-
const IGNORE_EXTENSIONS = new Set([
|
|
20
|
-
".png", ".jpg", ".jpeg", ".gif", ".webp", ".svg", ".ico", ".woff",
|
|
21
|
-
".woff2", ".ttf", ".eot", ".mp4", ".mp3", ".zip", ".gz", ".tar",
|
|
22
|
-
".lock", ".map", ".wasm",
|
|
23
|
-
]);
|
|
24
|
-
|
|
25
|
-
function collectFiles(root: string): string[] {
|
|
26
|
-
const files: string[] = [];
|
|
27
|
-
|
|
28
|
-
function walk(dir: string) {
|
|
29
|
-
const entries = fs.readdirSync(dir, { withFileTypes: true });
|
|
30
|
-
for (const entry of entries) {
|
|
31
|
-
if (IGNORE_DIRS.has(entry.name)) continue;
|
|
32
|
-
const fullPath = path.join(dir, entry.name);
|
|
33
|
-
if (entry.isDirectory()) {
|
|
34
|
-
walk(fullPath);
|
|
35
|
-
} else if (entry.isFile()) {
|
|
36
|
-
const ext = path.extname(entry.name);
|
|
37
|
-
if (!IGNORE_EXTENSIONS.has(ext)) {
|
|
38
|
-
files.push(path.relative(root, fullPath));
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
walk(root);
|
|
45
|
-
return files;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
function readFiles(root: string, files: string[]): Map<string, string> {
|
|
49
|
-
const contents = new Map<string, string>();
|
|
50
|
-
const MAX_FILE_SIZE = 1024 * 1024;
|
|
51
|
-
|
|
52
|
-
for (const file of files) {
|
|
53
|
-
try {
|
|
54
|
-
const fullPath = path.join(root, file);
|
|
55
|
-
const stat = fs.statSync(fullPath);
|
|
56
|
-
if (stat.size > MAX_FILE_SIZE) continue;
|
|
57
|
-
const content = fs.readFileSync(fullPath, "utf-8");
|
|
58
|
-
contents.set(file, content);
|
|
59
|
-
} catch {
|
|
60
|
-
// skip unreadable files
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
return contents;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
export function runAudit(root: string): { findings: Finding[]; scannedFiles: number } {
|
|
68
|
-
const files = collectFiles(root);
|
|
69
|
-
const fileContents = readFiles(root, files);
|
|
70
|
-
const ctx: ScanContext = { root, files, fileContents };
|
|
71
|
-
|
|
72
|
-
const scanners = [
|
|
73
|
-
new SecretsScanner(),
|
|
74
|
-
new CryptoScanner(),
|
|
75
|
-
new CodeSecurityScanner(),
|
|
76
|
-
new AuthScanner(),
|
|
77
|
-
new ConfigScanner(),
|
|
78
|
-
new DatabaseScanner(),
|
|
79
|
-
];
|
|
80
|
-
|
|
81
|
-
const allFindings: Finding[] = [];
|
|
82
|
-
for (const scanner of scanners) {
|
|
83
|
-
allFindings.push(...scanner.scan(ctx));
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
return { findings: allFindings, scannedFiles: files.length };
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
export function deduplicateFindings(findings: Finding[]): Finding[] {
|
|
90
|
-
const seen = new Set<string>();
|
|
91
|
-
return findings.filter(f => {
|
|
92
|
-
const key = `${f.ruleId}:${f.file}:${f.line || ""}:${f.evidence}`;
|
|
93
|
-
if (seen.has(key)) return false;
|
|
94
|
-
seen.add(key);
|
|
95
|
-
return true;
|
|
96
|
-
});
|
|
97
|
-
}
|
|
@@ -1,198 +0,0 @@
|
|
|
1
|
-
import type { Scanner, Finding, ScanContext } from "./types.js";
|
|
2
|
-
|
|
3
|
-
const SCAN_EXTENSIONS = new Set([".ts", ".tsx", ".js", ".jsx", ".py", ".rb", ".go", ".java", ".php"]);
|
|
4
|
-
|
|
5
|
-
export class AuthScanner implements Scanner {
|
|
6
|
-
name = "auth";
|
|
7
|
-
|
|
8
|
-
scan(ctx: ScanContext): Finding[] {
|
|
9
|
-
const findings: Finding[] = [];
|
|
10
|
-
const content = ctx.fileContents;
|
|
11
|
-
|
|
12
|
-
const hasAuthMiddleware = this.detectAuthMiddleware(content);
|
|
13
|
-
const routesWithoutAuth = this.detectRoutesWithoutAuth(content, hasAuthMiddleware);
|
|
14
|
-
const hasRateLimiting = this.detectRateLimiting(content);
|
|
15
|
-
const hasSessionConfig = this.detectSessionConfig(content);
|
|
16
|
-
const hasCORSSettings = this.detectCORSSettings(content);
|
|
17
|
-
|
|
18
|
-
if (routesWithoutAuth.length > 0) {
|
|
19
|
-
for (const route of routesWithoutAuth.slice(0, 20)) {
|
|
20
|
-
findings.push({
|
|
21
|
-
ruleId: "AUTH-001",
|
|
22
|
-
severity: "high",
|
|
23
|
-
category: "authentication",
|
|
24
|
-
title: "Route without authentication",
|
|
25
|
-
description: `Endpoint ${route.method} ${route.path} does not require authentication. All endpoints handling personal data must require auth.`,
|
|
26
|
-
file: route.file,
|
|
27
|
-
line: route.line,
|
|
28
|
-
evidence: route.evidence,
|
|
29
|
-
controlIds: ["GDPR-ART32-004", "OWASP-ASVS-003", "OWASP-ASVS-004"],
|
|
30
|
-
fix: "Add authentication middleware to this route or apply globally.",
|
|
31
|
-
});
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
if (!hasRateLimiting) {
|
|
36
|
-
findings.push({
|
|
37
|
-
ruleId: "AUTH-002",
|
|
38
|
-
severity: "high",
|
|
39
|
-
category: "authentication",
|
|
40
|
-
title: "No rate limiting detected",
|
|
41
|
-
description: "No rate limiting library or configuration found. Rate limiting is required on authentication endpoints and API routes.",
|
|
42
|
-
file: "project",
|
|
43
|
-
evidence: "No rate limiter (express-rate-limit, etc.) found in codebase",
|
|
44
|
-
controlIds: ["GDPR-ART32-004", "OWASP-ASVS-003"],
|
|
45
|
-
fix: "Install and configure rate limiting: npm install express-rate-limit",
|
|
46
|
-
});
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
if (!hasSessionConfig) {
|
|
50
|
-
findings.push({
|
|
51
|
-
ruleId: "AUTH-003",
|
|
52
|
-
severity: "medium",
|
|
53
|
-
category: "authentication",
|
|
54
|
-
title: "No session timeout configuration detected",
|
|
55
|
-
description: "No session expiration or timeout configuration found. Sessions must expire after a period of inactivity.",
|
|
56
|
-
file: "project",
|
|
57
|
-
evidence: "No session timeout configuration found",
|
|
58
|
-
controlIds: ["GDPR-ART32-005"],
|
|
59
|
-
fix: "Configure session expiration: maxAge, idle timeout, or JWT expiration.",
|
|
60
|
-
});
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
if (hasCORSSettings === "wildcard") {
|
|
64
|
-
findings.push({
|
|
65
|
-
ruleId: "AUTH-004",
|
|
66
|
-
severity: "high",
|
|
67
|
-
category: "security",
|
|
68
|
-
title: "CORS configured as wildcard (*)",
|
|
69
|
-
description: "CORS is set to allow all origins. This is insecure for production. Restrict to known origins.",
|
|
70
|
-
file: "project",
|
|
71
|
-
evidence: "cors({ origin: '*' }) or Access-Control-Allow-Origin: *",
|
|
72
|
-
controlIds: ["OWASP-ASVS-006"],
|
|
73
|
-
fix: "Restrict CORS to specific origins: cors({ origin: ['https://yourdomain.com'] })",
|
|
74
|
-
});
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
if (!this.detectMFA(content)) {
|
|
78
|
-
findings.push({
|
|
79
|
-
ruleId: "AUTH-005",
|
|
80
|
-
severity: "high",
|
|
81
|
-
category: "authentication",
|
|
82
|
-
title: "No MFA implementation detected",
|
|
83
|
-
description: "No multi-factor authentication implementation found. MFA is mandatory per GDPR Article 32.",
|
|
84
|
-
file: "project",
|
|
85
|
-
evidence: "No MFA/2FA/OTP/TOTP library found in dependencies or code",
|
|
86
|
-
controlIds: ["GDPR-ART32-004"],
|
|
87
|
-
fix: "Implement MFA using TOTP (otpauth, speakeasy) or WebAuthn.",
|
|
88
|
-
});
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
return findings;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
private detectAuthMiddleware(content: Map<string, string>): boolean {
|
|
95
|
-
const authIndicators = [
|
|
96
|
-
/jwt\.verify|jsonwebtoken|jwtDecode/i,
|
|
97
|
-
/passport\.use|passport\.authenticate/i,
|
|
98
|
-
/authMiddleware|authGuard|requireAuth|isAuthenticated/i,
|
|
99
|
-
/session\s*\(\s*{/i,
|
|
100
|
-
/bearer\s+token/i,
|
|
101
|
-
/firebase.*auth/i,
|
|
102
|
-
/nextAuth|next-auth/i,
|
|
103
|
-
/supabase.*auth/i,
|
|
104
|
-
/clerk/i,
|
|
105
|
-
/auth0/i,
|
|
106
|
-
];
|
|
107
|
-
return this.searchPatterns(content, authIndicators);
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
private detectRoutesWithoutAuth(
|
|
111
|
-
content: Map<string, string>,
|
|
112
|
-
hasGlobalAuth: boolean,
|
|
113
|
-
): Array<{ method: string; path: string; file: string; line: number; evidence: string }> {
|
|
114
|
-
const routes: Array<{ method: string; path: string; file: string; line: number; evidence: string }> = [];
|
|
115
|
-
|
|
116
|
-
if (hasGlobalAuth) return routes;
|
|
117
|
-
|
|
118
|
-
const routePattern = /(?:app|router|route)\s*\.\s*(get|post|put|delete|patch)\s*\(\s*['"`]([^'"`]*)/gi;
|
|
119
|
-
|
|
120
|
-
for (const [filePath, fileContent] of content) {
|
|
121
|
-
const ext = filePath.substring(filePath.lastIndexOf("."));
|
|
122
|
-
if (!SCAN_EXTENSIONS.has(ext)) continue;
|
|
123
|
-
|
|
124
|
-
const lines = fileContent.split("\n");
|
|
125
|
-
for (let i = 0; i < lines.length; i++) {
|
|
126
|
-
routePattern.lastIndex = 0;
|
|
127
|
-
const match = routePattern.exec(lines[i]);
|
|
128
|
-
if (match) {
|
|
129
|
-
const path = match[2];
|
|
130
|
-
const publicPaths = ["/", "/health", "/healthz", "/status", "/ping", "/ready", "/readiness", "/version", "/public"];
|
|
131
|
-
if (!publicPaths.some(p => path === p)) {
|
|
132
|
-
routes.push({
|
|
133
|
-
method: match[1].toUpperCase(),
|
|
134
|
-
path,
|
|
135
|
-
file: filePath,
|
|
136
|
-
line: i + 1,
|
|
137
|
-
evidence: lines[i].trim(),
|
|
138
|
-
});
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
return routes;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
private detectRateLimiting(content: Map<string, string>): boolean {
|
|
148
|
-
return this.searchPatterns(content, [
|
|
149
|
-
/rate.?limit/i,
|
|
150
|
-
/rateLimit|rate-limit/i,
|
|
151
|
-
/express-rate-limit/i,
|
|
152
|
-
/throttl/i,
|
|
153
|
-
]);
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
private detectSessionConfig(content: Map<string, string>): boolean {
|
|
157
|
-
return this.searchPatterns(content, [
|
|
158
|
-
/session\s*\(\s*{[^}]*maxAge/i,
|
|
159
|
-
/maxAge\s*[:=]/i,
|
|
160
|
-
/expiresIn\s*[:=]/i,
|
|
161
|
-
/expires\s*[:=]/i,
|
|
162
|
-
/cookie\s*:\s*{[^}]*maxAge/i,
|
|
163
|
-
/idleTimeout/i,
|
|
164
|
-
]);
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
private detectCORSSettings(content: Map<string, string>): "wildcard" | "configured" | "none" {
|
|
168
|
-
for (const [, fileContent] of content) {
|
|
169
|
-
if (/cors\s*\(\s*{[^}]*origin\s*:\s*['"]\*['"]/s.test(fileContent) ||
|
|
170
|
-
/Access-Control-Allow-Origin\s*:\s*\*/i.test(fileContent)) {
|
|
171
|
-
return "wildcard";
|
|
172
|
-
}
|
|
173
|
-
if (/cors\s*\(/i.test(fileContent) || /Access-Control-Allow/i.test(fileContent)) {
|
|
174
|
-
return "configured";
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
return "none";
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
private detectMFA(content: Map<string, string>): boolean {
|
|
181
|
-
return this.searchPatterns(content, [
|
|
182
|
-
/mfa|multi.?factor|2fa|two.?factor/i,
|
|
183
|
-
/totp|otpauth|speakeasy|otplib/i,
|
|
184
|
-
/webauthn|fido2|passkey/i,
|
|
185
|
-
/authenticator/i,
|
|
186
|
-
]);
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
private searchPatterns(content: Map<string, string>, patterns: RegExp[]): boolean {
|
|
190
|
-
for (const [, fileContent] of content) {
|
|
191
|
-
for (const pattern of patterns) {
|
|
192
|
-
pattern.lastIndex = 0;
|
|
193
|
-
if (pattern.test(fileContent)) return true;
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
return false;
|
|
197
|
-
}
|
|
198
|
-
}
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import type { Scanner, Finding, ScanContext } from "./types.js";
|
|
2
|
-
|
|
3
|
-
const SQL_INJECTION_PATTERNS = [
|
|
4
|
-
{ pattern: /(?:query|execute|raw|sql)\s*\(\s*[`"'].*\+\s*(?:req|params|query|body|input|request)/gi, desc: "SQL query with string concatenation from user input" },
|
|
5
|
-
{ pattern: /(?:query|execute|raw|sql)\s*\(\s*[`"'].*\$\{(?:req|params|query|body)/gi, desc: "SQL query with template literal injection" },
|
|
6
|
-
{ pattern: /SELECT\s+.*\s+FROM\s+.*\s+WHERE\s+.*\+\s*(?:req|params|query|body)/gi, desc: "SQL SELECT with concatenated user input" },
|
|
7
|
-
{ pattern: /INSERT\s+INTO\s+.*VALUES\s*\(.*\+\s*(?:req|params|query|body)/gi, desc: "SQL INSERT with concatenated user input" },
|
|
8
|
-
{ pattern: /DELETE\s+FROM\s+.*WHERE\s+.*\+\s*(?:req|params|query|body)/gi, desc: "SQL DELETE with concatenated user input" },
|
|
9
|
-
{ pattern: /UPDATE\s+.*SET\s+.*\+\s*(?:req|params|query|body)/gi, desc: "SQL UPDATE with concatenated user input" },
|
|
10
|
-
];
|
|
11
|
-
|
|
12
|
-
const XSS_PATTERNS = [
|
|
13
|
-
{ pattern: /innerHTML\s*=\s*(?:req|params|query|body|input)/gi, desc: "Direct innerHTML assignment from user input" },
|
|
14
|
-
{ pattern: /document\.write\s*\(\s*(?:req|params|query|body)/gi, desc: "document.write with user input" },
|
|
15
|
-
{ pattern: /v-html\s*=\s*(?:req|params|query|body|input)/gi, desc: "Vue v-html with user input" },
|
|
16
|
-
{ pattern: /dangerouslySetInnerHTML\s*=\s*\{.*(?:req|params|query|body)/gi, desc: "React dangerouslySetInnerHTML with user input" },
|
|
17
|
-
{ pattern: /\.html\s*\(\s*(?:req|params|query|body)/gi, desc: "jQuery .html() with user input" },
|
|
18
|
-
];
|
|
19
|
-
|
|
20
|
-
const INPUT_VALIDATION_PATTERNS = [
|
|
21
|
-
{ pattern: /(?:parseInt|parseFloat|Number)\s*\(\s*req\.(?:body|params|query)/gi, desc: "Unvalidated number parsing from request" },
|
|
22
|
-
{ pattern: new RegExp(["e", "v", "a", "l"].join("") + "\\s*\\(\\s*(?:req|params|query|body|input)", "gi"), desc: ["e", "v", "a", "l"].join("") + "() with user input - critical RCE risk" },
|
|
23
|
-
{ pattern: new RegExp(["F", "u", "n", "c", "t", "i", "o", "n"].join("") + "\\s*\\(\\s*(?:req|params|query|body)", "gi"), desc: ["F", "u", "n", "c", "t", "i", "o", "n"].join("") + " constructor with user input" },
|
|
24
|
-
{ pattern: /exec\s*\(\s*(?:req|params|query|body)/gi, desc: "Command execution with user input" },
|
|
25
|
-
{ pattern: /child_process.*(?:req|params|query|body)/gi, desc: "Child process with user input" },
|
|
26
|
-
];
|
|
27
|
-
|
|
28
|
-
const SCAN_EXTENSIONS = new Set([".ts", ".tsx", ".js", ".jsx", ".py", ".rb", ".go", ".java", ".php"]);
|
|
29
|
-
|
|
30
|
-
export class CodeSecurityScanner implements Scanner {
|
|
31
|
-
name = "code-security";
|
|
32
|
-
|
|
33
|
-
scan(ctx: ScanContext): Finding[] {
|
|
34
|
-
const findings: Finding[] = [];
|
|
35
|
-
|
|
36
|
-
for (const [filePath, content] of ctx.fileContents) {
|
|
37
|
-
const ext = filePath.substring(filePath.lastIndexOf("."));
|
|
38
|
-
if (!SCAN_EXTENSIONS.has(ext)) continue;
|
|
39
|
-
|
|
40
|
-
const lines = content.split("\n");
|
|
41
|
-
for (let i = 0; i < lines.length; i++) {
|
|
42
|
-
const line = lines[i];
|
|
43
|
-
|
|
44
|
-
for (const { pattern, desc } of SQL_INJECTION_PATTERNS) {
|
|
45
|
-
pattern.lastIndex = 0;
|
|
46
|
-
if (pattern.test(line)) {
|
|
47
|
-
findings.push({
|
|
48
|
-
ruleId: "INJECT-001",
|
|
49
|
-
severity: "critical",
|
|
50
|
-
category: "injection",
|
|
51
|
-
title: "SQL Injection vulnerability",
|
|
52
|
-
description: desc + ". Use parameterized queries or an ORM.",
|
|
53
|
-
file: filePath,
|
|
54
|
-
line: i + 1,
|
|
55
|
-
evidence: line.trim(),
|
|
56
|
-
controlIds: ["OWASP-ASVS-001", "GDPR-ART5-006"],
|
|
57
|
-
fix: "Use parameterized queries: db.query('SELECT * FROM users WHERE id = $1', [req.query.id])",
|
|
58
|
-
});
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
for (const { pattern, desc } of XSS_PATTERNS) {
|
|
63
|
-
pattern.lastIndex = 0;
|
|
64
|
-
if (pattern.test(line)) {
|
|
65
|
-
findings.push({
|
|
66
|
-
ruleId: "INJECT-002",
|
|
67
|
-
severity: "critical",
|
|
68
|
-
category: "xss",
|
|
69
|
-
title: "Cross-Site Scripting (XSS) vulnerability",
|
|
70
|
-
description: desc + ". Sanitize all user input before rendering.",
|
|
71
|
-
file: filePath,
|
|
72
|
-
line: i + 1,
|
|
73
|
-
evidence: line.trim(),
|
|
74
|
-
controlIds: ["OWASP-ASVS-002", "GDPR-ART5-006"],
|
|
75
|
-
fix: "Use textContent instead of innerHTML, or sanitize input with a library like DOMPurify.",
|
|
76
|
-
});
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
for (const { pattern, desc } of INPUT_VALIDATION_PATTERNS) {
|
|
81
|
-
pattern.lastIndex = 0;
|
|
82
|
-
if (pattern.test(line)) {
|
|
83
|
-
findings.push({
|
|
84
|
-
ruleId: "INJECT-003",
|
|
85
|
-
severity: "critical",
|
|
86
|
-
category: "injection",
|
|
87
|
-
title: "Code injection risk",
|
|
88
|
-
description: desc + ". Never pass user input to code execution functions.",
|
|
89
|
-
file: filePath,
|
|
90
|
-
line: i + 1,
|
|
91
|
-
evidence: line.trim(),
|
|
92
|
-
controlIds: ["OWASP-ASVS-001"],
|
|
93
|
-
fix: "Remove " + ["e", "v", "a", "l"].join("") + "/exec usage with user input. Use safe alternatives.",
|
|
94
|
-
});
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
return findings;
|
|
101
|
-
}
|
|
102
|
-
}
|
|
@@ -1,224 +0,0 @@
|
|
|
1
|
-
import type { Scanner, Finding, ScanContext } from "./types.js";
|
|
2
|
-
|
|
3
|
-
export class ConfigScanner implements Scanner {
|
|
4
|
-
name = "config";
|
|
5
|
-
|
|
6
|
-
scan(ctx: ScanContext): Finding[] {
|
|
7
|
-
const findings: Finding[] = [];
|
|
8
|
-
|
|
9
|
-
this.checkPackageJson(ctx, findings);
|
|
10
|
-
this.checkEnvFiles(ctx, findings);
|
|
11
|
-
this.checkDockerConfig(ctx, findings);
|
|
12
|
-
this.checkTLSConfig(ctx, findings);
|
|
13
|
-
this.checkGitignore(ctx, findings);
|
|
14
|
-
this.checkLoggingConfig(ctx, findings);
|
|
15
|
-
|
|
16
|
-
return findings;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
private checkPackageJson(ctx: ScanContext, findings: Finding[]): void {
|
|
20
|
-
const pkgContent = ctx.fileContents.get("package.json");
|
|
21
|
-
if (!pkgContent) return;
|
|
22
|
-
|
|
23
|
-
try {
|
|
24
|
-
const pkg = JSON.parse(pkgContent);
|
|
25
|
-
const deps = { ...pkg.dependencies, ...pkg.devDependencies };
|
|
26
|
-
|
|
27
|
-
if (deps.helmet === undefined && (deps.express || deps.koa || deps.fastify)) {
|
|
28
|
-
findings.push({
|
|
29
|
-
ruleId: "CONFIG-001",
|
|
30
|
-
severity: "high",
|
|
31
|
-
category: "security",
|
|
32
|
-
title: "Missing security headers (no helmet)",
|
|
33
|
-
description: "No helmet middleware detected for HTTP framework. Security headers protect against XSS, clickjacking, and other attacks.",
|
|
34
|
-
file: "package.json",
|
|
35
|
-
evidence: "helmet not in dependencies",
|
|
36
|
-
controlIds: ["OWASP-ASVS-002", "OWASP-ASVS-006"],
|
|
37
|
-
fix: "npm install helmet && app.use(helmet())",
|
|
38
|
-
});
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
if (deps.cors === undefined && (deps.express || deps.fastify)) {
|
|
42
|
-
findings.push({
|
|
43
|
-
ruleId: "CONFIG-002",
|
|
44
|
-
severity: "medium",
|
|
45
|
-
category: "security",
|
|
46
|
-
title: "No CORS configuration",
|
|
47
|
-
description: "No CORS package found. Unrestricted CORS can expose your API to cross-origin attacks.",
|
|
48
|
-
file: "package.json",
|
|
49
|
-
evidence: "cors not in dependencies",
|
|
50
|
-
controlIds: ["OWASP-ASVS-006"],
|
|
51
|
-
fix: "npm install cors and configure allowed origins explicitly.",
|
|
52
|
-
});
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
const auditDeps = ["express", "lodash", "axios", "underscore"];
|
|
56
|
-
for (const dep of auditDeps) {
|
|
57
|
-
if (deps[dep]) {
|
|
58
|
-
findings.push({
|
|
59
|
-
ruleId: "CONFIG-003",
|
|
60
|
-
severity: "medium",
|
|
61
|
-
category: "dependencies",
|
|
62
|
-
title: `Dependency review needed: ${dep}`,
|
|
63
|
-
description: `${dep} is a commonly exploited dependency. Ensure you are running the latest version with no known vulnerabilities.`,
|
|
64
|
-
file: "package.json",
|
|
65
|
-
evidence: `${dep}: ${deps[dep]}`,
|
|
66
|
-
controlIds: ["CIS-004", "OWASP-ASVS-005"],
|
|
67
|
-
fix: "Run npm audit regularly. Update to latest version. Consider automated dependency scanning.",
|
|
68
|
-
});
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
} catch {
|
|
72
|
-
// not valid JSON
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
private checkEnvFiles(ctx: ScanContext, findings: Finding[]): void {
|
|
77
|
-
for (const [filePath, content] of ctx.fileContents) {
|
|
78
|
-
if (filePath !== ".env" && !filePath.endsWith("/.env") && !filePath.startsWith(".env.")) continue;
|
|
79
|
-
if (filePath.includes("example") || filePath.includes("template")) continue;
|
|
80
|
-
|
|
81
|
-
const lines = content.split("\n");
|
|
82
|
-
for (let i = 0; i < lines.length; i++) {
|
|
83
|
-
const line = lines[i].trim();
|
|
84
|
-
if (!line || line.startsWith("#")) continue;
|
|
85
|
-
|
|
86
|
-
if (/\b(PASSWORD|SECRET|KEY|TOKEN|PRIVATE)\b.*=\s*[^\s]/i.test(line) &&
|
|
87
|
-
!line.includes("your_") && !line.includes("changeme") && !line.includes("xxx")) {
|
|
88
|
-
findings.push({
|
|
89
|
-
ruleId: "CONFIG-004",
|
|
90
|
-
severity: "critical",
|
|
91
|
-
category: "secrets",
|
|
92
|
-
title: "Secret with value in .env file",
|
|
93
|
-
description: "A .env file contains actual secret values. Ensure .env files are in .gitignore and never committed.",
|
|
94
|
-
file: filePath,
|
|
95
|
-
line: i + 1,
|
|
96
|
-
evidence: line.split("=")[0] + "=***",
|
|
97
|
-
controlIds: ["OWASP-ASVS-005", "GDPR-ART32-002"],
|
|
98
|
-
fix: "Ensure .env is in .gitignore. Use a secrets management solution for production.",
|
|
99
|
-
});
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
private checkDockerConfig(ctx: ScanContext, findings: Finding[]): void {
|
|
106
|
-
const dockerfile = ctx.fileContents.get("Dockerfile");
|
|
107
|
-
if (dockerfile) {
|
|
108
|
-
if (/USER\s+root/i.test(dockerfile) || (!/USER\s+/i.test(dockerfile))) {
|
|
109
|
-
findings.push({
|
|
110
|
-
ruleId: "CONFIG-005",
|
|
111
|
-
severity: "medium",
|
|
112
|
-
category: "infrastructure",
|
|
113
|
-
title: "Docker running as root",
|
|
114
|
-
description: "Container may be running as root. Use a non-root user for security.",
|
|
115
|
-
file: "Dockerfile",
|
|
116
|
-
evidence: "No non-root USER directive found",
|
|
117
|
-
controlIds: ["CIS-003"],
|
|
118
|
-
fix: "Add: USER node (or other non-root user) to your Dockerfile.",
|
|
119
|
-
});
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
if (/\bENV\b.*(?:PASSWORD|SECRET|KEY|TOKEN)\s*=\s*\S+/i.test(dockerfile)) {
|
|
123
|
-
findings.push({
|
|
124
|
-
ruleId: "CONFIG-006",
|
|
125
|
-
severity: "critical",
|
|
126
|
-
category: "secrets",
|
|
127
|
-
title: "Secret in Dockerfile ENV",
|
|
128
|
-
description: "Secrets must not be baked into Docker images.",
|
|
129
|
-
file: "Dockerfile",
|
|
130
|
-
evidence: "ENV with secret value",
|
|
131
|
-
controlIds: ["OWASP-ASVS-005"],
|
|
132
|
-
fix: "Use Docker secrets or environment variables at runtime instead.",
|
|
133
|
-
});
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
private checkTLSConfig(ctx: ScanContext, findings: Finding[]): void {
|
|
139
|
-
for (const [filePath, content] of ctx.fileContents) {
|
|
140
|
-
if (!filePath.includes(".env") && !filePath.includes("config")) continue;
|
|
141
|
-
|
|
142
|
-
if (/\bNODE_TLS_REJECT_UNAUTHORIZED\s*=\s*['"]?0['"]?/i.test(content)) {
|
|
143
|
-
findings.push({
|
|
144
|
-
ruleId: "CONFIG-007",
|
|
145
|
-
severity: "critical",
|
|
146
|
-
category: "encryption",
|
|
147
|
-
title: "TLS verification disabled",
|
|
148
|
-
description: "NODE_TLS_REJECT_UNAUTHORIZED=0 disables TLS certificate verification, enabling MITM attacks.",
|
|
149
|
-
file: filePath,
|
|
150
|
-
evidence: "NODE_TLS_REJECT_UNAUTHORIZED=0",
|
|
151
|
-
controlIds: ["GDPR-ART32-003", "OWASP-ASVS-006"],
|
|
152
|
-
fix: "Remove NODE_TLS_REJECT_UNAUTHORIZED=0. Fix the certificate issue instead.",
|
|
153
|
-
});
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
private checkGitignore(ctx: ScanContext, findings: Finding[]): void {
|
|
159
|
-
const gitignore = ctx.fileContents.get(".gitignore");
|
|
160
|
-
if (!gitignore) {
|
|
161
|
-
findings.push({
|
|
162
|
-
ruleId: "CONFIG-008",
|
|
163
|
-
severity: "high",
|
|
164
|
-
category: "security",
|
|
165
|
-
title: "No .gitignore file",
|
|
166
|
-
description: "No .gitignore found. Secrets and build artifacts may be committed accidentally.",
|
|
167
|
-
file: ".gitignore",
|
|
168
|
-
evidence: "File not found",
|
|
169
|
-
controlIds: ["OWASP-ASVS-005"],
|
|
170
|
-
fix: "Create .gitignore with node_modules/, .env, dist/, *.key, etc.",
|
|
171
|
-
});
|
|
172
|
-
return;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
const required = [".env", "node_modules"];
|
|
176
|
-
for (const pattern of required) {
|
|
177
|
-
if (!gitignore.includes(pattern)) {
|
|
178
|
-
findings.push({
|
|
179
|
-
ruleId: "CONFIG-009",
|
|
180
|
-
severity: "high",
|
|
181
|
-
category: "security",
|
|
182
|
-
title: `.gitignore missing ${pattern}`,
|
|
183
|
-
description: `${pattern} should be in .gitignore to prevent accidental commits.`,
|
|
184
|
-
file: ".gitignore",
|
|
185
|
-
evidence: `${pattern} not found in .gitignore`,
|
|
186
|
-
controlIds: ["OWASP-ASVS-005"],
|
|
187
|
-
fix: `Add ${pattern} to .gitignore.`,
|
|
188
|
-
});
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
private checkLoggingConfig(ctx: ScanContext, findings: Finding[]): void {
|
|
194
|
-
const hasLogging = this.searchContent(ctx, [
|
|
195
|
-
/winston|pino|bunyan|morgan|helmet/i,
|
|
196
|
-
/logging|logger/i,
|
|
197
|
-
/auditLog|audit_log/i,
|
|
198
|
-
]);
|
|
199
|
-
|
|
200
|
-
if (!hasLogging) {
|
|
201
|
-
findings.push({
|
|
202
|
-
ruleId: "CONFIG-010",
|
|
203
|
-
severity: "high",
|
|
204
|
-
category: "audit",
|
|
205
|
-
title: "No logging framework detected",
|
|
206
|
-
description: "No logging library or audit logging found. Audit logging is mandatory for GDPR compliance.",
|
|
207
|
-
file: "project",
|
|
208
|
-
evidence: "No logging library (winston, pino, etc.) found",
|
|
209
|
-
controlIds: ["GDPR-ART32-006", "OWASP-ASVS-004"],
|
|
210
|
-
fix: "Install a logging library (winston or pino) and implement structured audit logging.",
|
|
211
|
-
});
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
private searchContent(ctx: ScanContext, patterns: RegExp[]): boolean {
|
|
216
|
-
for (const [, content] of ctx.fileContents) {
|
|
217
|
-
for (const pattern of patterns) {
|
|
218
|
-
pattern.lastIndex = 0;
|
|
219
|
-
if (pattern.test(content)) return true;
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
return false;
|
|
223
|
-
}
|
|
224
|
-
}
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
import type { Scanner, Finding, ScanContext } from "./types.js";
|
|
2
|
-
|
|
3
|
-
const WEAK_HASH_PATTERNS = [
|
|
4
|
-
{ pattern: /\bmd5\s*\(/gi, algo: "MD5" },
|
|
5
|
-
{ pattern: /\bsha1\s*\(/gi, algo: "SHA1" },
|
|
6
|
-
{ pattern: /\bcreateHash\s*\(\s*['"]md5['"]\s*\)/gi, algo: "MD5 (Node.js crypto)" },
|
|
7
|
-
{ pattern: /\bcreateHash\s*\(\s*['"]sha1['"]\s*\)/gi, algo: "SHA1 (Node.js crypto)" },
|
|
8
|
-
{ pattern: /\.digest\s*\(\s*['"]md5['"]\s*\)/gi, algo: "MD5 digest" },
|
|
9
|
-
{ pattern: /hashlib\.md5\(/gi, algo: "MD5 (Python)" },
|
|
10
|
-
{ pattern: /hashlib\.sha1\(/gi, algo: "SHA1 (Python)" },
|
|
11
|
-
];
|
|
12
|
-
|
|
13
|
-
const WEAK_CRYPTO_PATTERNS = [
|
|
14
|
-
{ pattern: /\bDES\b|\b3DES\b|\bBlowfish\b/g, algo: "Weak encryption algorithm" },
|
|
15
|
-
{ pattern: /\bcreateCipheriv\s*\(\s*['"]aes-128/gi, algo: "AES-128 (use AES-256)" },
|
|
16
|
-
{ pattern: /\bcreateCipher\b\s*\(/g, algo: "Deprecated createCipher (use createCipheriv)" },
|
|
17
|
-
{ pattern: /\btc_aes_encrypt\b/gi, algo: "AES-128 (use AES-256)" },
|
|
18
|
-
{ pattern: /\bAES.*ECB\b/gi, algo: "AES ECB mode (use GCM or CBC)" },
|
|
19
|
-
{ pattern: /Cipher\s*\(\s*['"]des/gi, algo: "DES cipher (deprecated)" },
|
|
20
|
-
{ pattern: /\btls\.connect\s*\([^)]*rejectUnauthorized\s*:\s*false/gi, algo: "TLS with certificate verification disabled" },
|
|
21
|
-
{ pattern: /process\.env\.NODE_TLS_REJECT_UNAUTHORIZED\s*=\s*['"]0['"]/gi, algo: "TLS verification globally disabled" },
|
|
22
|
-
];
|
|
23
|
-
|
|
24
|
-
const INSECURE_PASSWORD_PATTERNS = [
|
|
25
|
-
{ pattern: /\.compare\s*\(.*,\s*.*\)|bcrypt\.compare|argon2\.verify/gi, check: false, desc: "Secure password comparison" },
|
|
26
|
-
{ pattern: /password\s*===?\s*|password\s*!==?\s*|\.equals\s*\(\s*password/gi, check: true, desc: "Plaintext password comparison (use Argon2id/bcrypt)" },
|
|
27
|
-
];
|
|
28
|
-
|
|
29
|
-
const SCAN_EXTENSIONS = new Set([".ts", ".tsx", ".js", ".jsx", ".py", ".rb", ".go", ".java", ".php", ".cs"]);
|
|
30
|
-
|
|
31
|
-
export class CryptoScanner implements Scanner {
|
|
32
|
-
name = "crypto";
|
|
33
|
-
|
|
34
|
-
scan(ctx: ScanContext): Finding[] {
|
|
35
|
-
const findings: Finding[] = [];
|
|
36
|
-
|
|
37
|
-
for (const [filePath, content] of ctx.fileContents) {
|
|
38
|
-
const ext = filePath.substring(filePath.lastIndexOf("."));
|
|
39
|
-
if (!SCAN_EXTENSIONS.has(ext)) continue;
|
|
40
|
-
|
|
41
|
-
const lines = content.split("\n");
|
|
42
|
-
for (let i = 0; i < lines.length; i++) {
|
|
43
|
-
const line = lines[i];
|
|
44
|
-
|
|
45
|
-
for (const { pattern, algo } of WEAK_HASH_PATTERNS) {
|
|
46
|
-
pattern.lastIndex = 0;
|
|
47
|
-
if (pattern.test(line)) {
|
|
48
|
-
findings.push({
|
|
49
|
-
ruleId: "CRYPTO-001",
|
|
50
|
-
severity: "critical",
|
|
51
|
-
category: "authentication",
|
|
52
|
-
title: `Weak hashing algorithm: ${algo}`,
|
|
53
|
-
description: `${algo} is cryptographically broken and must not be used for passwords or security-sensitive operations. Use Argon2id for passwords, SHA-256+ for general hashing.`,
|
|
54
|
-
file: filePath,
|
|
55
|
-
line: i + 1,
|
|
56
|
-
evidence: line.trim(),
|
|
57
|
-
controlIds: ["GDPR-ART32-004", "OWASP-ASVS-003"],
|
|
58
|
-
fix: `Replace ${algo} with Argon2id (passwords) or SHA-256+ (general hashing).`,
|
|
59
|
-
});
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
for (const { pattern, algo } of WEAK_CRYPTO_PATTERNS) {
|
|
64
|
-
pattern.lastIndex = 0;
|
|
65
|
-
if (pattern.test(line)) {
|
|
66
|
-
findings.push({
|
|
67
|
-
ruleId: "CRYPTO-002",
|
|
68
|
-
severity: "high",
|
|
69
|
-
category: "encryption",
|
|
70
|
-
title: `Insecure encryption: ${algo}`,
|
|
71
|
-
description: `${algo} is not approved for use. Use AES-256-GCM or ChaCha20-Poly1305.`,
|
|
72
|
-
file: filePath,
|
|
73
|
-
line: i + 1,
|
|
74
|
-
evidence: line.trim(),
|
|
75
|
-
controlIds: ["GDPR-ART32-002", "GDPR-ART32-003"],
|
|
76
|
-
fix: "Replace with AES-256-GCM or ChaCha20-Poly1305 for data at rest, TLS 1.3 for data in transit.",
|
|
77
|
-
});
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
for (const { pattern, check, desc } of INSECURE_PASSWORD_PATTERNS) {
|
|
82
|
-
pattern.lastIndex = 0;
|
|
83
|
-
if (check && pattern.test(line)) {
|
|
84
|
-
findings.push({
|
|
85
|
-
ruleId: "CRYPTO-003",
|
|
86
|
-
severity: "critical",
|
|
87
|
-
category: "authentication",
|
|
88
|
-
title: desc,
|
|
89
|
-
description: "Passwords must be hashed using Argon2id before comparison. Never compare plaintext passwords.",
|
|
90
|
-
file: filePath,
|
|
91
|
-
line: i + 1,
|
|
92
|
-
evidence: line.trim(),
|
|
93
|
-
controlIds: ["GDPR-ART32-004", "OWASP-ASVS-003"],
|
|
94
|
-
fix: "Use argon2.verify(hashedPassword, inputPassword) for password comparison.",
|
|
95
|
-
});
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
return findings;
|
|
102
|
-
}
|
|
103
|
-
}
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
import type { Scanner, Finding, ScanContext } from "./types.js";
|
|
2
|
-
|
|
3
|
-
export class DatabaseScanner implements Scanner {
|
|
4
|
-
name = "database";
|
|
5
|
-
|
|
6
|
-
scan(ctx: ScanContext): Finding[] {
|
|
7
|
-
const findings: Finding[] = [];
|
|
8
|
-
|
|
9
|
-
this.checkSchemaPatterns(ctx, findings);
|
|
10
|
-
this.checkORMConfig(ctx, findings);
|
|
11
|
-
|
|
12
|
-
return findings;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
private checkSchemaPatterns(ctx: ScanContext, findings: Finding[]): void {
|
|
16
|
-
const requiredAuditColumns = ["created_at", "updated_at"];
|
|
17
|
-
const recommendedAuditColumns = ["deleted_at", "created_by", "updated_by"];
|
|
18
|
-
const codeExtensions = new Set([".ts", ".tsx", ".js", ".jsx", ".prisma", ".sql"]);
|
|
19
|
-
|
|
20
|
-
for (const [filePath, content] of ctx.fileContents) {
|
|
21
|
-
const ext = filePath.substring(filePath.lastIndexOf("."));
|
|
22
|
-
if (!codeExtensions.has(ext)) continue;
|
|
23
|
-
|
|
24
|
-
const hasTimestamps = /\b(?:timestamps|created_at|createdAt)\s*[:\(]/i.test(content);
|
|
25
|
-
const hasSoftDelete = /\b(?:deleted_at|deletedAt|softDelete|paranoid)\s*[:\(]/i.test(content);
|
|
26
|
-
const hasUserAudit = /\b(?:created_by|createdBy|updated_by|updatedBy)\s*[:\(]/i.test(content);
|
|
27
|
-
|
|
28
|
-
if (/\b(?:model|schema|entity|table)\b.*\{/i.test(content) || /\bCREATE\s+TABLE\b/i.test(content)) {
|
|
29
|
-
if (!hasTimestamps) {
|
|
30
|
-
findings.push({
|
|
31
|
-
ruleId: "DB-001",
|
|
32
|
-
severity: "high",
|
|
33
|
-
category: "database",
|
|
34
|
-
title: "Missing audit timestamps in schema",
|
|
35
|
-
description: "Database schema does not include created_at/updated_at timestamps. These are mandatory for audit trails.",
|
|
36
|
-
file: filePath,
|
|
37
|
-
evidence: "No created_at/updated_at columns detected",
|
|
38
|
-
controlIds: ["GDPR-ART32-006"],
|
|
39
|
-
fix: "Add created_at and updated_at columns to all tables. In Prisma: @@map, in Sequelize: timestamps: true.",
|
|
40
|
-
});
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
if (!hasSoftDelete) {
|
|
44
|
-
findings.push({
|
|
45
|
-
ruleId: "DB-002",
|
|
46
|
-
severity: "medium",
|
|
47
|
-
category: "database",
|
|
48
|
-
title: "Missing soft delete pattern",
|
|
49
|
-
description: "No deleted_at column or soft delete pattern found. Hard deletes prevent audit trail and data recovery.",
|
|
50
|
-
file: filePath,
|
|
51
|
-
evidence: "No deleted_at/softDelete pattern detected",
|
|
52
|
-
controlIds: ["GDPR-ART32-007"],
|
|
53
|
-
fix: "Add deleted_at column. In Prisma: add DeletedAt DateTime?, in Sequelize: paranoid: true.",
|
|
54
|
-
});
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
if (!hasUserAudit) {
|
|
58
|
-
findings.push({
|
|
59
|
-
ruleId: "DB-003",
|
|
60
|
-
severity: "medium",
|
|
61
|
-
category: "database",
|
|
62
|
-
title: "Missing user audit columns",
|
|
63
|
-
description: "No created_by/updated_by columns found. Track who makes changes for accountability.",
|
|
64
|
-
file: filePath,
|
|
65
|
-
evidence: "No created_by/updated_by columns detected",
|
|
66
|
-
controlIds: ["GDPR-ART32-006"],
|
|
67
|
-
fix: "Add created_by and updated_by columns to track which user made changes.",
|
|
68
|
-
});
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
private checkORMConfig(ctx: ScanContext, findings: Finding[]): void {
|
|
75
|
-
const prismaSchema = ctx.fileContents.get("prisma/schema.prisma");
|
|
76
|
-
if (prismaSchema) {
|
|
77
|
-
if (!/@@map/i.test(prismaSchema) && !/model\s+Audit/i.test(prismaSchema)) {
|
|
78
|
-
findings.push({
|
|
79
|
-
ruleId: "DB-004",
|
|
80
|
-
severity: "medium",
|
|
81
|
-
category: "database",
|
|
82
|
-
title: "No Audit model in Prisma schema",
|
|
83
|
-
description: "Consider adding an Audit model for immutable audit logging.",
|
|
84
|
-
file: "prisma/schema.prisma",
|
|
85
|
-
evidence: "No Audit model found",
|
|
86
|
-
controlIds: ["GDPR-ART32-006"],
|
|
87
|
-
fix: "Add model Audit { id Int @id @default(autoincrement()) userId String action String resource String timestamp DateTime @default(now()) ipAddress String }",
|
|
88
|
-
});
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
}
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import type { Scanner, Finding, ScanContext } from "./types.js";
|
|
2
|
-
|
|
3
|
-
const SECRET_PATTERNS = [
|
|
4
|
-
{ pattern: /(?:password|passwd|pwd)\s*[:=]\s*['"][^'"]{4,}/gi, name: "Hardcoded password" },
|
|
5
|
-
{ pattern: /(?:api[_-]?key|apikey)\s*[:=]\s*['"][^'"]{4,}/gi, name: "Hardcoded API key" },
|
|
6
|
-
{ pattern: /(?:secret|token|auth)\s*[:=]\s*['"][^'"]{8,}/gi, name: "Hardcoded secret/token" },
|
|
7
|
-
{ pattern: /(?:mongodb|postgres|mysql|redis):\/\/[^\s'"]{10,}/gi, name: "Database connection string with credentials" },
|
|
8
|
-
{ pattern: /sk-[a-zA-Z0-9]{20,}/g, name: "OpenAI/API key pattern" },
|
|
9
|
-
{ pattern: /AKIA[0-9A-Z]{16}/g, name: "AWS Access Key ID" },
|
|
10
|
-
{ pattern: /-----BEGIN (?:RSA |EC )?PRIVATE KEY-----/g, name: "Private key in source" },
|
|
11
|
-
{ pattern: /ghp_[a-zA-Z0-9]{36}/g, name: "GitHub personal access token" },
|
|
12
|
-
{ pattern: /gho_[a-zA-Z0-9]{36}/g, name: "GitHub OAuth token" },
|
|
13
|
-
{ pattern: /glpat-[a-zA-Z0-9\-]{20,}/g, name: "GitLab personal access token" },
|
|
14
|
-
{ pattern: /xox[bpsa]-[a-zA-Z0-9\-]{10,}/g, name: "Slack token" },
|
|
15
|
-
{ pattern: /eyJ[a-zA-Z0-9_-]{10,}\.[a-zA-Z0-9_-]{10,}/g, name: "JWT token in source" },
|
|
16
|
-
{ pattern: /(?:CONNECTION_STRING|DATABASE_URL|DB_PASSWORD|SECRET_KEY|PRIVATE_KEY)\s*[:=]\s*['"][^'"]{4,}/gi, name: "Sensitive environment variable with value" },
|
|
17
|
-
];
|
|
18
|
-
|
|
19
|
-
const IGNORE_DIRS = new Set([
|
|
20
|
-
"node_modules", ".git", "dist", "build", ".next", ".nuxt", "coverage",
|
|
21
|
-
".ges", "vendor", "__pycache__", ".venv", "venv",
|
|
22
|
-
]);
|
|
23
|
-
|
|
24
|
-
const IGNORE_FILES = new Set([
|
|
25
|
-
".gitignore", "package-lock.json", "pnpm-lock.yaml", "yarn.lock",
|
|
26
|
-
]);
|
|
27
|
-
|
|
28
|
-
function shouldScanFile(filePath: string): boolean {
|
|
29
|
-
const parts = filePath.split("/");
|
|
30
|
-
if (parts.some(p => IGNORE_DIRS.has(p))) return false;
|
|
31
|
-
if (IGNORE_FILES.has(parts[parts.length - 1] || "")) return false;
|
|
32
|
-
return true;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
export class SecretsScanner implements Scanner {
|
|
36
|
-
name = "secrets";
|
|
37
|
-
|
|
38
|
-
scan(ctx: ScanContext): Finding[] {
|
|
39
|
-
const findings: Finding[] = [];
|
|
40
|
-
|
|
41
|
-
for (const [filePath, content] of ctx.fileContents) {
|
|
42
|
-
if (!shouldScanFile(filePath)) continue;
|
|
43
|
-
|
|
44
|
-
const lines = content.split("\n");
|
|
45
|
-
for (let i = 0; i < lines.length; i++) {
|
|
46
|
-
const line = lines[i];
|
|
47
|
-
for (const { pattern, name } of SECRET_PATTERNS) {
|
|
48
|
-
pattern.lastIndex = 0;
|
|
49
|
-
const match = pattern.exec(line);
|
|
50
|
-
if (match) {
|
|
51
|
-
findings.push({
|
|
52
|
-
ruleId: "SECRETS-001",
|
|
53
|
-
severity: "critical",
|
|
54
|
-
category: "secrets",
|
|
55
|
-
title: name,
|
|
56
|
-
description: "A secret or credential was found in source code. Secrets must never be committed to repositories.",
|
|
57
|
-
file: filePath,
|
|
58
|
-
line: i + 1,
|
|
59
|
-
evidence: maskSecret(match[0]),
|
|
60
|
-
controlIds: ["OWASP-ASVS-005", "GDPR-ART32-002"],
|
|
61
|
-
fix: "Move this secret to a secure vault (Vault, AWS KMS, etc.) or environment variable. Never commit secrets to source control.",
|
|
62
|
-
});
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
return findings;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
function maskSecret(secret: string): string {
|
|
73
|
-
if (secret.length <= 8) return "***";
|
|
74
|
-
return secret.slice(0, 4) + "***" + secret.slice(-4);
|
|
75
|
-
}
|
package/src/scanners/types.ts
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
export interface Finding {
|
|
2
|
-
ruleId: string;
|
|
3
|
-
severity: "critical" | "high" | "medium" | "low";
|
|
4
|
-
category: string;
|
|
5
|
-
title: string;
|
|
6
|
-
description: string;
|
|
7
|
-
file: string;
|
|
8
|
-
line?: number;
|
|
9
|
-
evidence: string;
|
|
10
|
-
controlIds: string[];
|
|
11
|
-
fix: string;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export interface ScanContext {
|
|
15
|
-
root: string;
|
|
16
|
-
files: string[];
|
|
17
|
-
fileContents: Map<string, string>;
|
|
18
|
-
config?: Record<string, unknown>;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export interface Scanner {
|
|
22
|
-
name: string;
|
|
23
|
-
scan(ctx: ScanContext): Finding[];
|
|
24
|
-
}
|
package/tsconfig.json
DELETED
package/tsconfig.tsbuildinfo
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"fileNames":["../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2021.d.ts","../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.d.ts","../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2023.d.ts","../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2024.d.ts","../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.date.d.ts","../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.date.d.ts","../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.number.d.ts","../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2021.string.d.ts","../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.array.d.ts","../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.error.d.ts","../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.object.d.ts","../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.string.d.ts","../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2023.array.d.ts","../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2023.collection.d.ts","../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2023.intl.d.ts","../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts","../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2024.collection.d.ts","../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2024.object.d.ts","../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2024.promise.d.ts","../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2024.regexp.d.ts","../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts","../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2024.string.d.ts","../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.decorators.d.ts","../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","./src/scanners/types.ts","./src/scanners/secrets-scanner.ts","./src/scanners/crypto-scanner.ts","./src/scanners/code-security-scanner.ts","./src/scanners/auth-scanner.ts","./src/scanners/config-scanner.ts","./src/scanners/database-scanner.ts","./src/index.ts","../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/compatibility/disposable.d.ts","../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/compatibility/indexable.d.ts","../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/compatibility/iterators.d.ts","../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/compatibility/index.d.ts","../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/globals.typedarray.d.ts","../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/buffer.buffer.d.ts","../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/globals.d.ts","../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/web-globals/abortcontroller.d.ts","../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/web-globals/domexception.d.ts","../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/web-globals/events.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/header.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/readable.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/file.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/fetch.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/formdata.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/connector.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/client.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/errors.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/dispatcher.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/global-dispatcher.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/global-origin.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/pool-stats.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/pool.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/handlers.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/balanced-pool.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/agent.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-interceptor.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-agent.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-client.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-pool.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-errors.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/proxy-agent.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/env-http-proxy-agent.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/retry-handler.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/retry-agent.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/api.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/interceptors.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/util.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/cookies.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/patch.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/websocket.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/eventsource.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/filereader.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/diagnostics-channel.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/content-type.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/cache.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/index.d.ts","../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/web-globals/fetch.d.ts","../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/web-globals/navigator.d.ts","../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/web-globals/storage.d.ts","../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/assert.d.ts","../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/assert/strict.d.ts","../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/async_hooks.d.ts","../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/buffer.d.ts","../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/child_process.d.ts","../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/cluster.d.ts","../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/console.d.ts","../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/constants.d.ts","../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/crypto.d.ts","../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/dgram.d.ts","../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/diagnostics_channel.d.ts","../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/dns.d.ts","../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/dns/promises.d.ts","../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/domain.d.ts","../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/events.d.ts","../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/fs.d.ts","../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/fs/promises.d.ts","../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/http.d.ts","../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/http2.d.ts","../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/https.d.ts","../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/inspector.d.ts","../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/inspector.generated.d.ts","../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/module.d.ts","../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/net.d.ts","../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/os.d.ts","../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/path.d.ts","../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/perf_hooks.d.ts","../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/process.d.ts","../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/punycode.d.ts","../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/querystring.d.ts","../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/readline.d.ts","../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/readline/promises.d.ts","../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/repl.d.ts","../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/sea.d.ts","../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/sqlite.d.ts","../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/stream.d.ts","../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/stream/promises.d.ts","../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/stream/consumers.d.ts","../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/stream/web.d.ts","../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/string_decoder.d.ts","../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/test.d.ts","../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/timers.d.ts","../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/timers/promises.d.ts","../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/tls.d.ts","../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/trace_events.d.ts","../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/tty.d.ts","../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/url.d.ts","../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/util.d.ts","../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/v8.d.ts","../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/vm.d.ts","../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/wasi.d.ts","../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/worker_threads.d.ts","../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/zlib.d.ts","../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/index.d.ts"],"fileIdsList":[[83,128,129,131,148,149],[83,130,131,148,149],[131,148,149],[83,131,136,148,149,166],[83,131,132,137,142,148,149,151,163,174],[83,131,132,133,142,148,149,151],[83,131,148,149],[78,79,80,83,131,148,149],[83,131,134,148,149,175],[83,131,135,136,143,148,149,152],[83,131,136,148,149,163,171],[83,131,137,139,142,148,149,151],[83,130,131,138,148,149],[83,131,139,140,148,149],[83,131,141,142,148,149],[83,130,131,142,148,149],[83,131,142,143,144,148,149,163,174],[83,131,142,143,144,148,149,158,163,166],[83,124,131,139,142,145,148,149,151,163,174],[83,131,142,143,145,146,148,149,151,163,171,174],[83,131,145,147,148,149,163,171,174],[81,82,83,84,85,86,87,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180],[83,131,142,148,149],[83,131,148,149,150,174],[83,131,139,142,148,149,151,163],[83,131,148,149,152],[83,131,148,149,153],[83,130,131,148,149,154],[83,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180],[83,131,148,149,156],[83,131,148,149,157],[83,131,142,148,149,158,159],[83,131,148,149,158,160,175,177],[83,131,143,148,149],[83,131,142,148,149,163,164,166],[83,131,148,149,165,166],[83,131,148,149,163,164],[83,131,148,149,166],[83,131,148,149,167],[83,128,131,148,149,163,168,174],[83,131,142,148,149,169,170],[83,131,148,149,169,170],[83,131,136,148,149,151,163,171],[83,131,148,149,172],[83,131,148,149,151,173],[83,131,145,148,149,157,174],[83,131,136,148,149,175],[83,131,148,149,163,176],[83,131,148,149,150,177],[83,131,148,149,178],[83,124,131,148,149],[83,124,131,142,144,148,149,154,163,166,174,176,177,179],[83,131,148,149,163,180],[83,96,100,131,148,149,174],[83,96,131,148,149,163,174],[83,91,131,148,149],[83,93,96,131,148,149,171,174],[83,131,148,149,151,171],[83,131,148,149,181],[83,91,131,148,149,181],[83,93,96,131,148,149,151,174],[83,88,89,92,95,131,142,148,149,163,174],[83,96,103,131,148,149],[83,88,94,131,148,149],[83,96,117,118,131,148,149],[83,92,96,131,148,149,166,174,181],[83,117,131,148,149,181],[83,90,91,131,148,149,181],[83,96,131,148,149],[83,90,91,92,93,94,95,96,97,98,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,118,119,120,121,122,123,131,148,149],[83,96,111,131,148,149],[83,96,103,104,131,148,149],[83,94,96,104,105,131,148,149],[83,95,131,148,149],[83,88,91,96,131,148,149],[83,96,100,104,105,131,148,149],[83,100,131,148,149],[83,94,96,99,131,148,149,174],[83,88,93,96,103,131,148,149],[83,131,148,149,163],[83,91,96,117,131,148,149,179,181],[70,71,72,73,74,75,76,83,131,143,148,149,153],[70,83,131,148,149]],"fileInfos":[{"version":"bcd24271a113971ba9eb71ff8cb01bc6b0f872a85c23fdbe5d93065b375933cd","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f88bedbeb09c6f5a6645cb24c7c55f1aa22d19ae96c8e6959cbd8b85a707bc6","impliedFormat":1},{"version":"7fe93b39b810eadd916be8db880dd7f0f7012a5cc6ffb62de8f62a2117fa6f1f","impliedFormat":1},{"version":"bb0074cc08b84a2374af33d8bf044b80851ccc9e719a5e202eacf40db2c31600","impliedFormat":1},{"version":"1a7daebe4f45fb03d9ec53d60008fbf9ac45a697fdc89e4ce218bc94b94f94d6","impliedFormat":1},{"version":"f94b133a3cb14a288803be545ac2683e0d0ff6661bcd37e31aaaec54fc382aed","impliedFormat":1},{"version":"f59d0650799f8782fd74cf73c19223730c6d1b9198671b1c5b3a38e1188b5953","impliedFormat":1},{"version":"8a15b4607d9a499e2dbeed9ec0d3c0d7372c850b2d5f1fb259e8f6d41d468a84","impliedFormat":1},{"version":"26e0fe14baee4e127f4365d1ae0b276f400562e45e19e35fd2d4c296684715e6","impliedFormat":1},{"version":"1e9332c23e9a907175e0ffc6a49e236f97b48838cc8aec9ce7e4cec21e544b65","impliedFormat":1},{"version":"3753fbc1113dc511214802a2342280a8b284ab9094f6420e7aa171e868679f91","impliedFormat":1},{"version":"eadcffda2aa84802c73938e589b9e58248d74c59cb7fcbca6474e3435ac15504","affectsGlobalScope":true,"impliedFormat":1},{"version":"105ba8ff7ba746404fe1a2e189d1d3d2e0eb29a08c18dded791af02f29fb4711","affectsGlobalScope":true,"impliedFormat":1},{"version":"00343ca5b2e3d48fa5df1db6e32ea2a59afab09590274a6cccb1dbae82e60c7c","affectsGlobalScope":true,"impliedFormat":1},{"version":"ebd9f816d4002697cb2864bea1f0b70a103124e18a8cd9645eeccc09bdf80ab4","affectsGlobalScope":true,"impliedFormat":1},{"version":"2c1afac30a01772cd2a9a298a7ce7706b5892e447bb46bdbeef720f7b5da77ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"7b0225f483e4fa685625ebe43dd584bb7973bbd84e66a6ba7bbe175ee1048b4f","affectsGlobalScope":true,"impliedFormat":1},{"version":"c0a4b8ac6ce74679c1da2b3795296f5896e31c38e888469a8e0f99dc3305de60","affectsGlobalScope":true,"impliedFormat":1},{"version":"3084a7b5f569088e0146533a00830e206565de65cae2239509168b11434cd84f","affectsGlobalScope":true,"impliedFormat":1},{"version":"c5079c53f0f141a0698faa903e76cb41cd664e3efb01cc17a5c46ec2eb0bef42","affectsGlobalScope":true,"impliedFormat":1},{"version":"32cafbc484dea6b0ab62cf8473182bbcb23020d70845b406f80b7526f38ae862","affectsGlobalScope":true,"impliedFormat":1},{"version":"fca4cdcb6d6c5ef18a869003d02c9f0fd95df8cfaf6eb431cd3376bc034cad36","affectsGlobalScope":true,"impliedFormat":1},{"version":"b93ec88115de9a9dc1b602291b85baf825c85666bf25985cc5f698073892b467","affectsGlobalScope":true,"impliedFormat":1},{"version":"f5c06dcc3fe849fcb297c247865a161f995cc29de7aa823afdd75aaaddc1419b","affectsGlobalScope":true,"impliedFormat":1},{"version":"b77e16112127a4b169ef0b8c3a4d730edf459c5f25fe52d5e436a6919206c4d7","affectsGlobalScope":true,"impliedFormat":1},{"version":"fbffd9337146eff822c7c00acbb78b01ea7ea23987f6c961eba689349e744f8c","affectsGlobalScope":true,"impliedFormat":1},{"version":"a995c0e49b721312f74fdfb89e4ba29bd9824c770bbb4021d74d2bf560e4c6bd","affectsGlobalScope":true,"impliedFormat":1},{"version":"c7b3542146734342e440a84b213384bfa188835537ddbda50d30766f0593aff9","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce6180fa19b1cccd07ee7f7dbb9a367ac19c0ed160573e4686425060b6df7f57","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f02e2476bccb9dbe21280d6090f0df17d2f66b74711489415a8aa4df73c9675","affectsGlobalScope":true,"impliedFormat":1},{"version":"45e3ab34c1c013c8ab2dc1ba4c80c780744b13b5676800ae2e3be27ae862c40c","affectsGlobalScope":true,"impliedFormat":1},{"version":"805c86f6cca8d7702a62a844856dbaa2a3fd2abef0536e65d48732441dde5b5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"e42e397f1a5a77994f0185fd1466520691456c772d06bf843e5084ceb879a0ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"f4c2b41f90c95b1c532ecc874bd3c111865793b23aebcc1c3cbbabcd5d76ffb0","affectsGlobalScope":true,"impliedFormat":1},{"version":"ab26191cfad5b66afa11b8bf935ef1cd88fabfcb28d30b2dfa6fad877d050332","affectsGlobalScope":true,"impliedFormat":1},{"version":"2088bc26531e38fb05eedac2951480db5309f6be3fa4a08d2221abb0f5b4200d","affectsGlobalScope":true,"impliedFormat":1},{"version":"cb9d366c425fea79716a8fb3af0d78e6b22ebbab3bd64d25063b42dc9f531c1e","affectsGlobalScope":true,"impliedFormat":1},{"version":"500934a8089c26d57ebdb688fc9757389bb6207a3c8f0674d68efa900d2abb34","affectsGlobalScope":true,"impliedFormat":1},{"version":"689da16f46e647cef0d64b0def88910e818a5877ca5379ede156ca3afb780ac3","affectsGlobalScope":true,"impliedFormat":1},{"version":"bc21cc8b6fee4f4c2440d08035b7ea3c06b3511314c8bab6bef7a92de58a2593","affectsGlobalScope":true,"impliedFormat":1},{"version":"7ca53d13d2957003abb47922a71866ba7cb2068f8d154877c596d63c359fed25","affectsGlobalScope":true,"impliedFormat":1},{"version":"54725f8c4df3d900cb4dac84b64689ce29548da0b4e9b7c2de61d41c79293611","affectsGlobalScope":true,"impliedFormat":1},{"version":"e5594bc3076ac29e6c1ebda77939bc4c8833de72f654b6e376862c0473199323","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f3eb332c2d73e729f3364fcc0c2b375e72a121e8157d25a82d67a138c83a95c","affectsGlobalScope":true,"impliedFormat":1},{"version":"6f4427f9642ce8d500970e4e69d1397f64072ab73b97e476b4002a646ac743b1","affectsGlobalScope":true,"impliedFormat":1},{"version":"48915f327cd1dea4d7bd358d9dc7732f58f9e1626a29cc0c05c8c692419d9bb7","affectsGlobalScope":true,"impliedFormat":1},{"version":"b7bf9377723203b5a6a4b920164df22d56a43f593269ba6ae1fdc97774b68855","affectsGlobalScope":true,"impliedFormat":1},{"version":"db9709688f82c9e5f65a119c64d835f906efe5f559d08b11642d56eb85b79357","affectsGlobalScope":true,"impliedFormat":1},{"version":"4b25b8c874acd1a4cf8444c3617e037d444d19080ac9f634b405583fd10ce1f7","affectsGlobalScope":true,"impliedFormat":1},{"version":"37be57d7c90cf1f8112ee2636a068d8fd181289f82b744160ec56a7dc158a9f5","affectsGlobalScope":true,"impliedFormat":1},{"version":"a917a49ac94cd26b754ab84e113369a75d1a47a710661d7cd25e961cc797065f","affectsGlobalScope":true,"impliedFormat":1},{"version":"6d3261badeb7843d157ef3e6f5d1427d0eeb0af0cf9df84a62cfd29fd47ac86e","affectsGlobalScope":true,"impliedFormat":1},{"version":"195daca651dde22f2167ac0d0a05e215308119a3100f5e6268e8317d05a92526","affectsGlobalScope":true,"impliedFormat":1},{"version":"8b11e4285cd2bb164a4dc09248bdec69e9842517db4ca47c1ba913011e44ff2f","affectsGlobalScope":true,"impliedFormat":1},{"version":"0508571a52475e245b02bc50fa1394065a0a3d05277fbf5120c3784b85651799","affectsGlobalScope":true,"impliedFormat":1},{"version":"8f9af488f510c3015af3cc8c267a9e9d96c4dd38a1fdff0e11dc5a544711415b","affectsGlobalScope":true,"impliedFormat":1},{"version":"fc611fea8d30ea72c6bbfb599c9b4d393ce22e2f5bfef2172534781e7d138104","affectsGlobalScope":true,"impliedFormat":1},{"version":"0bd714129fca875f7d4c477a1a392200b0bcd13fb2e80928cd334b63830ea047","affectsGlobalScope":true,"impliedFormat":1},{"version":"e2c9037ae6cd2c52d80ceef0b3c5ffdb488627d71529cf4f63776daf11161c9a","affectsGlobalScope":true,"impliedFormat":1},{"version":"135d5cf4d345f59f1a9caadfafcd858d3d9cc68290db616cc85797224448cccc","affectsGlobalScope":true,"impliedFormat":1},{"version":"bc238c3f81c2984751932b6aab223cd5b830e0ac6cad76389e5e9d2ffc03287d","affectsGlobalScope":true,"impliedFormat":1},{"version":"4a07f9b76d361f572620927e5735b77d6d2101c23cdd94383eb5b706e7b36357","affectsGlobalScope":true,"impliedFormat":1},{"version":"7c4e8dc6ab834cc6baa0227e030606d29e3e8449a9f67cdf5605ea5493c4db29","affectsGlobalScope":true,"impliedFormat":1},{"version":"de7ba0fd02e06cd9a5bd4ab441ed0e122735786e67dde1e849cced1cd8b46b78","affectsGlobalScope":true,"impliedFormat":1},{"version":"6148e4e88d720a06855071c3db02069434142a8332cf9c182cda551adedf3156","affectsGlobalScope":true,"impliedFormat":1},{"version":"d63dba625b108316a40c95a4425f8d4294e0deeccfd6c7e59d819efa19e23409","affectsGlobalScope":true,"impliedFormat":1},{"version":"0568d6befee03dd435bed4fc25c4e46865b24bdcb8c563fdc21f580a2c301904","affectsGlobalScope":true,"impliedFormat":1},{"version":"1ce14b81c5cc821994aa8ec1d42b220dd41b27fcc06373bce3958af7421b77d4","affectsGlobalScope":true,"impliedFormat":1},{"version":"b3a048b3e9302ef9a34ef4ebb9aecfb28b66abb3bce577206a79fee559c230da","affectsGlobalScope":true,"impliedFormat":1},{"version":"575d0f255015dd8c328d733279dbdeb1def020d12c8ddd499f06f180cd190a40","signature":"15ce1c0f9547de8c400d09cc73a28e3abf555e5a75d36f64b395152bff704a29","impliedFormat":99},{"version":"1c8a9c6c6add234e4c5b1402a40ac585407e4d14c428924a9eac629a188b9526","signature":"5f46396c7f640fed3d6f167eca8bfb831dcc212e96196263e811cd862d0f6d79","impliedFormat":99},{"version":"3dbd673aab7f2234ce25cc74d4f0385964de825da04b3efce238ef35b55665f0","signature":"8a624989597ab41bf3d805fe54e23182fdc4745cb7b97f5dde178a6147ed2123","impliedFormat":99},{"version":"703663c513a7a70d0423d13be92eb7e7fa65a3ff6ab6c5a476cf9404cb7f9976","signature":"3e41c8d989d719e0198917144e0d1512fe440666b6cdd30b342b9632fb85b9f7","impliedFormat":99},{"version":"65a077f165912465a35d55f9e38729efa6f68e67a70988d6162040a8a852a693","signature":"6b539bb8b137f1ed30233c3b33878ad8c9fdbb11e5404caa6b4675b3785dd097","impliedFormat":99},{"version":"da6a340371960e091c28caf4c1b4aa15def91c0aaa1b91cd8f5bff2a6823e57a","signature":"3bb952aff88f1820963286770e2e7e120e5f68c53394006ad99556a982578763","impliedFormat":99},{"version":"ee7f2662fa8e8167cac79c8aa314ebef81e109a749bf954d073fd7329364cac4","signature":"95c36c9bf79577c1b50366a8c94831a2035e6123933ca722b9588aac75bf16a7","impliedFormat":99},{"version":"421c4b5d8a026f30b8d3246c2ce5a5ce6a75a4d5d4c5582b8737dad4ff6dc507","signature":"4ae5a9df2716da8cbafab2a0c78ab69ee93e704cb8182abd3907d1c5dbd88817","impliedFormat":99},{"version":"6c7176368037af28cb72f2392010fa1cef295d6d6744bca8cfb54985f3a18c3e","affectsGlobalScope":true,"impliedFormat":1},{"version":"ab41ef1f2cdafb8df48be20cd969d875602483859dc194e9c97c8a576892c052","affectsGlobalScope":true,"impliedFormat":1},{"version":"437e20f2ba32abaeb7985e0afe0002de1917bc74e949ba585e49feba65da6ca1","affectsGlobalScope":true,"impliedFormat":1},{"version":"21d819c173c0cf7cc3ce57c3276e77fd9a8a01d35a06ad87158781515c9a438a","impliedFormat":1},{"version":"98cffbf06d6bab333473c70a893770dbe990783904002c4f1a960447b4b53dca","affectsGlobalScope":true,"impliedFormat":1},{"version":"3af97acf03cc97de58a3a4bc91f8f616408099bc4233f6d0852e72a8ffb91ac9","affectsGlobalScope":true,"impliedFormat":1},{"version":"808069bba06b6768b62fd22429b53362e7af342da4a236ed2d2e1c89fcca3b4a","affectsGlobalScope":true,"impliedFormat":1},{"version":"1db0b7dca579049ca4193d034d835f6bfe73096c73663e5ef9a0b5779939f3d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"9798340ffb0d067d69b1ae5b32faa17ab31b82466a3fc00d8f2f2df0c8554aaa","affectsGlobalScope":true,"impliedFormat":1},{"version":"f26b11d8d8e4b8028f1c7d618b22274c892e4b0ef5b3678a8ccbad85419aef43","affectsGlobalScope":true,"impliedFormat":1},{"version":"5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","impliedFormat":1},{"version":"763fe0f42b3d79b440a9b6e51e9ba3f3f91352469c1e4b3b67bfa4ff6352f3f4","impliedFormat":1},{"version":"25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","impliedFormat":1},{"version":"c464d66b20788266e5353b48dc4aa6bc0dc4a707276df1e7152ab0c9ae21fad8","impliedFormat":1},{"version":"78d0d27c130d35c60b5e5566c9f1e5be77caf39804636bc1a40133919a949f21","impliedFormat":1},{"version":"c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","impliedFormat":1},{"version":"1d6e127068ea8e104a912e42fc0a110e2aa5a66a356a917a163e8cf9a65e4a75","impliedFormat":1},{"version":"5ded6427296cdf3b9542de4471d2aa8d3983671d4cac0f4bf9c637208d1ced43","impliedFormat":1},{"version":"7f182617db458e98fc18dfb272d40aa2fff3a353c44a89b2c0ccb3937709bfb5","impliedFormat":1},{"version":"cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","impliedFormat":1},{"version":"385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","impliedFormat":1},{"version":"9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","impliedFormat":1},{"version":"0b8a9268adaf4da35e7fa830c8981cfa22adbbe5b3f6f5ab91f6658899e657a7","impliedFormat":1},{"version":"11396ed8a44c02ab9798b7dca436009f866e8dae3c9c25e8c1fbc396880bf1bb","impliedFormat":1},{"version":"ba7bc87d01492633cb5a0e5da8a4a42a1c86270e7b3d2dea5d156828a84e4882","impliedFormat":1},{"version":"4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","impliedFormat":1},{"version":"c21dc52e277bcfc75fac0436ccb75c204f9e1b3fa5e12729670910639f27343e","impliedFormat":1},{"version":"13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","impliedFormat":1},{"version":"9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","impliedFormat":1},{"version":"4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","impliedFormat":1},{"version":"24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","impliedFormat":1},{"version":"ea0148f897b45a76544ae179784c95af1bd6721b8610af9ffa467a518a086a43","impliedFormat":1},{"version":"24c6a117721e606c9984335f71711877293a9651e44f59f3d21c1ea0856f9cc9","impliedFormat":1},{"version":"dd3273ead9fbde62a72949c97dbec2247ea08e0c6952e701a483d74ef92d6a17","impliedFormat":1},{"version":"405822be75ad3e4d162e07439bac80c6bcc6dbae1929e179cf467ec0b9ee4e2e","impliedFormat":1},{"version":"0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","impliedFormat":1},{"version":"e61be3f894b41b7baa1fbd6a66893f2579bfad01d208b4ff61daef21493ef0a8","impliedFormat":1},{"version":"bd0532fd6556073727d28da0edfd1736417a3f9f394877b6d5ef6ad88fba1d1a","impliedFormat":1},{"version":"89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","impliedFormat":1},{"version":"615ba88d0128ed16bf83ef8ccbb6aff05c3ee2db1cc0f89ab50a4939bfc1943f","impliedFormat":1},{"version":"a4d551dbf8746780194d550c88f26cf937caf8d56f102969a110cfaed4b06656","impliedFormat":1},{"version":"8bd86b8e8f6a6aa6c49b71e14c4ffe1211a0e97c80f08d2c8cc98838006e4b88","impliedFormat":1},{"version":"317e63deeb21ac07f3992f5b50cdca8338f10acd4fbb7257ebf56735bf52ab00","impliedFormat":1},{"version":"4732aec92b20fb28c5fe9ad99521fb59974289ed1e45aecb282616202184064f","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"bf67d53d168abc1298888693338cb82854bdb2e69ef83f8a0092093c2d562107","impliedFormat":1},{"version":"b52476feb4a0cbcb25e5931b930fc73cb6643fb1a5060bf8a3dda0eeae5b4b68","affectsGlobalScope":true,"impliedFormat":1},{"version":"f9501cc13ce624c72b61f12b3963e84fad210fbdf0ffbc4590e08460a3f04eba","affectsGlobalScope":true,"impliedFormat":1},{"version":"e7721c4f69f93c91360c26a0a84ee885997d748237ef78ef665b153e622b36c1","affectsGlobalScope":true,"impliedFormat":1},{"version":"0fa06ada475b910e2106c98c68b10483dc8811d0c14a8a8dd36efb2672485b29","impliedFormat":1},{"version":"33e5e9aba62c3193d10d1d33ae1fa75c46a1171cf76fef750777377d53b0303f","impliedFormat":1},{"version":"2b06b93fd01bcd49d1a6bd1f9b65ddcae6480b9a86e9061634d6f8e354c1468f","impliedFormat":1},{"version":"6a0cd27e5dc2cfbe039e731cf879d12b0e2dded06d1b1dedad07f7712de0d7f4","affectsGlobalScope":true,"impliedFormat":1},{"version":"13f5c844119c43e51ce777c509267f14d6aaf31eafb2c2b002ca35584cd13b29","impliedFormat":1},{"version":"e60477649d6ad21542bd2dc7e3d9ff6853d0797ba9f689ba2f6653818999c264","impliedFormat":1},{"version":"c2510f124c0293ab80b1777c44d80f812b75612f297b9857406468c0f4dafe29","affectsGlobalScope":true,"impliedFormat":1},{"version":"5524481e56c48ff486f42926778c0a3cce1cc85dc46683b92b1271865bcf015a","impliedFormat":1},{"version":"4c829ab315f57c5442c6667b53769975acbf92003a66aef19bce151987675bd1","affectsGlobalScope":true,"impliedFormat":1},{"version":"b2ade7657e2db96d18315694789eff2ddd3d8aea7215b181f8a0b303277cc579","impliedFormat":1},{"version":"9855e02d837744303391e5623a531734443a5f8e6e8755e018c41d63ad797db2","impliedFormat":1},{"version":"4d631b81fa2f07a0e63a9a143d6a82c25c5f051298651a9b69176ba28930756d","impliedFormat":1},{"version":"836a356aae992ff3c28a0212e3eabcb76dd4b0cc06bcb9607aeef560661b860d","impliedFormat":1},{"version":"1e0d1f8b0adfa0b0330e028c7941b5a98c08b600efe7f14d2d2a00854fb2f393","impliedFormat":1},{"version":"41670ee38943d9cbb4924e436f56fc19ee94232bc96108562de1a734af20dc2c","affectsGlobalScope":true,"impliedFormat":1},{"version":"c906fb15bd2aabc9ed1e3f44eb6a8661199d6c320b3aa196b826121552cb3695","impliedFormat":1},{"version":"22295e8103f1d6d8ea4b5d6211e43421fe4564e34d0dd8e09e520e452d89e659","impliedFormat":1},{"version":"58647d85d0f722a1ce9de50955df60a7489f0593bf1a7015521efe901c06d770","impliedFormat":1},{"version":"73b5fa37db36eeac90c4d752e39586f1b57187400c4f5280fd05f16437287a45","impliedFormat":1},{"version":"a10f0e1854f3316d7ee437b79649e5a6ae3ae14ffe6322b02d4987071a95362e","impliedFormat":1},{"version":"e208f73ef6a980104304b0d2ca5f6bf1b85de6009d2c7e404028b875020fa8f2","impliedFormat":1},{"version":"d163b6bc2372b4f07260747cbc6c0a6405ab3fbcea3852305e98ac43ca59f5bc","impliedFormat":1},{"version":"e6fa9ad47c5f71ff733744a029d1dc472c618de53804eae08ffc243b936f87ff","affectsGlobalScope":true,"impliedFormat":1},{"version":"a6f137d651076822d4fe884287e68fd61785a0d3d1fdb250a5059b691fa897db","impliedFormat":1},{"version":"24826ed94a78d5c64bd857570fdbd96229ad41b5cb654c08d75a9845e3ab7dde","impliedFormat":1},{"version":"8b479a130ccb62e98f11f136d3ac80f2984fdc07616516d29881f3061f2dd472","impliedFormat":1},{"version":"928af3d90454bf656a52a48679f199f64c1435247d6189d1caf4c68f2eaf921f","affectsGlobalScope":true,"impliedFormat":1},{"version":"bceb58df66ab8fb00170df20cd813978c5ab84be1d285710c4eb005d8e9d8efb","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f16a7e4deafa527ed9995a772bb380eb7d3c2c0fd4ae178c5263ed18394db2c","impliedFormat":1},{"version":"933921f0bb0ec12ef45d1062a1fc0f27635318f4d294e4d99de9a5493e618ca2","impliedFormat":1},{"version":"71a0f3ad612c123b57239a7749770017ecfe6b66411488000aba83e4546fde25","impliedFormat":1},{"version":"77fbe5eecb6fac4b6242bbf6eebfc43e98ce5ccba8fa44e0ef6a95c945ff4d98","impliedFormat":1},{"version":"4f9d8ca0c417b67b69eeb54c7ca1bedd7b56034bb9bfd27c5d4f3bc4692daca7","impliedFormat":1},{"version":"814118df420c4e38fe5ae1b9a3bafb6e9c2aa40838e528cde908381867be6466","impliedFormat":1},{"version":"a3fc63c0d7b031693f665f5494412ba4b551fe644ededccc0ab5922401079c95","impliedFormat":1},{"version":"80523c00b8544a2000ae0143e4a90a00b47f99823eb7926c1e03c494216fc363","impliedFormat":1},{"version":"37ba7b45141a45ce6e80e66f2a96c8a5ab1bcef0fc2d0f56bb58df96ec67e972","impliedFormat":1},{"version":"45650f47bfb376c8a8ed39d4bcda5902ab899a3150029684ee4c10676d9fbaee","impliedFormat":1},{"version":"746911b62b329587939560deb5c036aca48aece03147b021fa680223255d5183","affectsGlobalScope":true,"impliedFormat":1},{"version":"18fd40412d102c5564136f29735e5d1c3b455b8a37f920da79561f1fde068208","impliedFormat":1},{"version":"c8d3e5a18ba35629954e48c4cc8f11dc88224650067a172685c736b27a34a4dc","impliedFormat":1},{"version":"f0be1b8078cd549d91f37c30c222c2a187ac1cf981d994fb476a1adc61387b14","affectsGlobalScope":true,"impliedFormat":1},{"version":"0aaed1d72199b01234152f7a60046bc947f1f37d78d182e9ae09c4289e06a592","impliedFormat":1},{"version":"2b55d426ff2b9087485e52ac4bc7cfafe1dc420fc76dad926cd46526567c501a","impliedFormat":1},{"version":"66ba1b2c3e3a3644a1011cd530fb444a96b1b2dfe2f5e837a002d41a1a799e60","impliedFormat":1},{"version":"7e514f5b852fdbc166b539fdd1f4e9114f29911592a5eb10a94bb3a13ccac3c4","impliedFormat":1},{"version":"5b7aa3c4c1a5d81b411e8cb302b45507fea9358d3569196b27eb1a27ae3a90ef","affectsGlobalScope":true,"impliedFormat":1},{"version":"5987a903da92c7462e0b35704ce7da94d7fdc4b89a984871c0e2b87a8aae9e69","affectsGlobalScope":true,"impliedFormat":1},{"version":"ea08a0345023ade2b47fbff5a76d0d0ed8bff10bc9d22b83f40858a8e941501c","impliedFormat":1},{"version":"47613031a5a31510831304405af561b0ffaedb734437c595256bb61a90f9311b","impliedFormat":1},{"version":"ae062ce7d9510060c5d7e7952ae379224fb3f8f2dd74e88959878af2057c143b","impliedFormat":1},{"version":"8a1a0d0a4a06a8d278947fcb66bf684f117bf147f89b06e50662d79a53be3e9f","affectsGlobalScope":true,"impliedFormat":1},{"version":"358765d5ea8afd285d4fd1532e78b88273f18cb3f87403a9b16fef61ac9fdcfe","impliedFormat":1},{"version":"9f55299850d4f0921e79b6bf344b47c420ce0f507b9dcf593e532b09ea7eeea1","impliedFormat":1}],"root":[[70,77]],"options":{"composite":true,"declaration":true,"declarationMap":false,"esModuleInterop":true,"module":100,"outDir":"./dist","rootDir":"./src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":11},"referencedMap":[[128,1],[129,1],[130,2],[83,3],[131,4],[132,5],[133,6],[78,7],[81,8],[79,7],[80,7],[134,9],[135,10],[136,11],[137,12],[138,13],[139,14],[140,14],[141,15],[142,16],[143,17],[144,18],[84,7],[82,7],[145,19],[146,20],[147,21],[181,22],[148,23],[149,7],[150,24],[151,25],[152,26],[153,27],[154,28],[155,29],[156,30],[157,31],[158,32],[159,32],[160,33],[161,7],[162,34],[163,35],[165,36],[164,37],[166,38],[167,39],[168,40],[169,41],[170,42],[171,43],[172,44],[173,45],[174,46],[175,47],[176,48],[177,49],[178,50],[85,7],[86,7],[87,7],[125,51],[126,7],[127,7],[179,52],[180,53],[68,7],[69,7],[13,7],[12,7],[2,7],[14,7],[15,7],[16,7],[17,7],[18,7],[19,7],[20,7],[21,7],[3,7],[22,7],[23,7],[4,7],[24,7],[28,7],[25,7],[26,7],[27,7],[29,7],[30,7],[31,7],[5,7],[32,7],[33,7],[34,7],[35,7],[6,7],[39,7],[36,7],[37,7],[38,7],[40,7],[7,7],[41,7],[46,7],[47,7],[42,7],[43,7],[44,7],[45,7],[8,7],[51,7],[48,7],[49,7],[50,7],[52,7],[9,7],[53,7],[54,7],[55,7],[57,7],[56,7],[58,7],[59,7],[10,7],[60,7],[61,7],[62,7],[11,7],[63,7],[64,7],[65,7],[66,7],[67,7],[1,7],[103,54],[113,55],[102,54],[123,56],[94,57],[93,58],[122,59],[116,60],[121,61],[96,62],[110,63],[95,64],[119,65],[91,66],[90,59],[120,67],[92,68],[97,69],[98,7],[101,69],[88,7],[124,70],[114,71],[105,72],[106,73],[108,74],[104,75],[107,76],[117,59],[99,77],[100,78],[109,79],[89,80],[112,71],[111,69],[115,7],[118,81],[77,82],[74,83],[73,83],[75,83],[72,83],[76,83],[71,83],[70,7]],"latestChangedDtsFile":"./dist/index.d.ts","version":"6.0.3"}
|