Near Contract Audit
Identifies potential vulnerabilities and compliance issues in smart contracts before deployment using automated analysis.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add near-contract-audit npx -- -y @trustedskills/near-contract-audit
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"near-contract-audit": {
"command": "npx",
"args": [
"-y",
"@trustedskills/near-contract-audit"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill allows AI agents to perform basic audits of NEAR smart contracts. It can identify potential vulnerabilities and compliance issues within a contract's code, providing insights into its security posture. The audit process focuses on common pitfalls and best practices in NEAR blockchain development.
When to use it
- Pre-deployment checks: Before deploying a new smart contract to the NEAR network, use this skill for an initial assessment of potential risks.
- Security reviews: Incorporate this skill into your security review process as a supplementary tool alongside manual audits.
- Educational purposes: Use it to learn about common smart contract vulnerabilities and how to mitigate them.
- Contract understanding: Quickly gain a better understanding of the logic and potential issues within an existing NEAR smart contract.
Key capabilities
- Smart contract vulnerability identification
- Compliance checks against NEAR best practices
- Basic code analysis for security flaws
- Reporting of identified risks
Example prompts
- "Audit this NEAR contract: [contract address]"
- "Analyze the security of this smart contract and highlight any potential vulnerabilities: [contract ABI or source code]"
- "Check this NEAR contract for compliance with the latest security recommendations."
Tips & gotchas
This skill provides a preliminary assessment. It is not a substitute for comprehensive, professional security audits performed by experienced blockchain security experts. The accuracy of results depends on the complexity and quality of the smart contract's code.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.