Security: unpause prerequisite checklist [SEC-G07] (#440) #967
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!967
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/440-unpause-prerequisite-checklist"
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
Addresses GitLab #440 (SEC-G07): the unpause restore path in
docs/runbooks/emergency-commands.mdhad no prerequisite gate requiring root-cause documentation or explicit risk acceptance before broadcastingset_pair_pausedwithpaused: false.Changes:
emergency-commands.md, mirroring the blacklist rollback checklist structure (evidence preservation, rationale, resolution confirmation, funds-at-risk check, timeline entry with approver, then execute).blacklist-decision.mdandsecurity-model.md.scripts/check_emergency_commands_docs.pywith SEC-G07 markers.make verify-issue-440/scripts/qa/verify-issue-440.sh.skills/AGENTS_EMERGENCY_COMMANDS.mdfor third-party agents.Acceptance checklist
emergency-commands.mdsection 2 includes prerequisite checklist (incident reference, resolution confirmation, funds-at-risk, timeline entry, approver)make verify-issue-440blacklist-decision.mdgrep -A20 'Before you unpause' docs/runbooks/emergency-commands.mdand compare to rollback checklistmake check-emergency-commands-docsgrep blacklist-decision docs/runbooks/emergency-commands.mdandgrep emergency-commands docs/runbooks/blacklist-decision.mdgrep SEC-G07 skills/AGENTS_EMERGENCY_COMMANDS.mdgrep SEC-G07 docs/security-model.mdVerification for third parties
Manual review:
docs/runbooks/emergency-commands.md§ 2 — confirm the Before you unpause (mandatory) checklist appears before theterrad tx wasm executecommand.docs/runbooks/blacklist-decision.md§ False-positive rollback — confirm cross-link to unpause section.Related issue: #440 (left open; auto-close on merge).
Security review — MR !967
Commit reviewed:
dc26e35f4516591e8e5a17b34217f5e0a12cd670Scope: SEC-G07 unpause prerequisite checklist — documentation, doc-invariant markers, QA verification script (
verify-issue-440.sh), Makefile target, agent skill cross-links.Method
check_emergency_commands_docs.py,verify-issue-440.sh, Makefile, agent skill).verify-issue-440.sh, Python doc checker).Outcome
FINDINGS: 0 (no medium, high, or critical)
Security review: no medium+ findings on this diff.
Notes
set_pair_pausedrecipe, symmetric cross-links with blacklist rollback gate, and grep-based CI/doc invariants.verify-issue-440.shuses hardcoded paths and fixedgrep/makeinvocations; labels are display-only (noteval'd). No injection surface.check_emergency_commands_docs.pyadds static string markers; no subprocess or external input.Inline threads
None — no findings to anchor.
mentioned in issue #440
mentioned in commit
9fcb468bc9