anchor-security

Official

Secure Anchor apps with battle-tested patterns.

Authorfaremeter
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Security patterns and anti-patterns for building secure Anchor programs. This skill consolidates guidance from the sealevel-attacks repository and Anchor best practices to help developers prevent common vulnerabilities during design, review, and deployment.

Core Features & Use Cases

  • Security patterns from sealevel-attacks repository adapted for Anchor development.
  • Practical fixes and best practices for signer checks, account relationships, owner validation, discriminators, initialization, and CPI validation.
  • Used during code reviews, security training, and production-grade Anchor program development.

Quick Start

Review your Anchor program code and implement signer checks, account relationships, proper initialization, and CPI validations to align with the documented security patterns.

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: anchor-security
Download link: https://github.com/faremeter/flex/archive/main.zip#anchor-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.