Skip to content

feat: add Solana Rent & Rug Shield action provider (11-layer rug check & empty ATA rent scan) - #1663

Open
sonnyman2014 wants to merge 1 commit into
coinbase:mainfrom
sonnyman2014:feat/rentshield-solana-action-provider
Open

sonnyman2014 wants to merge 1 commit into
coinbase:mainfrom
sonnyman2014:feat/rentshield-solana-action-provider

Conversation

@sonnyman2014

Copy link
Copy Markdown

Summary

Adds RentShieldActionProvider (@coinbase/agentkit) for Solana (svm) agents with two strictly read-only, non-custodial actions backed by https://rentandrugshield.com:

  • check_token_rug_shield: Runs an 11-layer pre-buy rug and scam audit on a Solana token mint (pubkey only), checking mint/freeze authorities, Token-2022 permanent delegate & transfer hook traps, LP lock/burn verification, holder concentration, and Block-0 Sybil clusters.
  • scan_wallet_unclaimed_rent: Previews reclaimable rent-exempt SOL locked in empty SPL and Token-2022 Associated Token Accounts (0% fee on first claim).

Security & Testing

  • Strict 32-byte base58 public-key verification (isValidSolanaPublicKey) blocks private keys, mnemonics, and malformed strings locally before making any network request.
  • Zero new npm dependencies; nothing is signed or broadcast.
  • Includes Jest unit tests (rentshieldActionProvider.test.ts), changeset, JSDoc annotations, and Prettier 3.2.5 formatting check.

Adds RentShieldActionProvider (check_token_rug_shield and scan_wallet_unclaimed_rent) for read-only 11-layer pre-buy Solana token audits and 0%-first-claim empty ATA rent previews.
@cb-heimdall

Copy link
Copy Markdown

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 0/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
1 if authored by an app that is not allowlisted and lacks verified human attribution 0
Sum 1

@github-actions github-actions Bot added documentation Improvements or additions to documentation action provider New action provider typescript labels Nov 18, 2026

This branch has not been deployed

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

Labels

action provider New action provider documentation Improvements or additions to documentation typescript

Development

Successfully merging this pull request may close these issues.

2 participants