substrate-vulnerability-scanner

Scan Substrate/Polkadot pallets for seven critical security vulnerabilities in Rust code.

Updated Feb 13, 2026
One-click install
npx skills add https://github.com/fjor1025/InfoSec-Framework --skill substrate-vulnerability-scanner-fjor1025
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: substrate-vulnerability-scanner
Source: https://github.com/fjor1025/InfoSec-Framework/tree/main/ClaudeSkills/plugins/building-secure-contracts/skills/substrate-vulnerability-scanner
Command: npx skills add https://github.com/fjor1025/InfoSec-Framework --skill substrate-vulnerability-scanner-fjor1025

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill systematically identifies 7 critical, platform-specific security vulnerabilities within Substrate/FRAME runtimes and pallets, preventing node crashes, DoS attacks, and unauthorized access.

Core Features & Use Cases

  • Vulnerability Detection: Scans for arithmetic overflow, panics, incorrect weights, bad origin checks, and more.
  • Code Analysis: Analyzes Rust code for specific Substrate/FRAME patterns and indicators.
  • Use Case: When auditing a new custom Substrate pallet, use this Skill to quickly pinpoint common and critical security flaws before deployment.

Quick Start

Use the substrate-vulnerability-scanner skill to analyze the provided Substrate pallet code for security issues.

Frequently Asked Questions about substrate-vulnerability-scanner

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

FAQPage Schema
How do I scan Substrate pallets for security vulnerabilities?

You can scan Substrate pallets for security vulnerabilities by analyzing Rust code in dispatchable functions, weight calculations, and unsigned transaction validation logic to identify critical risks.

What critical vulnerabilities can occur in FRAME runtimes?

Critical vulnerabilities in FRAME runtimes include arithmetic overflow, panic DoS, incorrect weights, and bad origin checks, which can cause node crashes, DoS attacks, and unauthorized access.

How do I audit a custom Substrate pallet before deployment?

To audit a custom Substrate pallet before deployment, analyze the Rust code for platform-specific indicators and project structure to pinpoint common and critical security flaws.

Does this vulnerability scanner detect bad origin checks in Polkadot pallets?

Yes, this vulnerability scanner detects bad origin checks in Polkadot pallets, alongside six other critical vulnerabilities including arithmetic overflow, panic DoS, and incorrect weights.

Why do I need to analyze weight calculations in Substrate runtime code?

You need to analyze weight calculations in Substrate runtime code because incorrect weights represent a critical vulnerability that can lead to denial-of-service attacks and node instability.