Harden attestation abuse controls and operations#23
Merged
Conversation
Add shared wallet limits, best-effort evidence archiving, structured alert signals, and deployment runbooks so platform verification degrades safely under abuse and upstream failures. Co-authored-by: Cursor <[email protected]>
Coverage reportThresholds: 80% line · 78% region (condition) ✅ Coverage meets the required threshold. |
Keep /healthz for compatibility while adding /health because Google front ends reserve some paths ending in z. Co-authored-by: Cursor <[email protected]>
Drop entries whose timestamps are all outside the window; they never affect admission decisions and otherwise accumulate across unique spoofed IPs. Co-authored-by: Cursor <[email protected]>
Keep Redis per-wallet quotas as the authoritative abuse control while allowing tens of devices behind one public IP. Co-authored-by: Cursor <[email protected]>
Pin the test to 1 request/minute so it no longer depends on the production per-IP default of 300. Co-authored-by: Cursor <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/healthfor Cloud Run while retaining/healthzcompatibility, and expand Rust/Redis/Node coverageTest plan
cargo test --workspacecargo clippy --all-targets --all-features -- -D warningscargo fmt --all -- --check./scripts/run-polyglot-nodejs-e2e.shsha256:c7abdd9c...b05104to staging through infra PR NodleCode/infra#1253/healthreturns 200; Cloud Run ready; no revision errors; structured event verifiedInfrastructure: https://github.com/NodleCode/infra/pull/1253