·near-contract-audit
!

near-contract-audit

Comprehensive security audit skill for NEAR Protocol smart contracts written in Rust. Use when auditing NEAR contracts, reviewing security vulnerabilities, or analyzing contract code for issues like reentrancy, unhandled promises, unsafe math, access control flaws, and callback security.

11Installs·0Trend·@near

Installation

$npx skills add https://github.com/near/agent-skills --skill near-contract-audit

How to Install near-contract-audit

Quickly install near-contract-audit AI skill to your development environment via command line

  1. Open Terminal: Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.)
  2. Run Installation Command: Copy and run this command: npx skills add https://github.com/near/agent-skills --skill near-contract-audit
  3. Verify Installation: Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Source: near/agent-skills.

SKILL.md

View raw

Run your preferred Rust static analysis and NEAR-focused security tools on the contract to:

Document findings with severity, location, description, and remediation.

| High | non-private-callback | Callback missing #[private] macro | | High | reentrancy | State change after cross-contract call | | High | incorrect-argument-or-return-types | Using native integer types in JSON interfaces | | High | unsaved-changes | Collection modifications not persisted | | High | owner-check | Missing caller/owner verification |

Comprehensive security audit skill for NEAR Protocol smart contracts written in Rust. Use when auditing NEAR contracts, reviewing security vulnerabilities, or analyzing contract code for issues like reentrancy, unhandled promises, unsafe math, access control flaws, and callback security. Source: near/agent-skills.

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/near/agent-skills --skill near-contract-audit
Category
!Security
Verified
First Seen
2026-02-22
Updated
2026-03-10

Browse more skills from near/agent-skills

Quick answers

What is near-contract-audit?

Comprehensive security audit skill for NEAR Protocol smart contracts written in Rust. Use when auditing NEAR contracts, reviewing security vulnerabilities, or analyzing contract code for issues like reentrancy, unhandled promises, unsafe math, access control flaws, and callback security. Source: near/agent-skills.

How do I install near-contract-audit?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/near/agent-skills --skill near-contract-audit Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Where is the source repository?

https://github.com/near/agent-skills