Skip to content

feat: machine-checkable custody policy enforcement - #4

Draft
cryptofixyup wants to merge 4 commits into
mainfrom
feat/custody-policy-engine
Draft

feat: machine-checkable custody policy enforcement#4
cryptofixyup wants to merge 4 commits into
mainfrom
feat/custody-policy-engine

Conversation

@cryptofixyup

Copy link
Copy Markdown
Owner

Summary

  • adds fail-closed custody-policy.yaml and JSON Schema
  • adds deterministic custody and transaction risk scoring
  • adds read-only Safe on-chain collector for owners, threshold, modules, guard, module guard, fallback handler and code hashes
  • adds chain/address/code-hash extension allowlists
  • adds recovery/threshold/signing-domain invariant tests
  • adds custody policy validation and test gates to CI

Security properties

  • no signing/private-key material is accepted by the collector
  • unknown Safe execution extensions block material custody
  • threshold must be >= 2 and below signer count
  • signer independence is fail-closed when operational metadata is unavailable
  • code-hash changes invalidate extension allowlists

Validation

GitHub Actions will run the full test suite plus the dedicated custody-policy gate.

@ecc-tools

ecc-tools Bot commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

ECC bundle files are already tracked in this repository. Skipping generation of another bundle PR.

@vercel

vercel Bot commented Sep 5, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
api Ready Ready Preview Sep 5, 2026 10:20pm UTC

@coderabbitai

coderabbitai Bot commented Sep 5, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@ecc-tools

ecc-tools Bot commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

ECC bundle files are already tracked in this repository. Skipping generation of another bundle PR.

@ecc-tools

ecc-tools Bot commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

ECC bundle files are already tracked in this repository. Skipping generation of another bundle PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant