heimdall-agent 1.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +57 -26
- package/README.pt-BR.md +429 -0
- package/agents/cloud-engineer.md +77 -0
- package/agents/code-sentinel.md +66 -35
- package/agents/database-architect.md +31 -25
- package/agents/frontend-designer.md +30 -28
- package/agents/mobile-designer.md +25 -24
- package/agents/modernizer.md +66 -0
- package/agents/orchestrator.md +94 -93
- package/agents/reviewer.md +100 -71
- package/agents/security-auditor.md +27 -27
- package/agents/tester.md +97 -90
- package/commands/grill-me.md +20 -4
- package/commands/orchestrate.md +16 -0
- package/commands/orchestrator.md +16 -0
- package/commands/plan.md +17 -1
- package/config/agents.json +21 -3
- package/config/mcp.json +72 -0
- package/config/models.json +26 -16
- package/config/profiles.json +2 -4
- package/config/skills.json +210 -100
- package/docs/SKILLS.md +341 -245
- package/docs/designs/old/2026-10-31 plan-lifecycle-backlog-and-clean-code-skill.md +87 -0
- package/docs/designs/old/2026-11-02 skill-upstream-audit-and-update.md +105 -0
- package/docs/designs/old/2026-11-05 communication-doctrine-bluf-ste.md +94 -0
- package/docs/designs/old/2026-11-06-cloud-engineer-and-resilience-synthesis.md +67 -0
- package/docs/designs/old/2026-11-06-herdr-native-agent-orchestration.md +45 -0
- package/docs/runs/skill-audit/add_progressive_disclosure.cjs +30 -0
- package/docs/runs/skill-audit/check_heimdall_skills.ps1 +9 -0
- package/docs/runs/skill-audit/compare_classics.ps1 +26 -0
- package/docs/runs/skill-audit/compare_taste.ps1 +12 -0
- package/docs/runs/skill-audit/customization-report.json +380 -0
- package/docs/runs/skill-audit/diff_pending_skills.cjs +94 -0
- package/docs/runs/skill-audit/fetch_and_apply_skill.cjs +58 -0
- package/docs/runs/skill-audit/fetch_and_apply_taste_v2.cjs +65 -0
- package/docs/runs/skill-audit/inspect_pending_skills.cjs +71 -0
- package/docs/runs/skill-audit/inventory.json +308 -0
- package/docs/runs/skill-audit/list_local_taste.ps1 +1 -0
- package/docs/runs/skill-audit/phase5-update-plan.json +595 -0
- package/docs/runs/skill-audit/phase5-update-plan.md +138 -0
- package/docs/runs/skill-audit/probe.ps1 +16 -0
- package/docs/runs/skill-audit/probe_classics_branches.ps1 +3 -0
- package/docs/runs/skill-audit/probe_commits.ps1 +15 -0
- package/docs/runs/skill-audit/probe_repos.ps1 +17 -0
- package/docs/runs/skill-audit/probe_sentry_sec.ps1 +3 -0
- package/docs/runs/skill-audit/probe_sentry_sweep.ps1 +5 -0
- package/docs/runs/skill-audit/probe_snyk.ps1 +3 -0
- package/docs/runs/skill-audit/probe_snyk_recipes.ps1 +5 -0
- package/docs/runs/skill-audit/probe_taste_branches.ps1 +8 -0
- package/docs/runs/skill-audit/probe_taste_v19.ps1 +3 -0
- package/docs/runs/skill-audit/probe_user_repos.ps1 +19 -0
- package/docs/runs/skill-audit/prune_taste_skills.cjs +22 -0
- package/docs/runs/skill-audit/run_phase1_2.cjs +142 -0
- package/docs/runs/skill-audit/run_phase6_verification.cjs +107 -0
- package/docs/runs/skill-audit/show_16_details.ps1 +25 -0
- package/docs/runs/skill-audit/show_20_skills.ps1 +28 -0
- package/docs/runs/skill-audit/show_classics_diff.cjs +37 -0
- package/docs/runs/skill-audit/sync_agent_markdowns.cjs +30 -0
- package/docs/runs/skill-audit/taste-skill-upstream.md +542 -0
- package/docs/runs/skill-audit/update-manifest.md +88 -0
- package/docs/runs/skill-audit/update_config_skills.cjs +52 -0
- package/docs/runs/skill-audit/update_registry_phase7.cjs +83 -0
- package/docs/runs/skill-audit/upstream-status.json +563 -0
- package/docs/runs/skill-audit/verification-results.json +252 -0
- package/doctrine/AGENTS.md +39 -77
- package/hooks/git/pre-commit +11 -0
- package/hooks/heimdall-hook.cjs +81 -2
- package/hooks/herdr-agent-state.ps1 +55 -0
- package/hooks/hooks.json +0 -11
- package/lib/catalog-sync.cjs +162 -0
- package/lib/hermes-context.cjs +57 -0
- package/lib/model-context.cjs +123 -0
- package/lib/path-discovery.cjs +94 -0
- package/package.json +7 -3
- package/playbooks/01-interactive-grilling-gate.md +14 -1
- package/playbooks/02-fast-code-deep-verification.md +3 -2
- package/playbooks/03-adversarial-code-review.md +3 -3
- package/playbooks/05-canonical-plan-template.md +32 -18
- package/playbooks/06-model-registry-matrix.md +24 -13
- package/playbooks/07-legacy-code-modernization.md +74 -0
- package/playbooks/08-backlog-and-change-request-flow.md +122 -0
- package/setup.mjs +592 -172
- package/skills/antislop/SKILL.md +76 -56
- package/skills/antislop/VERSION +1 -0
- package/skills/antislop-copywriting/SKILL.md +372 -372
- package/skills/antislop-human/LICENSE-web-quality-skills +21 -0
- package/skills/antislop-human/SKILL.md +204 -147
- package/skills/antislop-human/contrast-check.py +168 -165
- package/skills/antislop-human/contrast-mcp.py +6 -3
- package/skills/antislop-human/references/A11Y-PATTERNS.md +249 -0
- package/skills/antislop-human/references/WCAG.md +127 -0
- package/skills/antislop-ui/LICENSE-web-quality-skills +21 -0
- package/skills/antislop-ui/SKILL.md +344 -304
- package/skills/antislop-ui/references/CORE-WEB-VITALS.md +181 -0
- package/skills/antislop-ui/references/WEB-BASELINE.md +28 -0
- package/skills/brainstorming/SKILL.md +274 -265
- package/skills/brainstorming/builder-check-prompt.md +23 -0
- package/skills/brainstorming/scripts/frame-template.html +213 -213
- package/skills/brainstorming/scripts/server.cjs +723 -723
- package/skills/brandkit/SKILL.md +798 -798
- package/skills/brutalist-skill/SKILL.md +93 -92
- package/skills/caveman/README.md +68 -0
- package/skills/caveman/SKILL.md +73 -38
- package/skills/claude-collaborator/SKILL.md +24 -44
- package/skills/clean-code/SKILL.md +152 -0
- package/skills/cloudflare-security-audit/AI-AND-LLM.md +83 -83
- package/skills/cloudflare-security-audit/ATTACK-CLASSES.md +130 -130
- package/skills/cloudflare-security-audit/CLIENT-SIDE.md +83 -83
- package/skills/cloudflare-security-audit/CLOUD-AND-DEPLOYMENT.md +86 -86
- package/skills/cloudflare-security-audit/DATA-ISOLATION-AND-LIFECYCLE.md +84 -84
- package/skills/cloudflare-security-audit/DESKTOP-MOBILE-AND-LOCAL-IPC.md +89 -89
- package/skills/cloudflare-security-audit/HUNTING.md +251 -251
- package/skills/cloudflare-security-audit/MEMORY-SAFETY-AND-BINARY.md +101 -101
- package/skills/cloudflare-security-audit/PROTOCOLS-RPC-AND-MESSAGING.md +81 -81
- package/skills/cloudflare-security-audit/RECONNAISSANCE.md +156 -156
- package/skills/cloudflare-security-audit/RESOURCE-EXHAUSTION-AND-AVAILABILITY.md +78 -78
- package/skills/cloudflare-security-audit/SKILL.md +192 -192
- package/skills/cloudflare-security-audit/SUPPLY-CHAIN-AND-RELEASE.md +73 -73
- package/skills/cloudflare-security-audit/VALIDATION-AND-REPORTING.md +186 -186
- package/skills/cloudflare-security-audit/WEB-PROTOCOL-AND-AUTH.md +105 -105
- package/skills/cloudflare-security-audit/report-schema.json +461 -461
- package/skills/cloudflare-security-audit/validate-coverage-ledger.cjs +872 -872
- package/skills/cloudflare-security-audit/validate-coverage-ledger.test.cjs +740 -740
- package/skills/cloudflare-security-audit/validate-findings.cjs +773 -773
- package/skills/cloudflare-security-audit/validate-findings.test.cjs +652 -652
- package/skills/codex-collaborator/SKILL.md +24 -45
- package/skills/communication-doctrine/SKILL.md +89 -0
- package/skills/diagnosing-superpowers/SKILL.md +1 -1
- package/skills/diagnosing-superpowers/references/github-issues.md +3 -3
- package/skills/diagnosing-superpowers/templates/issue.md +23 -4
- package/skills/executing-plans/SKILL.md +0 -52
- package/skills/executing-plans/scripts/task-done +52 -52
- package/skills/executing-plans/scripts/task-start +28 -28
- package/skills/gemini-collaborator/SKILL.md +24 -56
- package/skills/herdr/SKILL.md +243 -0
- package/skills/image-to-code-skill/SKILL.md +1228 -1228
- package/skills/imagegen-frontend-mobile/SKILL.md +1465 -1465
- package/skills/imagegen-frontend-web/SKILL.md +987 -987
- package/skills/karpathy-guidelines/SKILL.md +67 -67
- package/skills/mcp-engineering/SKILL.md +74 -0
- package/skills/minimalist-skill/SKILL.md +87 -85
- package/skills/output-skill/SKILL.md +49 -49
- package/skills/ponytail/SKILL.md +36 -52
- package/skills/postgres-best-practices/SKILL.md +30 -52
- package/skills/postgres-best-practices/references/backup-restore.md +372 -0
- package/skills/postgres-best-practices/references/bulk-loading.md +315 -0
- package/skills/postgres-best-practices/references/connection-pooling.md +310 -0
- package/skills/postgres-best-practices/references/hot-standby.md +221 -0
- package/skills/postgres-best-practices/references/indexing.md +318 -0
- package/skills/postgres-best-practices/references/logical-replication.md +610 -0
- package/skills/postgres-best-practices/references/major-version-upgrades.md +334 -0
- package/skills/postgres-best-practices/references/performance-diagnostics.md +553 -0
- package/skills/postgres-best-practices/references/query-optimization.md +294 -0
- package/skills/postgres-best-practices/references/query-patterns.md +566 -0
- package/skills/postgres-best-practices/references/schema-design.md +362 -0
- package/skills/postgres-best-practices/references/security-roles.md +489 -0
- package/skills/postgres-best-practices/references/transaction-isolation.md +344 -0
- package/skills/progressive-disclosure/SKILL.md +68 -0
- package/skills/pstack-discipline/SKILL.md +40 -0
- package/skills/receiving-code-review/SKILL.md +2 -23
- package/skills/requesting-code-review/SKILL.md +7 -36
- package/skills/soft-skill/SKILL.md +99 -98
- package/skills/stitch-skill/DESIGN.md +121 -121
- package/skills/stitch-skill/SKILL.md +185 -184
- package/skills/strix-security/SKILL.md +54 -53
- package/skills/subagent-driven-development/SKILL.md +28 -260
- package/skills/subagent-driven-development/references/batching.md +11 -0
- package/skills/subagent-driven-development/references/cannot-verify.md +10 -0
- package/skills/subagent-driven-development/references/final-review.md +47 -0
- package/skills/subagent-driven-development/references/fix-loop.md +77 -0
- package/skills/subagent-driven-development/references/handling-reports.md +15 -0
- package/skills/subagent-driven-development/references/preflight.md +26 -0
- package/skills/subagent-driven-development/references/resuming.md +12 -0
- package/skills/subagent-driven-development/scripts/review-package +53 -53
- package/skills/subagent-driven-development/scripts/sdd-workspace +87 -82
- package/skills/subagent-driven-development/scripts/task-brief +43 -43
- package/skills/systematic-debugging/SKILL.md +283 -306
- package/skills/taste-skill/SKILL.md +542 -1206
- package/skills/taste-skill/references/app-screens.md +1199 -0
- package/skills/taste-skill/references/colour.md +141 -0
- package/skills/taste-skill/references/copy.md +177 -0
- package/skills/taste-skill/references/critique.md +182 -0
- package/skills/taste-skill/references/imagery.md +791 -0
- package/skills/taste-skill/references/layout.md +292 -0
- package/skills/taste-skill/references/motion.md +980 -0
- package/skills/taste-skill/references/research.md +356 -0
- package/skills/taste-skill/references/scenes.md +174 -0
- package/skills/taste-skill/references/tells.md +115 -0
- package/skills/taste-skill/references/type.md +170 -0
- package/skills/test-driven-development/SKILL.md +330 -337
- package/skills/thermo/SKILL.md +67 -0
- package/skills/threat-modeling/SKILL.md +55 -0
- package/skills/trailofbits-audit-context/SKILL.md +72 -72
- package/skills/trailofbits-insecure-defaults/commands/audit.md +35 -0
- package/skills/trailofbits-insecure-defaults/references/debug-features.json +13 -13
- package/skills/trailofbits-insecure-defaults/references/debug-features.md +75 -75
- package/skills/trailofbits-insecure-defaults/references/default-credentials.json +12 -12
- package/skills/trailofbits-insecure-defaults/references/default-credentials.md +76 -76
- package/skills/trailofbits-insecure-defaults/references/fail-open-security.json +11 -11
- package/skills/trailofbits-insecure-defaults/references/fail-open-security.md +70 -70
- package/skills/trailofbits-insecure-defaults/references/fallback-secrets.json +11 -11
- package/skills/trailofbits-insecure-defaults/references/fallback-secrets.md +70 -70
- package/skills/trailofbits-insecure-defaults/references/permissive-access.json +13 -13
- package/skills/trailofbits-insecure-defaults/references/permissive-access.md +62 -62
- package/skills/trailofbits-insecure-defaults/references/weak-crypto.json +13 -13
- package/skills/trailofbits-insecure-defaults/references/weak-crypto.md +71 -71
- package/skills/trailofbits-triage-brocards/SKILL.md +208 -208
- package/skills/verification-before-completion/SKILL.md +0 -14
- package/skills/writing-plans/SKILL.md +11 -15
- package/skills/writing-skills/SKILL.md +21 -303
- package/skills/writing-skills/references/CLAUDE_MD_TESTING.md +189 -0
- package/skills/writing-skills/references/anthropic-best-practices.md +1150 -0
- package/skills/writing-skills/references/bulletproofing.md +80 -0
- package/skills/writing-skills/references/discovery.md +201 -0
- package/skills/writing-skills/references/flowcharts.md +37 -0
- package/skills/writing-skills/references/graphviz-conventions.dot +172 -0
- package/skills/writing-skills/references/persuasion-principles.md +187 -0
- package/skills/writing-skills/references/testing-skills-with-subagents.md +384 -0
- package/tools/{claude-bridge.ps1 → archive/claude-bridge.ps1} +10 -7
- package/tools/{codex-bridge.ps1 → archive/codex-bridge.ps1} +1 -1
- package/tools/{gemini-bridge.ps1 → archive/gemini-bridge.ps1} +12 -19
- package/skills/gpt-tasteskill/SKILL.md +0 -74
- package/skills/taste-skill-v1/SKILL.md +0 -226
- /package/tools/{claude-bridge.cmd → archive/claude-bridge.cmd} +0 -0
- /package/tools/{claude-bridge.sh → archive/claude-bridge.sh} +0 -0
- /package/tools/{codex-bridge.cmd → archive/codex-bridge.cmd} +0 -0
- /package/tools/{codex-bridge.sh → archive/codex-bridge.sh} +0 -0
- /package/tools/{codexcli-bridge.cmd → archive/codexcli-bridge.cmd} +0 -0
- /package/tools/{codexcli-bridge.ps1 → archive/codexcli-bridge.ps1} +0 -0
- /package/tools/{gemini-bridge.cmd → archive/gemini-bridge.cmd} +0 -0
- /package/tools/{gemini-bridge.sh → archive/gemini-bridge.sh} +0 -0
|
@@ -1,461 +1,461 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$comment": "Top-level contract for findings.json. validate-findings.cjs interprets and checks this schema directly.",
|
|
3
|
-
"type": "array",
|
|
4
|
-
"items": {
|
|
5
|
-
"oneOf": [
|
|
6
|
-
{
|
|
7
|
-
"type": "object",
|
|
8
|
-
"description": "A source-grounded vulnerability that was independently demonstrated.",
|
|
9
|
-
"properties": {
|
|
10
|
-
"verdict": {
|
|
11
|
-
"type": "string",
|
|
12
|
-
"const": "confirmed"
|
|
13
|
-
},
|
|
14
|
-
"fingerprint": {
|
|
15
|
-
"type": "string",
|
|
16
|
-
"minLength": 1,
|
|
17
|
-
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:/@+-]*$",
|
|
18
|
-
"description": "A stable source-derived identifier that does not change between validation states."
|
|
19
|
-
},
|
|
20
|
-
"title": {
|
|
21
|
-
"type": "string",
|
|
22
|
-
"minLength": 1,
|
|
23
|
-
"visibleContent": true
|
|
24
|
-
},
|
|
25
|
-
"description": {
|
|
26
|
-
"type": "string",
|
|
27
|
-
"minLength": 1,
|
|
28
|
-
"visibleContent": true
|
|
29
|
-
},
|
|
30
|
-
"root_cause": {
|
|
31
|
-
"type": "string",
|
|
32
|
-
"minLength": 1,
|
|
33
|
-
"visibleContent": true
|
|
34
|
-
},
|
|
35
|
-
"intended_behavior": {
|
|
36
|
-
"type": "string",
|
|
37
|
-
"minLength": 1,
|
|
38
|
-
"visibleContent": true
|
|
39
|
-
},
|
|
40
|
-
"trace": {
|
|
41
|
-
"type": "array",
|
|
42
|
-
"minItems": 1,
|
|
43
|
-
"uniqueItems": true,
|
|
44
|
-
"items": {
|
|
45
|
-
"type": "object",
|
|
46
|
-
"properties": {
|
|
47
|
-
"kind": {
|
|
48
|
-
"type": "string",
|
|
49
|
-
"enum": ["entrypoint", "propagation", "sink"]
|
|
50
|
-
},
|
|
51
|
-
"file": {
|
|
52
|
-
"type": "string",
|
|
53
|
-
"minLength": 1
|
|
54
|
-
},
|
|
55
|
-
"line": {
|
|
56
|
-
"type": "integer",
|
|
57
|
-
"minimum": 1
|
|
58
|
-
},
|
|
59
|
-
"scope": {
|
|
60
|
-
"type": "string",
|
|
61
|
-
"minLength": 1,
|
|
62
|
-
"visibleContent": true
|
|
63
|
-
},
|
|
64
|
-
"description": {
|
|
65
|
-
"type": "string",
|
|
66
|
-
"minLength": 1,
|
|
67
|
-
"visibleContent": true
|
|
68
|
-
}
|
|
69
|
-
},
|
|
70
|
-
"required": ["kind", "file", "line", "scope", "description"],
|
|
71
|
-
"additionalProperties": false
|
|
72
|
-
}
|
|
73
|
-
},
|
|
74
|
-
"evidence": {
|
|
75
|
-
"type": "array",
|
|
76
|
-
"minItems": 1,
|
|
77
|
-
"uniqueItems": true,
|
|
78
|
-
"items": {
|
|
79
|
-
"type": "object",
|
|
80
|
-
"properties": {
|
|
81
|
-
"file": {
|
|
82
|
-
"type": "string",
|
|
83
|
-
"minLength": 1
|
|
84
|
-
},
|
|
85
|
-
"line": {
|
|
86
|
-
"type": "integer",
|
|
87
|
-
"minimum": 1
|
|
88
|
-
},
|
|
89
|
-
"description": {
|
|
90
|
-
"type": "string",
|
|
91
|
-
"minLength": 1,
|
|
92
|
-
"visibleContent": true
|
|
93
|
-
}
|
|
94
|
-
},
|
|
95
|
-
"required": ["file", "line", "description"],
|
|
96
|
-
"additionalProperties": false
|
|
97
|
-
}
|
|
98
|
-
},
|
|
99
|
-
"conditions": {
|
|
100
|
-
"type": "array",
|
|
101
|
-
"uniqueItems": true,
|
|
102
|
-
"items": {
|
|
103
|
-
"type": "object",
|
|
104
|
-
"properties": {
|
|
105
|
-
"kind": {
|
|
106
|
-
"type": "string",
|
|
107
|
-
"enum": ["authentication_level", "authorization_role", "user_interaction", "system_configuration", "network_routing", "environmental_dependency", "data_state", "timing_dependency", "third_party_dependency"]
|
|
108
|
-
},
|
|
109
|
-
"description": {
|
|
110
|
-
"type": "string",
|
|
111
|
-
"minLength": 1,
|
|
112
|
-
"visibleContent": true
|
|
113
|
-
}
|
|
114
|
-
},
|
|
115
|
-
"required": ["kind", "description"],
|
|
116
|
-
"additionalProperties": false
|
|
117
|
-
}
|
|
118
|
-
},
|
|
119
|
-
"execution": {
|
|
120
|
-
"type": "object",
|
|
121
|
-
"description": "Target-neutral reproduction in the target's native interface.",
|
|
122
|
-
"properties": {
|
|
123
|
-
"attacker_perspective": {
|
|
124
|
-
"type": "string",
|
|
125
|
-
"minLength": 1,
|
|
126
|
-
"visibleContent": true
|
|
127
|
-
},
|
|
128
|
-
"payloads": {
|
|
129
|
-
"type": "array",
|
|
130
|
-
"minItems": 1,
|
|
131
|
-
"uniqueItems": true,
|
|
132
|
-
"items": {
|
|
133
|
-
"type": "string"
|
|
134
|
-
}
|
|
135
|
-
},
|
|
136
|
-
"instructions": {
|
|
137
|
-
"type": "array",
|
|
138
|
-
"minItems": 1,
|
|
139
|
-
"items": {
|
|
140
|
-
"type": "string",
|
|
141
|
-
"minLength": 1,
|
|
142
|
-
"visibleContent": true
|
|
143
|
-
}
|
|
144
|
-
},
|
|
145
|
-
"observed_result": {
|
|
146
|
-
"type": "string",
|
|
147
|
-
"minLength": 1,
|
|
148
|
-
"visibleContent": true
|
|
149
|
-
}
|
|
150
|
-
},
|
|
151
|
-
"required": ["attacker_perspective", "payloads", "instructions", "observed_result"],
|
|
152
|
-
"additionalProperties": false
|
|
153
|
-
},
|
|
154
|
-
"remediation": {
|
|
155
|
-
"type": "object",
|
|
156
|
-
"properties": {
|
|
157
|
-
"strategy": {
|
|
158
|
-
"type": "string",
|
|
159
|
-
"minLength": 1,
|
|
160
|
-
"visibleContent": true
|
|
161
|
-
},
|
|
162
|
-
"code_changes": {
|
|
163
|
-
"type": "array",
|
|
164
|
-
"items": {
|
|
165
|
-
"type": "object",
|
|
166
|
-
"properties": {
|
|
167
|
-
"file_name": {
|
|
168
|
-
"type": "string",
|
|
169
|
-
"minLength": 1
|
|
170
|
-
},
|
|
171
|
-
"fixed_code": {
|
|
172
|
-
"type": "string"
|
|
173
|
-
}
|
|
174
|
-
},
|
|
175
|
-
"required": ["file_name", "fixed_code"],
|
|
176
|
-
"additionalProperties": false
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
},
|
|
180
|
-
"required": ["strategy"],
|
|
181
|
-
"additionalProperties": false
|
|
182
|
-
},
|
|
183
|
-
"severity": {
|
|
184
|
-
"type": "object",
|
|
185
|
-
"properties": {
|
|
186
|
-
"likelihood": {
|
|
187
|
-
"type": "object",
|
|
188
|
-
"properties": {
|
|
189
|
-
"score": {
|
|
190
|
-
"type": "string",
|
|
191
|
-
"enum": ["informational", "low", "medium", "high", "critical"]
|
|
192
|
-
},
|
|
193
|
-
"reason": {
|
|
194
|
-
"type": "string",
|
|
195
|
-
"minLength": 1,
|
|
196
|
-
"visibleContent": true
|
|
197
|
-
}
|
|
198
|
-
},
|
|
199
|
-
"required": ["score", "reason"],
|
|
200
|
-
"additionalProperties": false
|
|
201
|
-
},
|
|
202
|
-
"impact": {
|
|
203
|
-
"type": "object",
|
|
204
|
-
"properties": {
|
|
205
|
-
"score": {
|
|
206
|
-
"type": "string",
|
|
207
|
-
"enum": ["informational", "low", "medium", "high", "critical"]
|
|
208
|
-
},
|
|
209
|
-
"reason": {
|
|
210
|
-
"type": "string",
|
|
211
|
-
"minLength": 1,
|
|
212
|
-
"visibleContent": true
|
|
213
|
-
}
|
|
214
|
-
},
|
|
215
|
-
"required": ["score", "reason"],
|
|
216
|
-
"additionalProperties": false
|
|
217
|
-
},
|
|
218
|
-
"overall_severity": {
|
|
219
|
-
"type": "string",
|
|
220
|
-
"enum": ["informational", "low", "medium", "high", "critical"]
|
|
221
|
-
}
|
|
222
|
-
},
|
|
223
|
-
"required": ["likelihood", "impact", "overall_severity"],
|
|
224
|
-
"additionalProperties": false
|
|
225
|
-
},
|
|
226
|
-
"confidence": {
|
|
227
|
-
"type": "object",
|
|
228
|
-
"properties": {
|
|
229
|
-
"score": {
|
|
230
|
-
"type": "string",
|
|
231
|
-
"enum": ["low", "medium", "high"]
|
|
232
|
-
},
|
|
233
|
-
"reason": {
|
|
234
|
-
"type": "string",
|
|
235
|
-
"minLength": 1,
|
|
236
|
-
"visibleContent": true
|
|
237
|
-
}
|
|
238
|
-
},
|
|
239
|
-
"required": ["score", "reason"],
|
|
240
|
-
"additionalProperties": false
|
|
241
|
-
}
|
|
242
|
-
},
|
|
243
|
-
"required": ["verdict", "fingerprint", "title", "description", "root_cause", "intended_behavior", "trace", "evidence", "conditions", "execution", "remediation", "severity", "confidence"],
|
|
244
|
-
"additionalProperties": false
|
|
245
|
-
},
|
|
246
|
-
{
|
|
247
|
-
"type": "object",
|
|
248
|
-
"description": "A source-grounded candidate whose decisive validation is blocked.",
|
|
249
|
-
"properties": {
|
|
250
|
-
"verdict": {
|
|
251
|
-
"type": "string",
|
|
252
|
-
"const": "needs_validation"
|
|
253
|
-
},
|
|
254
|
-
"fingerprint": {
|
|
255
|
-
"type": "string",
|
|
256
|
-
"minLength": 1,
|
|
257
|
-
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:/@+-]*$"
|
|
258
|
-
},
|
|
259
|
-
"title": {
|
|
260
|
-
"type": "string",
|
|
261
|
-
"minLength": 1,
|
|
262
|
-
"visibleContent": true
|
|
263
|
-
},
|
|
264
|
-
"description": {
|
|
265
|
-
"type": "string",
|
|
266
|
-
"minLength": 1,
|
|
267
|
-
"visibleContent": true
|
|
268
|
-
},
|
|
269
|
-
"claimed_root_cause": {
|
|
270
|
-
"type": "string",
|
|
271
|
-
"minLength": 1,
|
|
272
|
-
"visibleContent": true
|
|
273
|
-
},
|
|
274
|
-
"trace": {
|
|
275
|
-
"type": "array",
|
|
276
|
-
"minItems": 1,
|
|
277
|
-
"uniqueItems": true,
|
|
278
|
-
"items": {
|
|
279
|
-
"type": "object",
|
|
280
|
-
"properties": {
|
|
281
|
-
"kind": {
|
|
282
|
-
"type": "string",
|
|
283
|
-
"enum": ["entrypoint", "propagation", "sink"]
|
|
284
|
-
},
|
|
285
|
-
"file": {
|
|
286
|
-
"type": "string",
|
|
287
|
-
"minLength": 1
|
|
288
|
-
},
|
|
289
|
-
"line": {
|
|
290
|
-
"type": "integer",
|
|
291
|
-
"minimum": 1
|
|
292
|
-
},
|
|
293
|
-
"scope": {
|
|
294
|
-
"type": "string",
|
|
295
|
-
"minLength": 1,
|
|
296
|
-
"visibleContent": true
|
|
297
|
-
},
|
|
298
|
-
"description": {
|
|
299
|
-
"type": "string",
|
|
300
|
-
"minLength": 1,
|
|
301
|
-
"visibleContent": true
|
|
302
|
-
}
|
|
303
|
-
},
|
|
304
|
-
"required": ["kind", "file", "line", "scope", "description"],
|
|
305
|
-
"additionalProperties": false
|
|
306
|
-
}
|
|
307
|
-
},
|
|
308
|
-
"evidence": {
|
|
309
|
-
"type": "array",
|
|
310
|
-
"minItems": 1,
|
|
311
|
-
"uniqueItems": true,
|
|
312
|
-
"items": {
|
|
313
|
-
"type": "object",
|
|
314
|
-
"properties": {
|
|
315
|
-
"file": {
|
|
316
|
-
"type": "string",
|
|
317
|
-
"minLength": 1
|
|
318
|
-
},
|
|
319
|
-
"line": {
|
|
320
|
-
"type": "integer",
|
|
321
|
-
"minimum": 1
|
|
322
|
-
},
|
|
323
|
-
"description": {
|
|
324
|
-
"type": "string",
|
|
325
|
-
"minLength": 1,
|
|
326
|
-
"visibleContent": true
|
|
327
|
-
}
|
|
328
|
-
},
|
|
329
|
-
"required": ["file", "line", "description"],
|
|
330
|
-
"additionalProperties": false
|
|
331
|
-
}
|
|
332
|
-
},
|
|
333
|
-
"blockers": {
|
|
334
|
-
"type": "array",
|
|
335
|
-
"minItems": 1,
|
|
336
|
-
"uniqueItems": true,
|
|
337
|
-
"items": {
|
|
338
|
-
"type": "string",
|
|
339
|
-
"minLength": 1,
|
|
340
|
-
"visibleContent": true
|
|
341
|
-
}
|
|
342
|
-
},
|
|
343
|
-
"validation_plan": {
|
|
344
|
-
"type": "object",
|
|
345
|
-
"properties": {
|
|
346
|
-
"local": {
|
|
347
|
-
"type": "string",
|
|
348
|
-
"minLength": 1,
|
|
349
|
-
"visibleContent": true
|
|
350
|
-
},
|
|
351
|
-
"deployment": {
|
|
352
|
-
"type": "string",
|
|
353
|
-
"minLength": 1,
|
|
354
|
-
"visibleContent": true
|
|
355
|
-
}
|
|
356
|
-
},
|
|
357
|
-
"additionalProperties": false
|
|
358
|
-
}
|
|
359
|
-
},
|
|
360
|
-
"required": ["verdict", "fingerprint", "title", "description", "claimed_root_cause", "trace", "evidence", "blockers", "validation_plan"],
|
|
361
|
-
"additionalProperties": false
|
|
362
|
-
},
|
|
363
|
-
{
|
|
364
|
-
"type": "object",
|
|
365
|
-
"description": "A source-grounded candidate refuted during validation.",
|
|
366
|
-
"properties": {
|
|
367
|
-
"verdict": {
|
|
368
|
-
"type": "string",
|
|
369
|
-
"const": "rejected"
|
|
370
|
-
},
|
|
371
|
-
"fingerprint": {
|
|
372
|
-
"type": "string",
|
|
373
|
-
"minLength": 1,
|
|
374
|
-
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:/@+-]*$"
|
|
375
|
-
},
|
|
376
|
-
"title": {
|
|
377
|
-
"type": "string",
|
|
378
|
-
"minLength": 1,
|
|
379
|
-
"visibleContent": true
|
|
380
|
-
},
|
|
381
|
-
"description": {
|
|
382
|
-
"type": "string",
|
|
383
|
-
"minLength": 1,
|
|
384
|
-
"visibleContent": true
|
|
385
|
-
},
|
|
386
|
-
"claimed_root_cause": {
|
|
387
|
-
"type": "string",
|
|
388
|
-
"minLength": 1,
|
|
389
|
-
"visibleContent": true
|
|
390
|
-
},
|
|
391
|
-
"trace": {
|
|
392
|
-
"type": "array",
|
|
393
|
-
"minItems": 1,
|
|
394
|
-
"uniqueItems": true,
|
|
395
|
-
"items": {
|
|
396
|
-
"type": "object",
|
|
397
|
-
"properties": {
|
|
398
|
-
"kind": {
|
|
399
|
-
"type": "string",
|
|
400
|
-
"enum": ["entrypoint", "propagation", "sink"]
|
|
401
|
-
},
|
|
402
|
-
"file": {
|
|
403
|
-
"type": "string",
|
|
404
|
-
"minLength": 1
|
|
405
|
-
},
|
|
406
|
-
"line": {
|
|
407
|
-
"type": "integer",
|
|
408
|
-
"minimum": 1
|
|
409
|
-
},
|
|
410
|
-
"scope": {
|
|
411
|
-
"type": "string",
|
|
412
|
-
"minLength": 1,
|
|
413
|
-
"visibleContent": true
|
|
414
|
-
},
|
|
415
|
-
"description": {
|
|
416
|
-
"type": "string",
|
|
417
|
-
"minLength": 1,
|
|
418
|
-
"visibleContent": true
|
|
419
|
-
}
|
|
420
|
-
},
|
|
421
|
-
"required": ["kind", "file", "line", "scope", "description"],
|
|
422
|
-
"additionalProperties": false
|
|
423
|
-
}
|
|
424
|
-
},
|
|
425
|
-
"evidence": {
|
|
426
|
-
"type": "array",
|
|
427
|
-
"minItems": 1,
|
|
428
|
-
"uniqueItems": true,
|
|
429
|
-
"items": {
|
|
430
|
-
"type": "object",
|
|
431
|
-
"properties": {
|
|
432
|
-
"file": {
|
|
433
|
-
"type": "string",
|
|
434
|
-
"minLength": 1
|
|
435
|
-
},
|
|
436
|
-
"line": {
|
|
437
|
-
"type": "integer",
|
|
438
|
-
"minimum": 1
|
|
439
|
-
},
|
|
440
|
-
"description": {
|
|
441
|
-
"type": "string",
|
|
442
|
-
"minLength": 1,
|
|
443
|
-
"visibleContent": true
|
|
444
|
-
}
|
|
445
|
-
},
|
|
446
|
-
"required": ["file", "line", "description"],
|
|
447
|
-
"additionalProperties": false
|
|
448
|
-
}
|
|
449
|
-
},
|
|
450
|
-
"reason": {
|
|
451
|
-
"type": "string",
|
|
452
|
-
"minLength": 1,
|
|
453
|
-
"visibleContent": true
|
|
454
|
-
}
|
|
455
|
-
},
|
|
456
|
-
"required": ["verdict", "fingerprint", "title", "description", "claimed_root_cause", "trace", "evidence", "reason"],
|
|
457
|
-
"additionalProperties": false
|
|
458
|
-
}
|
|
459
|
-
]
|
|
460
|
-
}
|
|
461
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"$comment": "Top-level contract for findings.json. validate-findings.cjs interprets and checks this schema directly.",
|
|
3
|
+
"type": "array",
|
|
4
|
+
"items": {
|
|
5
|
+
"oneOf": [
|
|
6
|
+
{
|
|
7
|
+
"type": "object",
|
|
8
|
+
"description": "A source-grounded vulnerability that was independently demonstrated.",
|
|
9
|
+
"properties": {
|
|
10
|
+
"verdict": {
|
|
11
|
+
"type": "string",
|
|
12
|
+
"const": "confirmed"
|
|
13
|
+
},
|
|
14
|
+
"fingerprint": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"minLength": 1,
|
|
17
|
+
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:/@+-]*$",
|
|
18
|
+
"description": "A stable source-derived identifier that does not change between validation states."
|
|
19
|
+
},
|
|
20
|
+
"title": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"minLength": 1,
|
|
23
|
+
"visibleContent": true
|
|
24
|
+
},
|
|
25
|
+
"description": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"minLength": 1,
|
|
28
|
+
"visibleContent": true
|
|
29
|
+
},
|
|
30
|
+
"root_cause": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"minLength": 1,
|
|
33
|
+
"visibleContent": true
|
|
34
|
+
},
|
|
35
|
+
"intended_behavior": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"minLength": 1,
|
|
38
|
+
"visibleContent": true
|
|
39
|
+
},
|
|
40
|
+
"trace": {
|
|
41
|
+
"type": "array",
|
|
42
|
+
"minItems": 1,
|
|
43
|
+
"uniqueItems": true,
|
|
44
|
+
"items": {
|
|
45
|
+
"type": "object",
|
|
46
|
+
"properties": {
|
|
47
|
+
"kind": {
|
|
48
|
+
"type": "string",
|
|
49
|
+
"enum": ["entrypoint", "propagation", "sink"]
|
|
50
|
+
},
|
|
51
|
+
"file": {
|
|
52
|
+
"type": "string",
|
|
53
|
+
"minLength": 1
|
|
54
|
+
},
|
|
55
|
+
"line": {
|
|
56
|
+
"type": "integer",
|
|
57
|
+
"minimum": 1
|
|
58
|
+
},
|
|
59
|
+
"scope": {
|
|
60
|
+
"type": "string",
|
|
61
|
+
"minLength": 1,
|
|
62
|
+
"visibleContent": true
|
|
63
|
+
},
|
|
64
|
+
"description": {
|
|
65
|
+
"type": "string",
|
|
66
|
+
"minLength": 1,
|
|
67
|
+
"visibleContent": true
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"required": ["kind", "file", "line", "scope", "description"],
|
|
71
|
+
"additionalProperties": false
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"evidence": {
|
|
75
|
+
"type": "array",
|
|
76
|
+
"minItems": 1,
|
|
77
|
+
"uniqueItems": true,
|
|
78
|
+
"items": {
|
|
79
|
+
"type": "object",
|
|
80
|
+
"properties": {
|
|
81
|
+
"file": {
|
|
82
|
+
"type": "string",
|
|
83
|
+
"minLength": 1
|
|
84
|
+
},
|
|
85
|
+
"line": {
|
|
86
|
+
"type": "integer",
|
|
87
|
+
"minimum": 1
|
|
88
|
+
},
|
|
89
|
+
"description": {
|
|
90
|
+
"type": "string",
|
|
91
|
+
"minLength": 1,
|
|
92
|
+
"visibleContent": true
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
"required": ["file", "line", "description"],
|
|
96
|
+
"additionalProperties": false
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
"conditions": {
|
|
100
|
+
"type": "array",
|
|
101
|
+
"uniqueItems": true,
|
|
102
|
+
"items": {
|
|
103
|
+
"type": "object",
|
|
104
|
+
"properties": {
|
|
105
|
+
"kind": {
|
|
106
|
+
"type": "string",
|
|
107
|
+
"enum": ["authentication_level", "authorization_role", "user_interaction", "system_configuration", "network_routing", "environmental_dependency", "data_state", "timing_dependency", "third_party_dependency"]
|
|
108
|
+
},
|
|
109
|
+
"description": {
|
|
110
|
+
"type": "string",
|
|
111
|
+
"minLength": 1,
|
|
112
|
+
"visibleContent": true
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
"required": ["kind", "description"],
|
|
116
|
+
"additionalProperties": false
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
"execution": {
|
|
120
|
+
"type": "object",
|
|
121
|
+
"description": "Target-neutral reproduction in the target's native interface.",
|
|
122
|
+
"properties": {
|
|
123
|
+
"attacker_perspective": {
|
|
124
|
+
"type": "string",
|
|
125
|
+
"minLength": 1,
|
|
126
|
+
"visibleContent": true
|
|
127
|
+
},
|
|
128
|
+
"payloads": {
|
|
129
|
+
"type": "array",
|
|
130
|
+
"minItems": 1,
|
|
131
|
+
"uniqueItems": true,
|
|
132
|
+
"items": {
|
|
133
|
+
"type": "string"
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
"instructions": {
|
|
137
|
+
"type": "array",
|
|
138
|
+
"minItems": 1,
|
|
139
|
+
"items": {
|
|
140
|
+
"type": "string",
|
|
141
|
+
"minLength": 1,
|
|
142
|
+
"visibleContent": true
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
"observed_result": {
|
|
146
|
+
"type": "string",
|
|
147
|
+
"minLength": 1,
|
|
148
|
+
"visibleContent": true
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
"required": ["attacker_perspective", "payloads", "instructions", "observed_result"],
|
|
152
|
+
"additionalProperties": false
|
|
153
|
+
},
|
|
154
|
+
"remediation": {
|
|
155
|
+
"type": "object",
|
|
156
|
+
"properties": {
|
|
157
|
+
"strategy": {
|
|
158
|
+
"type": "string",
|
|
159
|
+
"minLength": 1,
|
|
160
|
+
"visibleContent": true
|
|
161
|
+
},
|
|
162
|
+
"code_changes": {
|
|
163
|
+
"type": "array",
|
|
164
|
+
"items": {
|
|
165
|
+
"type": "object",
|
|
166
|
+
"properties": {
|
|
167
|
+
"file_name": {
|
|
168
|
+
"type": "string",
|
|
169
|
+
"minLength": 1
|
|
170
|
+
},
|
|
171
|
+
"fixed_code": {
|
|
172
|
+
"type": "string"
|
|
173
|
+
}
|
|
174
|
+
},
|
|
175
|
+
"required": ["file_name", "fixed_code"],
|
|
176
|
+
"additionalProperties": false
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
},
|
|
180
|
+
"required": ["strategy"],
|
|
181
|
+
"additionalProperties": false
|
|
182
|
+
},
|
|
183
|
+
"severity": {
|
|
184
|
+
"type": "object",
|
|
185
|
+
"properties": {
|
|
186
|
+
"likelihood": {
|
|
187
|
+
"type": "object",
|
|
188
|
+
"properties": {
|
|
189
|
+
"score": {
|
|
190
|
+
"type": "string",
|
|
191
|
+
"enum": ["informational", "low", "medium", "high", "critical"]
|
|
192
|
+
},
|
|
193
|
+
"reason": {
|
|
194
|
+
"type": "string",
|
|
195
|
+
"minLength": 1,
|
|
196
|
+
"visibleContent": true
|
|
197
|
+
}
|
|
198
|
+
},
|
|
199
|
+
"required": ["score", "reason"],
|
|
200
|
+
"additionalProperties": false
|
|
201
|
+
},
|
|
202
|
+
"impact": {
|
|
203
|
+
"type": "object",
|
|
204
|
+
"properties": {
|
|
205
|
+
"score": {
|
|
206
|
+
"type": "string",
|
|
207
|
+
"enum": ["informational", "low", "medium", "high", "critical"]
|
|
208
|
+
},
|
|
209
|
+
"reason": {
|
|
210
|
+
"type": "string",
|
|
211
|
+
"minLength": 1,
|
|
212
|
+
"visibleContent": true
|
|
213
|
+
}
|
|
214
|
+
},
|
|
215
|
+
"required": ["score", "reason"],
|
|
216
|
+
"additionalProperties": false
|
|
217
|
+
},
|
|
218
|
+
"overall_severity": {
|
|
219
|
+
"type": "string",
|
|
220
|
+
"enum": ["informational", "low", "medium", "high", "critical"]
|
|
221
|
+
}
|
|
222
|
+
},
|
|
223
|
+
"required": ["likelihood", "impact", "overall_severity"],
|
|
224
|
+
"additionalProperties": false
|
|
225
|
+
},
|
|
226
|
+
"confidence": {
|
|
227
|
+
"type": "object",
|
|
228
|
+
"properties": {
|
|
229
|
+
"score": {
|
|
230
|
+
"type": "string",
|
|
231
|
+
"enum": ["low", "medium", "high"]
|
|
232
|
+
},
|
|
233
|
+
"reason": {
|
|
234
|
+
"type": "string",
|
|
235
|
+
"minLength": 1,
|
|
236
|
+
"visibleContent": true
|
|
237
|
+
}
|
|
238
|
+
},
|
|
239
|
+
"required": ["score", "reason"],
|
|
240
|
+
"additionalProperties": false
|
|
241
|
+
}
|
|
242
|
+
},
|
|
243
|
+
"required": ["verdict", "fingerprint", "title", "description", "root_cause", "intended_behavior", "trace", "evidence", "conditions", "execution", "remediation", "severity", "confidence"],
|
|
244
|
+
"additionalProperties": false
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"type": "object",
|
|
248
|
+
"description": "A source-grounded candidate whose decisive validation is blocked.",
|
|
249
|
+
"properties": {
|
|
250
|
+
"verdict": {
|
|
251
|
+
"type": "string",
|
|
252
|
+
"const": "needs_validation"
|
|
253
|
+
},
|
|
254
|
+
"fingerprint": {
|
|
255
|
+
"type": "string",
|
|
256
|
+
"minLength": 1,
|
|
257
|
+
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:/@+-]*$"
|
|
258
|
+
},
|
|
259
|
+
"title": {
|
|
260
|
+
"type": "string",
|
|
261
|
+
"minLength": 1,
|
|
262
|
+
"visibleContent": true
|
|
263
|
+
},
|
|
264
|
+
"description": {
|
|
265
|
+
"type": "string",
|
|
266
|
+
"minLength": 1,
|
|
267
|
+
"visibleContent": true
|
|
268
|
+
},
|
|
269
|
+
"claimed_root_cause": {
|
|
270
|
+
"type": "string",
|
|
271
|
+
"minLength": 1,
|
|
272
|
+
"visibleContent": true
|
|
273
|
+
},
|
|
274
|
+
"trace": {
|
|
275
|
+
"type": "array",
|
|
276
|
+
"minItems": 1,
|
|
277
|
+
"uniqueItems": true,
|
|
278
|
+
"items": {
|
|
279
|
+
"type": "object",
|
|
280
|
+
"properties": {
|
|
281
|
+
"kind": {
|
|
282
|
+
"type": "string",
|
|
283
|
+
"enum": ["entrypoint", "propagation", "sink"]
|
|
284
|
+
},
|
|
285
|
+
"file": {
|
|
286
|
+
"type": "string",
|
|
287
|
+
"minLength": 1
|
|
288
|
+
},
|
|
289
|
+
"line": {
|
|
290
|
+
"type": "integer",
|
|
291
|
+
"minimum": 1
|
|
292
|
+
},
|
|
293
|
+
"scope": {
|
|
294
|
+
"type": "string",
|
|
295
|
+
"minLength": 1,
|
|
296
|
+
"visibleContent": true
|
|
297
|
+
},
|
|
298
|
+
"description": {
|
|
299
|
+
"type": "string",
|
|
300
|
+
"minLength": 1,
|
|
301
|
+
"visibleContent": true
|
|
302
|
+
}
|
|
303
|
+
},
|
|
304
|
+
"required": ["kind", "file", "line", "scope", "description"],
|
|
305
|
+
"additionalProperties": false
|
|
306
|
+
}
|
|
307
|
+
},
|
|
308
|
+
"evidence": {
|
|
309
|
+
"type": "array",
|
|
310
|
+
"minItems": 1,
|
|
311
|
+
"uniqueItems": true,
|
|
312
|
+
"items": {
|
|
313
|
+
"type": "object",
|
|
314
|
+
"properties": {
|
|
315
|
+
"file": {
|
|
316
|
+
"type": "string",
|
|
317
|
+
"minLength": 1
|
|
318
|
+
},
|
|
319
|
+
"line": {
|
|
320
|
+
"type": "integer",
|
|
321
|
+
"minimum": 1
|
|
322
|
+
},
|
|
323
|
+
"description": {
|
|
324
|
+
"type": "string",
|
|
325
|
+
"minLength": 1,
|
|
326
|
+
"visibleContent": true
|
|
327
|
+
}
|
|
328
|
+
},
|
|
329
|
+
"required": ["file", "line", "description"],
|
|
330
|
+
"additionalProperties": false
|
|
331
|
+
}
|
|
332
|
+
},
|
|
333
|
+
"blockers": {
|
|
334
|
+
"type": "array",
|
|
335
|
+
"minItems": 1,
|
|
336
|
+
"uniqueItems": true,
|
|
337
|
+
"items": {
|
|
338
|
+
"type": "string",
|
|
339
|
+
"minLength": 1,
|
|
340
|
+
"visibleContent": true
|
|
341
|
+
}
|
|
342
|
+
},
|
|
343
|
+
"validation_plan": {
|
|
344
|
+
"type": "object",
|
|
345
|
+
"properties": {
|
|
346
|
+
"local": {
|
|
347
|
+
"type": "string",
|
|
348
|
+
"minLength": 1,
|
|
349
|
+
"visibleContent": true
|
|
350
|
+
},
|
|
351
|
+
"deployment": {
|
|
352
|
+
"type": "string",
|
|
353
|
+
"minLength": 1,
|
|
354
|
+
"visibleContent": true
|
|
355
|
+
}
|
|
356
|
+
},
|
|
357
|
+
"additionalProperties": false
|
|
358
|
+
}
|
|
359
|
+
},
|
|
360
|
+
"required": ["verdict", "fingerprint", "title", "description", "claimed_root_cause", "trace", "evidence", "blockers", "validation_plan"],
|
|
361
|
+
"additionalProperties": false
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
"type": "object",
|
|
365
|
+
"description": "A source-grounded candidate refuted during validation.",
|
|
366
|
+
"properties": {
|
|
367
|
+
"verdict": {
|
|
368
|
+
"type": "string",
|
|
369
|
+
"const": "rejected"
|
|
370
|
+
},
|
|
371
|
+
"fingerprint": {
|
|
372
|
+
"type": "string",
|
|
373
|
+
"minLength": 1,
|
|
374
|
+
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:/@+-]*$"
|
|
375
|
+
},
|
|
376
|
+
"title": {
|
|
377
|
+
"type": "string",
|
|
378
|
+
"minLength": 1,
|
|
379
|
+
"visibleContent": true
|
|
380
|
+
},
|
|
381
|
+
"description": {
|
|
382
|
+
"type": "string",
|
|
383
|
+
"minLength": 1,
|
|
384
|
+
"visibleContent": true
|
|
385
|
+
},
|
|
386
|
+
"claimed_root_cause": {
|
|
387
|
+
"type": "string",
|
|
388
|
+
"minLength": 1,
|
|
389
|
+
"visibleContent": true
|
|
390
|
+
},
|
|
391
|
+
"trace": {
|
|
392
|
+
"type": "array",
|
|
393
|
+
"minItems": 1,
|
|
394
|
+
"uniqueItems": true,
|
|
395
|
+
"items": {
|
|
396
|
+
"type": "object",
|
|
397
|
+
"properties": {
|
|
398
|
+
"kind": {
|
|
399
|
+
"type": "string",
|
|
400
|
+
"enum": ["entrypoint", "propagation", "sink"]
|
|
401
|
+
},
|
|
402
|
+
"file": {
|
|
403
|
+
"type": "string",
|
|
404
|
+
"minLength": 1
|
|
405
|
+
},
|
|
406
|
+
"line": {
|
|
407
|
+
"type": "integer",
|
|
408
|
+
"minimum": 1
|
|
409
|
+
},
|
|
410
|
+
"scope": {
|
|
411
|
+
"type": "string",
|
|
412
|
+
"minLength": 1,
|
|
413
|
+
"visibleContent": true
|
|
414
|
+
},
|
|
415
|
+
"description": {
|
|
416
|
+
"type": "string",
|
|
417
|
+
"minLength": 1,
|
|
418
|
+
"visibleContent": true
|
|
419
|
+
}
|
|
420
|
+
},
|
|
421
|
+
"required": ["kind", "file", "line", "scope", "description"],
|
|
422
|
+
"additionalProperties": false
|
|
423
|
+
}
|
|
424
|
+
},
|
|
425
|
+
"evidence": {
|
|
426
|
+
"type": "array",
|
|
427
|
+
"minItems": 1,
|
|
428
|
+
"uniqueItems": true,
|
|
429
|
+
"items": {
|
|
430
|
+
"type": "object",
|
|
431
|
+
"properties": {
|
|
432
|
+
"file": {
|
|
433
|
+
"type": "string",
|
|
434
|
+
"minLength": 1
|
|
435
|
+
},
|
|
436
|
+
"line": {
|
|
437
|
+
"type": "integer",
|
|
438
|
+
"minimum": 1
|
|
439
|
+
},
|
|
440
|
+
"description": {
|
|
441
|
+
"type": "string",
|
|
442
|
+
"minLength": 1,
|
|
443
|
+
"visibleContent": true
|
|
444
|
+
}
|
|
445
|
+
},
|
|
446
|
+
"required": ["file", "line", "description"],
|
|
447
|
+
"additionalProperties": false
|
|
448
|
+
}
|
|
449
|
+
},
|
|
450
|
+
"reason": {
|
|
451
|
+
"type": "string",
|
|
452
|
+
"minLength": 1,
|
|
453
|
+
"visibleContent": true
|
|
454
|
+
}
|
|
455
|
+
},
|
|
456
|
+
"required": ["verdict", "fingerprint", "title", "description", "claimed_root_cause", "trace", "evidence", "reason"],
|
|
457
|
+
"additionalProperties": false
|
|
458
|
+
}
|
|
459
|
+
]
|
|
460
|
+
}
|
|
461
|
+
}
|