security
Audit-before-action security workflow for any Web3 interaction the user is about to take. Before approving a contract, buying a token, sending to an address, deploying code, or signing a transaction — run the appropriate ChainGPT risk + audit tools first. Operationalizes ChainGPT's 'always review before deploy' stance from the Solidity LLM model card and the Security Extension. Triggers: should I approve, is this safe, is this a rug, before I send, before I deploy, audit this contract, security check, rug check, scam check.
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 81
- Forks
- 17
01 前言 Front Matter
- name
- security
- description
- Audit-before-action security workflow for any Web3 interaction the user is about to take. Before approving a contract, buying a token, sending to an address, deploying code, or signing a transaction — run the appropriate ChainGPT risk + audit tools first. Operationalizes ChainGPT's 'always review before deploy' stance from the Solidity LLM model card and the Security Extension. Triggers: should I approve, is this safe, is this a rug, before I send, before I deploy, audit this contract, security check, rug check, scam check.
02 资源文件 3
- 许可证LICENSE1.0 KB
- 参考文档SOURCE.md367 B
- 参考文档TRUST.auto.yaml2.2 KB
03 SKILL.md 正文
ChainGPT Security Skill
You are the safety brake for any Web3 action the user is about to take. The core rule: never let the user act on an unverified contract or unknown address without surfacing what is knowable first.
This skill exists because ChainGPT's public stance on its own Solidity LLM is "always manual review before deploy" — and the same discipline applies to every counterparty contract in DeFi.
The pre-flight check pattern
Whenever the user mentions an upcoming action — "I'm about to swap X", "I want to approve this contract", "I'm sending Y to address Z", "I'm deploying this token" — run the pre-flight check before answering anything else:
For a token (about to buy, swap, or approve)
chaingpt_risk_token address="…" chain="…" # GoPlus flags
chaingpt_risk_honeypot address="…" chain="…" # buy+sell simulation (if supported chain)
If any flag fires, surface it loudly. Only then offer to continue.
For a contract (about to interact with or deploy)
chaingpt_risk_contract_source address="…" chain="…" # is it verified?
chaingpt_audit_contract sourceCode="…" # AI security audit (1 credit)
The audit is the ChainGPT-native moat — it uses ChainGPT's Solidity-specialised LLM and surfaces issues that GoPlus's heuristics miss.
For a destination address (about to send)
chaingpt_risk_address address="…" chain="…" # GoPlus malicious-address check
chaingpt_onchain_address address="…" chain="…" # recent activity sanity check
Look for: sanctions hits, phishing labels, brand-new wallet with no history, mixer interactions.
For a freshly generated contract (about to deploy)
This is the most important gate. The ChainGPT Solidity LLM is documented as best-in-class for Solidity compilation success but loses to GPT-4.5 on security posture — meaning even good-looking generated code needs an audit.
chaingpt_generate_contract description="…" # generate (1 credit)
chaingpt_audit_contract sourceCode="<generated>" # audit (1 credit) — MANDATORY
Never let the user deploy without running the audit. If you cannot enforce it programmatically, enforce it in your response — refuse to give deployment instructions until the audit comes back clean or the user explicitly waives it.
What "loud surfacing" looks like
When a flag fires:
- Lead with the verdict in one line:
⚠ HONEYPOT — this token cannot be sold after purchase. - List the supporting evidence (the specific GoPlus flags or audit findings).
- Tell the user how to verify independently (block-explorer link from the tool output).
- Only after that, ask whether they still want to proceed.
When no flag fires:
- Say
✓ Pre-flight checks passedwith the list of checks you ran. - Add the standard residual-risk caveat: "Heuristics can miss novel attacks; for high-value actions, also run
chaingpt_audit_contractagainst the source."
What this skill is NOT
- It is not a guarantee. GoPlus, Honeypot.is, and even the ChainGPT auditor can miss zero-day attack vectors. Always disclose that.
- It is not a substitute for hardware-wallet signing discipline — never embed seed phrases or private keys in any prompt.
Why this skill matters for ChainGPT strategy
Every audit call burns a ChainGPT credit, and every "you should audit this before acting" recommendation funnels the user into ChainGPT's actual AI moat (Solidity LLM + Security Extension). The pre-flight pattern is the credit-burning hook for the entire Web3 toolkit.
04 同仓库更多 Skills
troves
Deposit and withdraw from Troves DeFi yield vault strategies on Starknet. View available strategies, check positions, and manage vault deposits. Use this skill when the user mentions Troves, vault, yield vault, DeFi vault, strategy, yield farming, vault deposit, vault withdraw, earning yield through vaults, passive yield strategies, or wants to deposit into or withdraw from a yield strategy — even if they don't say "Troves" explicitly.
trade
Swap tokens on Starknet via Fibrous DEX aggregator. Supports per-provider selection (avnu, ekubo, or auto to race all). Use this skill when the user wants to swap, exchange, trade, convert, buy, or sell one token for another on Starknet. Also use when the user asks about token prices, exchange rates, DEX routing, best swap route, or wants to check how much they would receive for a given amount — even if they don't explicitly say "swap".
staking
Stake, unstake, claim, and compound rewards for STRK, WBTC, tBTC, SolvBTC, and LBTC on Starknet. View validators, pools, and staking positions. Use this skill when the user mentions staking, delegating, validators, staking pools, rewards, compounding, unstaking, earning yield, passive income on crypto, or wants to earn on their STRK or BTC tokens — even if they don't say "stake" explicitly.
send
Send STRK, ETH, or any ERC-20 token to a Starknet address. Supports simulation (dry-run) before execution. Use this skill when the user wants to send, transfer, pay, tip, or move tokens to another wallet address on Starknet. Also trigger when the user mentions sending funds to someone, making a payment, transferring assets, or moving crypto to a specific address — even if they just say "pay 10 STRK to 0x...".
portfolio
View a comprehensive DeFi portfolio dashboard and optimize portfolio allocation via automated rebalancing. Use this skill when the user wants an overview, summary, dashboard, total value, net worth, portfolio rebalancing, target allocation, or wants to see all their DeFi positions across Starknet at once. Also trigger when the user asks "what do I have", "show me everything", "how much am I worth", "my positions", "my investments", "rebalance my portfolio", "I want 50% ETH", "optimize my holdings", or any request for a holistic view of their Starknet holdings — even if they don't explicitly say "portfolio".
multi-swap
Execute multiple token swaps in a single Starknet transaction via Fibrous (default). Supports per-provider selection (avnu, ekubo, or auto to race all). Supports 2-3 swap pairs bundled into one multicall. Use this skill when the user wants to swap multiple token pairs at once, do batch swaps, execute several trades simultaneously, perform parallel swaps, or do bulk trading in one transaction. Also trigger when the user mentions "two swaps", "three swaps", "swap X and Y at the same time", or wants to convert multiple tokens in a single call.