Asdf4311

Asdf4311 / rustle

Public

**Rustle** is an automated static analysis tool for NEAR smart contracts in Rust, designed to detect various vulnerabilities and enhance contract security. Built with deep expertise in the NEAR protocol, it helps developers improve the security of their DApps.

11
0
100% credibility
Found Mar 25, 2026 at 11 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Rust
AI Summary

Rustle is an automated tool that scans Rust smart contracts on the NEAR blockchain for common security vulnerabilities and issues.

How It Works

1
๐Ÿ” Discover Rustle

You hear about Rustle, a helpful checker that spots common problems in your smart contract code to keep it safe.

2
๐Ÿ’ป Set up on your computer

Follow simple steps to get Rustle ready, like using a ready-made box or installing helpers on Linux or Mac.

3
๐Ÿ“ Pick your contract folder

Choose the folder with your smart contract files that you want to check.

4
๐Ÿš€ Run the safety scan

Tell Rustle to examine your code, and it quickly looks for dozens of potential issues like unsafe math or missing checks.

5
๐Ÿ“‹ Review the colorful report

Open the easy-to-read list of findings, sorted by danger level, with exact spots in your code.

โœ… Strengthen your contract

Fix the problems Rustle found, and feel confident your smart contract is secure and ready to launch.

Sign up to see the full architecture

4 more

Sign Up Free

Star Growth

See how this repo grew from 11 to 11 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is rustle?

Rustle is an automated static analysis tool designed to detect vulnerabilities in NEAR smart contracts built with Rust. It scans for issues like reentrancy, unsafe math without overflow checks, unhandled promises, self-transfers, and NEP compliance gaps in FT, NFT, and storage contracts. Developers point it at source dirs via CLI (`./rustle src_dir`), selecting detectors by severity (high/medium/low) or NEP groups, and get CSV reports for DApp security audits.

Why is it gaining traction?

Its deep NEAR protocol knowledge from BlockSec's audits catches protocol-specific bugs others miss, like missing `#[private]` on callbacks or NFT approval checks. Grouped detectors and Docker setup make rustle analysis fast without Rust/LLVM toolchain fights. Output focuses on actionable fixes, not noise.

Who should use this?

NEAR Rust developers securing contracts for production DApps, especially those handling tokens (NEP-141/171) or storage staking. Perfect for audit prep or CI/CD integration to flag precision loss in div-before-mul or unclaimed storage fees before deploy.

Verdict

Solid for targeted NEAR rustle despite 11 stars and 1.0% credibilityโ€”docs, examples, and Docker lower barriers. Maturity shows in 30+ detectors, but low adoption means verify findings manually. Grab it if you're building NEAR contracts.

(187 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.