diff --git a/.claude/skills/SKILL.md b/.claude/skills/SKILL.md index 7aaa093..4b9e2e4 100644 --- a/.claude/skills/SKILL.md +++ b/.claude/skills/SKILL.md @@ -36,6 +36,7 @@ Key references within: ## Token Extensions - [token-2022.md](token-2022.md) — SPL Token-2022 extensions: transfer hooks, confidential transfers, transfer fees, metadata, CPI guard, soulbound tokens, and all extension types with Anchor/native patterns +- [ext/token2022-integration-guard/skill/SKILL.md](ext/token2022-integration-guard/skill/SKILL.md) — Token-2022 CONSUMER-side safety: how a program safely accepts an arbitrary, possibly-hostile third-party mint. On-chain extension allowlist that rejects dangerous mints, delta-measured fee-safe deposits (fixes the transfer-fee share-insolvency footgun), reentrancy-aware withdraws, plus a t22-scan CLI. Compiling Anchor 1.0 + 6 LiteSVM attack tests. The integrator counterpart to token-2022.md (issuer-side). ## DeFi & Ecosystem Protocols diff --git a/.claude/skills/ext/token2022-integration-guard b/.claude/skills/ext/token2022-integration-guard new file mode 160000 index 0000000..d9868f0 --- /dev/null +++ b/.claude/skills/ext/token2022-integration-guard @@ -0,0 +1 @@ +Subproject commit d9868f08f26170ffcb7c95ee5f905ee1f1a518a5 diff --git a/.gitmodules b/.gitmodules index 123ce4a..b9f576b 100644 --- a/.gitmodules +++ b/.gitmodules @@ -52,3 +52,6 @@ [submodule ".claude/skills/ext/eth-to-sol"] path = .claude/skills/ext/eth-to-sol url = https://github.com/solana-foundation/eth-to-sol-skill +[submodule ".claude/skills/ext/token2022-integration-guard"] + path = .claude/skills/ext/token2022-integration-guard + url = https://github.com/mohit-1710/token2022-integration-guard.git diff --git a/README.md b/README.md index 8c8d117..7843c0c 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ cd /path/to/your-project && git submodule update --init --recursive /plugin install solana-ai-kit@stbr # Commands then namespace as /solana-ai-kit:. The plugin is the CORE kit # (agents/commands/local skills/MCP/hooks); the curl one-liner (Option 1) is the -# FULL install, adding rules + permissions/sandbox + the 18 ext/ submodules. +# FULL install, adding rules + permissions/sandbox + the 19 ext/ submodules. # Details: see "Install as a Claude Code plugin" below. # Start Claude Code