Security: gate mainnet deploy on pasted test outputs (SEC-H08, #444) #974
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!974
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "issue-444-test-evidence-gate"
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 an explicit pre-deploy test evidence gate (SEC-H08) to the release runbook so operators cannot proceed to production mainnet without recording contract, indexer, frontend, and pool smoke test passage on the launch issue (#444).
What changed:
docs/runbooks/launch-checklist.mdPhase 0 — new SEC-H08 step requiring pasted/linked output formake test-contracts,make test-indexer-integration,make test-frontend, andmake smoke-pool-swap; notes that CI pipeline links satisfy the gate for CI-built artifactsdocs/templates/deploy-trace.md— new Test results section for release-issue evidencescripts/check_test_evidence_gate_docs.py+make check-test-evidence-gate-docs— doc drift guard (wired intomake lint)scripts/qa/verify-issue-444.sh+make verify-issue-444— acceptance regressionskills/AGENTS_TEST_EVIDENCE_GATE.md— agent playbookdocs/deployment-guide.md,docs/qa-invariants.md(Q3),docs/security-model.md,docs/testing.md,skills/AGENTS_LAUNCH_GO_NO_GO.mdAcceptance checklist
grep 'SEC-H08' docs/runbooks/launch-checklist.mdmake test-contractsoutputgrep 'make test-contracts' docs/runbooks/launch-checklist.mdmake test-indexer-integrationoutputgrep 'make test-indexer-integration' docs/runbooks/launch-checklist.mdmake test-frontendoutputgrep 'make test-frontend' docs/runbooks/launch-checklist.mdgrep 'CI-built artifacts' docs/runbooks/launch-checklist.mdgrep 'Test results (pre-deploy evidence' docs/templates/deploy-trace.mdmake verify-issue-444Verification checklist (third parties)
make verify-issue-444— all steps PASSmake check-test-evidence-gate-docs— prints OK linedocs/runbooks/launch-checklist.mdPhase 0 SEC-H08 item — confirms paste/link requirement and CI pipeline exceptiondocs/templates/deploy-trace.md§ Test results — confirms table for contracts/indexer/frontend/smoke evidenceRelated issue: #444 (leave open until merge)
Security review — MR !974
Commit reviewed:
4aabd71d7ea8c4646950b56c8961c61c7b606946Scope: SEC-H08 pre-deploy test evidence gate — launch runbook Phase 0, deploy-trace template, security-model / testing / qa-invariants cross-links,
scripts/check_test_evidence_gate_docs.py,scripts/qa/verify-issue-444.sh,skills/AGENTS_TEST_EVIDENCE_GATE.md, Makefilelint/verify-issue-444wiring.Method: Diff-only review; traced attacker-controlled input to sinks in added/modified code paths.
Outcome:
FINDINGS: 0medium+Security review: no medium+ findings on this diff.
Summary
This MR is procedural hardening only: it documents that operators must paste or link passing test output (or a CI pipeline URL at the same commit SHA) before production mainnet deploy. Added automation (
check_test_evidence_gate_docs.py,verify-issue-444.sh) reads fixed repo paths and checks for required documentation markers viapath.read_text()/grep— no shell interpolation of external input, no network calls, no changes to CosmWasm contracts, indexer API, frontend runtime, or deploy scripts.No injection, authz bypass, secret leakage, SSRF/XSS, or unsafe-deserialization surfaces were introduced. The CI-pipeline-link alternative and doc-only regression (
verify-issue-444does not scrape GitLab issues) are intentional operator-process controls, not exploitable code paths.Inline threads: none (no findings to anchor).
mentioned in commit
71ae2d02b1