Skip to content

feat: isolate Solana wallet authorization signing - #38

Merged
TFT444 merged 2 commits into
developfrom
feature/33-isolated-solana-wallet-signer
Jul 23, 2026
Merged

feat: isolate Solana wallet authorization signing#38
TFT444 merged 2 commits into
developfrom
feature/33-isolated-solana-wallet-signer

Conversation

@TFT444

@TFT444 TFT444 commented Jul 22, 2026

Copy link
Copy Markdown
Collaborator

Closes #33

Summary

  • add a SolGuard Ed25519 issuer and wallet-side public-key verifier
  • bind authorization to agent, wallet, recipient, USDC mint, atomic amount, devnet network, request digest, nonce, and expiry
  • inspect serialized transaction bytes independently before signing
  • atomically consume each authorization exactly once before the private-key backend is invoked
  • load a disposable offline Ed25519 wallet seed only from an external environment source
  • emit a sanitized signing receipt after a real cryptographic signature is produced
  • provide injected inspector/backend boundaries for offline, adversarial, concurrency, and failure tests

Security properties

  • missing, expired, replayed, malformed, incorrectly signed, or mutated authorizations fail closed
  • wrong wallet, network, mint, recipient, amount, nonce, expiry, agent, or request digest fails before signing
  • mainnet is disabled
  • only one concurrent caller can consume an authorization
  • store and signer failures burn or reject the authorization safely
  • secret material and serialized transaction bytes are absent from receipts
  • SolGuard authorization and wallet signatures remain separate proofs

Verification

  • 487 tests passed
  • 100% statement and branch coverage
  • strict mypy passed for 41 source files
  • Ruff lint and format checks passed
  • staged Gitleaks scan found no leaks

Review structure

This stacked PR is based on feature/32-autonomous-attack-runner / PR #37. Review commit f7db88e for the focused #33 delta.

The canonical transaction codec is explicitly an offline fixture. It cryptographically signs bytes but does not claim to create a Solana wire transaction or devnet settlement; that evidence belongs to #34.

@TFT444
TFT444 force-pushed the feature/32-autonomous-attack-runner branch from d85fb61 to c22fe2e Compare July 23, 2026 00:22
@TFT444
TFT444 force-pushed the feature/33-isolated-solana-wallet-signer branch from f7db88e to 0b00a25 Compare July 23, 2026 00:22
Base automatically changed from feature/32-autonomous-attack-runner to develop July 23, 2026 00:25
TFT444 and others added 2 commits July 23, 2026 01:28
* feat: require RPC-confirmed devnet settlement evidence

* feat: prove autonomous attack resistance end to end (#40)
@TFT444
TFT444 force-pushed the feature/33-isolated-solana-wallet-signer branch from 196ca37 to 43a03b5 Compare July 23, 2026 00:29
@TFT444
TFT444 merged commit 3c84f8f into develop Jul 23, 2026
1 check passed
@TFT444
TFT444 deleted the feature/33-isolated-solana-wallet-signer branch July 23, 2026 00:42
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.

[P0] Enforce SolGuard authorization in an isolated Solana wallet signer

1 participant