-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
43 lines (43 loc) · 2.69 KB
/
Copy pathpackage.json
File metadata and controls
43 lines (43 loc) · 2.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{
"name": "keyleaks",
"version": "0.1.6",
"description": "One-command local audit for credential-like values in coding-agent chat histories.",
"license": "MIT",
"type": "module",
"repository": {
"type": "git",
"url": "git+https://github.com/zonko-ai/keyleaks.git"
},
"bugs": {
"url": "https://github.com/zonko-ai/keyleaks/issues"
},
"homepage": "https://github.com/zonko-ai/keyleaks#readme",
"keywords": [
"ai-agents",
"claude-code",
"codex",
"credential-scanner",
"key-leaks",
"secret-scanning",
"security"
],
"bin": {
"keyleaks": "bin/keyleaks.js"
},
"files": [
"bin/",
"lib/native-audit.js",
"README.md",
"SECURITY.md",
"docs/supported-agents.md",
"test-cli-loader.js",
"test-detectors.js"
],
"scripts": {
"start": "node bin/keyleaks.js",
"test": "node --check bin/keyleaks.js && node --check lib/native-audit.js && node --check test-cli-loader.js && node --check test-detectors.js && node test-detectors.js && node test-cli-loader.js && node bin/keyleaks.js --json >/tmp/keyleaks-test.json && python3 -m json.tool /tmp/keyleaks-test.json >/dev/null && node bin/keyleaks.js details >/tmp/keyleaks-details.txt && grep -q 'Coding Agent' /tmp/keyleaks-details.txt && node bin/keyleaks.js types >/tmp/keyleaks-types.txt && grep -q 'Key Type' /tmp/keyleaks-types.txt && grep -q 'Assistant' /tmp/keyleaks-types.txt && node bin/keyleaks.js month-wise-breakup --agent pi >/tmp/keyleaks-month-wise.txt && grep -q 'CREDENTIAL LEAKS BY MONTH' /tmp/keyleaks-month-wise.txt && node bin/keyleaks.js --agent pi >/tmp/keyleaks-summary.txt && ! grep -q 'CREDENTIAL LEAKS BY MONTH' /tmp/keyleaks-summary.txt && grep -q 'Messages Scanned' /tmp/keyleaks-summary.txt && grep -q 'Leak Messages' /tmp/keyleaks-summary.txt && grep -q 'keyleaks month-wise-breakup' /tmp/keyleaks-summary.txt && rm -f /tmp/keyleaks-show-values.json /tmp/keyleaks-show-values.txt && node bin/keyleaks.js types --show-values --agent pi --output /tmp/keyleaks-show-values.json >/tmp/keyleaks-show-values.txt && grep -q '^Open file:[[:space:]]*file://' /tmp/keyleaks-show-values.txt && python3 -m json.tool /tmp/keyleaks-show-values.json >/dev/null && test $(stat -f %Lp /tmp/keyleaks-show-values.json 2>/dev/null || stat -c %a /tmp/keyleaks-show-values.json) = 600 && ! node bin/keyleaks.js --show-values >/tmp/keyleaks-invalid-show-values.txt 2>&1 && grep -q 'only supported' /tmp/keyleaks-invalid-show-values.txt && rm -f /tmp/keyleaks-show-values.json /tmp/keyleaks-show-values.txt /tmp/keyleaks-invalid-show-values.txt && node bin/keyleaks.js --agent codex >/tmp/keyleaks-codex.txt && grep -q '^Codex[[:space:]]' /tmp/keyleaks-codex.txt"
},
"engines": {
"node": ">=18"
}
}