substrate-vulnerability-scanner

Scan Substrate/FRAME pallets for critical Rust vulnerabilities.

1|Updated Apr 7, 2026
One-click install
npx skills add https://github.com/rohanbhatia27/rohanstutoring-redesign --skill substrate-vulnerability-scanner-rohanbhatia27
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: substrate-vulnerability-scanner
Source: https://github.com/rohanbhatia27/rohanstutoring-redesign/tree/main/.agents/skills/substrate-vulnerability-scanner
Command: npx skills add https://github.com/rohanbhatia27/rohanstutoring-redesign --skill substrate-vulnerability-scanner-rohanbhatia27

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill automates the process of scanning Substrate/Polkadot pallets for critical vulnerabilities, significantly reducing the time and effort required for security audits.

Core Features & Use Cases

  • Vulnerability Detection: Identifies 7 critical vulnerability patterns unique to Substrate/FRAME-based chains.
  • Code Analysis: Scans Rust code for arithmetic overflow, panic DoS, incorrect weights, and bad origin checks.
  • Use Case: Before launching a new Substrate chain or auditing an existing one, use this Skill to ensure security and compliance with best practices.

Quick Start

Run the substrate-vulnerability-scanner skill on your codebase to automatically detect vulnerabilities.

Frequently Asked Questions about substrate-vulnerability-scanner

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate security audits for Substrate and Polkadot pallets?

To automate security audits for Substrate and Polkadot pallets, run a Rust code analysis scanner to identify critical vulnerabilities like arithmetic overflow and bad origin checks.

What types of vulnerabilities can be detected in Substrate FRAME pallets?

Vulnerability detection in Substrate FRAME pallets identifies seven critical patterns, including arithmetic overflow, panic Denial of Service, incorrect weights, and bad origin checks.

Do I need a specific Rust codebase structure to scan for Substrate vulnerabilities?

Yes, scanning for Substrate vulnerabilities requires a Rust codebase containing Substrate or FRAME indicators to accurately analyze the pallets for security flaws.

How do I check for arithmetic overflow and panic DoS in Rust pallets?

Checking for arithmetic overflow and panic DoS in Rust pallets requires automated code analysis tools that scan Substrate codebases to detect these critical vulnerability patterns.

When should I run a vulnerability scanner on my Substrate chain?

Run a vulnerability scanner on your Substrate chain before launching a new network or auditing an existing one to ensure pallet security and compliance with best practices.

Can this tool detect incorrect weight calculations and bad origin checks in Substrate?

Yes, the scanner detects incorrect weight calculations and bad origin checks in Substrate by analyzing Rust code for these specific critical vulnerability patterns.