pda-security

Community

Detect PDA seed patterns and canonical bumps

AuthorPlamenTSV
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Identifies and analyzes Solana PDA seeds and bump usage to detect non-canonical or colliding seeds that could enable address spoofing.

Core Features & Use Cases

  • PDA Seed Inventory: Enumerate all PDA seed declarations and their seed material across the program.
  • Canonical Bump Enforcement: Validate bumps are derived via find_program_address or Anchor constraints to prevent non-canonical addresses.
  • Seed Collision & Isolation Analysis: Detect seed scheme collisions and ensure uniqueness to avoid cross-PDA misassignment; Use Case: during audits of Solana programs, surface potential impersonation through non-canonical bumps.

Quick Start

Run a static inspection to identify PDA seeds, bumps, and canonical addresses across the Solana program.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: pda-security
Download link: https://github.com/PlamenTSV/plamen/archive/main.zip#pda-security

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.