Security: historical exploit replay matrix [SEC-D01] (#406) #935
No reviewers
Labels
No labels
agent:fix_bugfix
agent:fix_conflicts
agent:fix_security
agent:gap_analysis
agent:implement
agent:implement
agent:implement
agent:open_issues
agent:ready
agent:research
agent:security_audit
agent:verify
architecture
backend
blocker:hybrid
blocker:launch
blocker:limit-orders
blocker:v2
block:log_only
block:security
bug
ci
contracts
correctness
deploy
dev
devops
docs
documentation
duplicate
e2e
enhancement
epic
feature
frontend
functional-completion
gas
good first issue
governance
help wanted
high-risk
hooks
hybrid
indexer
infra
infrastructure
integrators
invalid
launch-blocker
limit-orders
localnet
localterra
low priority
missing-implementation
needs-design
ops
performance
priority
high
priority
medium
product
qa
QA
question
ready
ready
research
scripts
security
security-hardening
smartcontracts
tech-debt
testing
ux
UX
v2
verification
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
code/cl8y-dex-terraclassic!935
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "issue-406-exploit-replay-matrix"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Adds
docs/exploit-replay-matrix.md— a committed table mapping SEC-D02–D12 historical Cosmos/CosmWasm incidents (Terra IBC-hooks, Osmosis LP-share, Levana oracle timing, malicious CW20, fake pair indexing, SQL injection, LCD amplification, admin key compromise, wallet phishing, stale deploy) to CL8Y surfaces, mitigations, and verification links.Cross-links from
docs/contracts-security-audit.mdanddocs/security-model.md. Agent playbookskills/AGENTS_EXPLOIT_REPLAY_MATRIX.mdand drift guardmake check-exploit-replay-matrix-docs(wired intomake lint).Tied to #406 / parent checklist #381.
Acceptance checklist
docs/exploit-replay-matrix.mdcommitted with SEC-D02–D12 rowsgrep SEC-D0 docs/exploit-replay-matrix.mdmake check-exploit-replay-matrix-docsdocs/contracts-security-audit.mdexploit-replay-matrixdocs/security-model.mdexploit-replay-matrixThird-party verification
Open
docs/exploit-replay-matrix.mdand confirm 11 data rows (SEC-D02 through SEC-D12) with verification links.Blockers / SKIP
None for SEC-D01 scope. Rows SEC-D02, SEC-D10, and SEC-D12 note partial ops coverage with open follow-ups (#407, #408, #410).
Security review — MR !935
Commit reviewed:
74c66522ed93a5c6189afd8b9e4e0d53bdc5c571Scope: Documentation and CI drift guard only —
docs/exploit-replay-matrix.md, cross-links indocs/contracts-security-audit.mdanddocs/security-model.md, agent playbookskills/AGENTS_EXPLOIT_REPLAY_MATRIX.md,scripts/check_exploit_replay_matrix_docs.py,Makefilelint wiring. No smart contract, indexer API, frontend runtime, or deploy script logic changes.Method: Full diff vs
origin/main; traced attacker-controlled input to sinks for the new Python checker; spot-checked matrix mitigation claims against referenced test/runbook paths (no exploitability proof required for unchanged runtime code per review charter).Outcome:
FINDINGS: 0medium+Security review: no medium+ findings on this diff.
Inline threads: none (no findings to anchor).
Areas examined
Pathconstants, no subprocess/eval/network, no external inputThe drift guard (
make check-exploit-replay-matrix-docs) passed locally on the reviewed SHA.added 11 commits
main7c3b7029- Merge branch 'main' into issue-406-exploit-replay-matrixCompare with previous version
Resolved merge conflicts with
main(Makefile only)..PHONYto include bothcheck-exploit-replay-matrix-docs(this MR) andcheck-governance-emergency-rehearsal-docs/rehearse-governance-emergency(from main).linttarget to run both doc drift checks.Sanity:
make check-exploit-replay-matrix-docsandmake check-governance-emergency-rehearsal-docspass locally.Security review — MR !935
Commit reviewed:
7c3b702965f9fdb8d13d71ccd6348d5bc9f54ccdScope: Documentation and CI drift guard only —
docs/exploit-replay-matrix.md, cross-links indocs/contracts-security-audit.mdanddocs/security-model.md, agent playbookskills/AGENTS_EXPLOIT_REPLAY_MATRIX.md,scripts/check_exploit_replay_matrix_docs.py,Makefilelint wiring. No smart contract, indexer API, frontend runtime, or deploy script logic changes.Delta since prior review (
74c66522): merge ofmaininto the feature branch; Makefile conflict resolution only (addscheck-exploit-replay-matrix-docsalongside existing governance-emergency doc checks). No new runtime surfaces.Method: Full diff
e9d32c9b..7c3b7029; traced attacker-controlled input to sinks for the new Python checker; compared drift-guard pattern to existing doc-check scripts; spot-checked matrix mitigation/verification references (documentation accuracy only — unchanged runtime code not re-audited for exploitability).Outcome:
FINDINGS: 0medium+Security review: no medium+ findings on this diff.
Inline threads: none (no findings to anchor).
Areas examined
Pathconstants,read_text()only, no subprocess/eval/network, no external inputmake check-exploit-replay-matrix-docspassed locally on the reviewed SHA.added 6 commits
mainf05dc38c- Merge origin/main into issue-406-exploit-replay-matrixCompare with previous version
Resolved merge conflicts with
maininMakefile:check-exploit-replay-matrix-docsfrom this branch (SEC-D01 lint target).check-emergency-commands-docsandverify-issue-399frommain.lintrecipe and.PHONYlist.Sanity:
make check-exploit-replay-matrix-docsandmake check-emergency-commands-docspass.Security review — MR !935
Commit reviewed:
f05dc38ca01b5e948f8eba78cf79f617f842b556Scope: Documentation and CI drift guard only —
docs/exploit-replay-matrix.md, cross-links indocs/contracts-security-audit.mdanddocs/security-model.md, agent playbookskills/AGENTS_EXPLOIT_REPLAY_MATRIX.md,scripts/check_exploit_replay_matrix_docs.py,Makefilelint wiring. No smart contract, indexer API, frontend runtime, or deploy script logic changes.Delta since prior review (
7c3b7029): merge oforigin/maininto the feature branch (f05dc38c); Makefile conflict resolution retains bothcheck-exploit-replay-matrix-docs(this MR) andcheck-emergency-commands-docs(from main). No new runtime surfaces in the MR diff.Method: Full diff
6f4fd29b..f05dc38cvsorigin/main; traced attacker-controlled input to sinks for the new Python checker; compared drift-guard pattern to existing doc-check scripts; verified no secrets in added content; spot-checked matrix mitigation/verification references (documentation accuracy only — unchanged runtime code not re-audited for exploitability).Outcome:
FINDINGS: 0medium+Security review: no medium+ findings on this diff.
Inline threads: none (no findings to anchor).
Areas examined
Pathconstants,read_text()only, no subprocess/eval/network, no external inputmake check-exploit-replay-matrix-docspassed locally on the reviewed SHA.added 6 commits
maind6350610- Merge origin/main into issue-406-exploit-replay-matrix.Compare with previous version
Resolved merge conflicts with
main(issue #410 deploy-trace landed after the prior merge).Makefile: kept both
check-deploy-trace-docs(#410) andcheck-exploit-replay-matrix-docs(#406) targets; updated.PHONYandlintto include both.docs/security-model.md: auto-merged cleanly (exploit-replay matrix + deploy-trace links).
Sanity:
make check-exploit-replay-matrix-docsandmake check-deploy-trace-docsboth pass.Security review — MR !935
Commit reviewed:
d63506106619d170079d794fce09ab8c495ff336Scope: Documentation and CI drift guard only —
docs/exploit-replay-matrix.md, cross-links indocs/contracts-security-audit.mdanddocs/security-model.md, agent playbookskills/AGENTS_EXPLOIT_REPLAY_MATRIX.md,scripts/check_exploit_replay_matrix_docs.py,Makefilelint wiring. No smart contract, indexer API, frontend runtime, or deploy script logic changes.Delta since prior review (
f05dc38c): merge oforigin/maininto the feature branch (d6350610); Makefile conflict resolution retains bothcheck-exploit-replay-matrix-docs(this MR) andcheck-deploy-trace-docs(from main #410). Merge-base diff vsorigin/mainremains the six SEC-D01 files above — no new runtime surfaces introduced by this MR.Method: Full diff
0e2eaa8d..d6350610vs merge base; traced attacker-controlled input to sinks forcheck_exploit_replay_matrix_docs.py; compared drift-guard pattern to existing doc-check scripts; verified no secrets in added content; spot-checked matrix mitigation/verification references (documentation accuracy only — unchanged runtime code not re-audited for exploitability).Outcome:
FINDINGS: 0medium+Security review: no medium+ findings on this diff.
Inline threads: none (no findings to anchor).
Areas examined
Pathconstants,read_text()only, no subprocess/eval/network, no external inputmake check-exploit-replay-matrix-docspassed locally on the reviewed SHA.added 6 commits
maine539671b- Merge origin/main into issue-406-exploit-replay-matrix.Compare with previous version
Resolved merge conflicts with
mainin Makefile:.PHONY: keptcheck-exploit-replay-matrix-docs(this MR) alongsidecheck-ibc-hooks-deploy-docs,verify-no-ibc-hooks-in-contracts, andverify-issue-407from main.linttarget: includes bothcheck-exploit-replay-matrix-docsandcheck-ibc-hooks-deploy-docs.Sanity:
make check-exploit-replay-matrix-docsandmake check-ibc-hooks-deploy-docsboth pass.Security review — MR !935
Commit reviewed:
e539671bee1841c79716a7ba9a713a13245118e4Scope: Documentation and CI drift guard only —
docs/exploit-replay-matrix.md, cross-links indocs/contracts-security-audit.mdanddocs/security-model.md, agent playbookskills/AGENTS_EXPLOIT_REPLAY_MATRIX.md,scripts/check_exploit_replay_matrix_docs.py,Makefilelint wiring. No smart contract, indexer API, frontend runtime, or deploy script logic changes.Delta since prior review (
d6350610): merge oforigin/maininto the feature branch (e539671b); Makefile conflict resolution retainscheck-exploit-replay-matrix-docs(this MR) alongsidecheck-ibc-hooks-deploy-docs/verify-issue-407(from main #407). Merge-base diff vsorigin/mainremains the six SEC-D01 files above — no new runtime surfaces introduced by this MR.Method: Full diff
6c23276f..e539671bvs merge base; traced attacker-controlled input to sinks forcheck_exploit_replay_matrix_docs.py; compared drift-guard pattern to existing doc-check scripts; verified no secrets in added content; spot-checked matrix mitigation/verification references (documentation accuracy only — unchanged runtime code not re-audited for exploitability).Outcome:
FINDINGS: 0medium+Security review: no medium+ findings on this diff.
Inline threads: none (no findings to anchor).
Areas examined
Pathconstants,read_text()only, no subprocess/eval/network, no external inputmake check-exploit-replay-matrix-docspassed locally on the reviewed SHA.mentioned in commit
64ae472470