/clawd-compute:pump-securityfrom clawd-compute
Apply Pump.fun SDK security practices across Rust, TypeScript, and Bash: key handling, memory zeroization, secure file I/O, input validation, privilege boundaries, dependency auditing, and wallet/tool hardening. Use for Pump.fun security reviews and fixes.
Ships in clawd-compute. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Defense-in-depth security across Rust, TypeScript, and Bash: key handling, memory zeroization, secure file I/O, input validation, privilege management, and dependency auditing.
use zeroize::Zeroize;
struct SecureBytes(Vec<u8>);
impl Drop for SecureBytes {
fn drop(&mut self) {
self.0.zeroize();
}
}
try {
// ... use secretKey
} finally {
secretKey.fill(0);
// Best-effort: GC may have copied the buffer
}
shred -u "$keypair_file" 2>/dev/null || rm -P "$keypair_file"
| Language | Source | Verification |
|---|---|---|
| Rust | OsRng | Verify via solana-sdk internals |
| TypeScript | crypto.getRandomValues | Node.js built-in CSPRNG |
| Shell | solana-keygen | Delegates to Rust OsRng |
0o600 before writing content (race-free on Unix)O_CREAT | O_EXCL to prevent overwrites| Input | Validation |
|---|---|
| Base58 address | Regex: ^[1-9A-HJ-NP-Za-km-z]{32,44}$ |
| File paths | Reject .., prevent traversal |
| Tool inputs | Zod schemas in MCP server |
| Shell arguments | Quoted variables, no eval |
Key categories:
cargo audit, npm audit)| Vector | Defense |
|---|---|
| Weak RNG | Only CSPRNG (OsRng / crypto.getRandomValues) |
| Memory dump | Zeroize on drop/finally |
| File permission leak | 0o600 enforcement |
| Path traversal | Input validation |
| Shell injection | Quoted variables, no eval |
| Dependency supply chain | cargo audit, npm audit |
solana-sdk, @solana/web3.js, solana-keygenfill(0) is best-effort — GC may relocate buffersString types may leave copies in memory — use Vec<u8> with Zeroizechmod after write has a race window — prefer fchmod or umaskcargo audit may miss recently disclosed CVEs — supplement with manual reviewWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub solizardking/solizardking-clawd-plugin-marketplace --plugin clawd-compute53 skills in this plugin
/cheshire-omni-mintDual-rail omni agent mint: Solana Metaplex Core + Agent Identity and Robinhood Chain ERC-8004 identity in one plan, optionally bound with LayerZero zk-omni (msgType 4 dual_identity_link). Use when the user wants omnichain identity, Solana and Robinhood together, Metaplex mintAgent + RH register, or Cheshire Terminal dual-rail forge. Product: cheshireterminal.ai/agents/forge · funpump.ai.
/clawd-agent-launchpadBuild, launch, stake, and manage Clawd or Cheshire Terminal agents. Use when working on Agent Launchpad, agent templates, agent builder, agent hub, deployed agent detail pages, runtime matrix, Metaplex agent minting, staking, agent chat, or Clawd/Cheshire agent lifecycle tasks./