agentsclimarketplace

Skill 08 security audit

Skill vaquarkhan/web3-agent-skills/skills/skill-08-security-audit

Production-grade Agent Skills for Web3 AI agents: 15 workflows, 6 MCP servers, DeFi/NFT/compliance guardrails, and VS Code/JetBrains installers.

Install
npx -y skills add vaquarkhan/web3-agent-skills --skill skill-08-security-audit

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Performs Web3 security analysis including vulnerability detection, rug pull checks, and exploit monitoring. Use before interacting with unknown contracts or when auditing smart contract code.

SKILL.md

2.5 KB, as published. Nobody here has run it

Security Audit

When to Use

  • Evaluating unknown smart contracts before interaction
  • Detecting rug pull and honeypot patterns
  • Monitoring for active exploits and protocol incidents
  • Reviewing contract code for common vulnerabilities
  • Pre-deployment security checklist

Prerequisites

  • MCP: blockchain-rpc-server, defi-protocol-server
  • Knowledge base: knowledge-base/security/

Workflow

1. Automated Rug Pull Checks

Run before any token swap or liquidity add:

CheckRed Flag
Ownershipowner() can mint unlimited tokens
LiquidityLP not locked or unlock imminent
HoneypotSell simulation reverts
Hidden feesTransfer tax > 10% or modifiable
ProxyUnverified implementation, no timelock
BlacklistisBlacklisted or pause on transfers

Use eth_call simulation: attempt buy → approve → sell in single trace.

2. Vulnerability Patterns

Scan for OWASP Smart Contract Top 10:

  1. Reentrancy — external calls before state updates
  2. Access control — missing onlyOwner on critical functions
  3. Oracle manipulation — spot price without TWAP
  4. Flash loan attacks — single-block price dependency
  5. Integer issues — unchecked math (pre-0.8.0)
  6. Delegatecall — untrusted implementation in proxy
  7. Front-running — no slippage/deadline protection

See knowledge-base/security/common-vulnerabilities/ for patterns.

3. Exploit Monitoring

  • Monitor Rekt News, DeFiLlama hacks dashboard
  • Check contract against known exploit DB
  • Verify protocol TVL hasn't dropped > 20% in 24h

4. Code Review Checklist

  • Uses Solidity ≥ 0.8.0 with overflow checks
  • External calls use checks-effects-interactions
  • No selfdestruct or delegatecall to user input
  • Timelock on admin functions (> 24h for DeFi)
  • Events emitted for state changes
  • Formal verification or audit report available

Verdict Format

RISK: LOW | MEDIUM | HIGH | CRITICAL
FINDINGS: [list with severity]
RECOMMENDATION: PROCEED | CAUTION | BLOCK

Block interaction when RISK = CRITICAL or honeypot detected.

References

  • knowledge-base/security/audit-patterns/
  • knowledge-base/security/exploit-db/

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.