Pre-launch: post-sign fee guard inactive on mainnet -- SEC-E08 must be resolved or formally closed [SEC-I05] (F-01) #460
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#460
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Status: CLOSED -- resolved upstream before this issue was filed, no action required.
Summary
The
extensionSignedFeeUndershootMessageguard infrontend-dapp/src/utils/extensionSignedFeeGuard.tsis gated byisLocalTerraChainId(chainId)(line 79), making it inactive on columbus-5 mainnet. All extension signing paths (Keplr, Station, Cosmostation) pass throughassertExtensionSignedDirectFeeMeetsExpectedingetTerraGetSignTxRaw.ts(line 63), but the guard silently skips the 95% floor check on mainnet. SEC-E08 / GitLab #429 tracked this. The LocalTerra-only scope is intentional: Keplr on columbus-5 does not rewrite fees, confirmed by maintainer (@PlasticDigits).What Was Checked
frontend-dapp/src/utils/extensionSignedFeeGuard.tsline 3:isLocalTerraChainIdimport. Line 79: guard gated onisLocalTerraChainId(chainId).frontend-dapp/src/services/terraclassic/getTerraGetSignTxRaw.tsline 63:assertExtensionSignedDirectFeeMeetsExpectedcalled here but guard returns null for mainnet chainId.frontend-dapp/src/utils/extensionSignedFeeGuard.test.ts: tests confirm the guard works on LocalTerra. At time of filing, no test asserted guard is inactive on columbus-5.Resolution
Documented risk acceptance via MR !957 (
3f91ddef). Artifacts confirmed present by verifier (@Brouie):extensionSignedFeeGuard.tsJSDoc: "intentionally inactive on mainnet (columbus-5) -- see SEC-E08 / #429 (closed)"docs/security-model.mdSEC-E08 section: LocalTerra-only scope, 95% fee/gas threshold, lineage from #127 and #134docs/runbooks/extension-fee-guard-wallet-qa.md: wallet QA runbook with mainnet section and launch sign-off textdocs/runbooks/launch-checklist.mdPhase 4: SEC-E08 gate added, links runbook, security model, and agent skillextensionSignedFeeGuard.test.ts9/9 passing: columbus-5 returns null test now confirmed presentmake verify-issue-429: PASS 6 / FAIL 0Verification Checklist
Labels
security,pre-launchCc: @PlasticDigits , please close, made an error upstream before filing this #429 was already closed and veriifed , my agent did not verify this before filing the issue
mentioned in issue #454
mentioned in issue #381
Confirming totdking's read on this one — no action needed. The SEC-E08 / #429 fee-guard-inactive-on-mainnet scope is intentional (Keplr on columbus-5 doesn't rewrite fees) and #429 was already closed with the risk-acceptance docs + the columbus-5-returns-null test in
extensionSignedFeeGuard.test.ts. This issue was filed against an already-resolved state.Nothing for me to ship. @PlasticDigits this one's safe to close.