account-lifecycle
CommunityDetect ACCOUNT_CLOSING: safeguard lifecycles
Software Engineering#security#solana#smart-contract#account-lifecycle#close_account#revival-attack#rent-recovery
AuthorPlamenTSV
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Auditors require a focused, repeatable method to detect and validate account lifecycle patterns in Solana programs, especially around CloseAccount usage, to prevent misconfigurations and exploits.
Core Features & Use Cases
- Close operation discovery: enumerates all account closing instructions across programs.
- Completeness verification: ensures data zeroing, lamport transfer, discriminator state, and authority transfer occur as expected.
- Attack surface analysis: evaluates revival risks, rent recovery implications, and reinitialization safeguards.
- Operational guidance: feeds lifecycle awareness into Breadth and Depth agents for deeper investigation.
Quick Start
Run the Solana account lifecycle analyzer on a program to enumerate CloseAccount operations and assess their security.
Dependency Matrix
Required Modules
None requiredComponents
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: account-lifecycle Download link: https://github.com/PlamenTSV/plamen/archive/main.zip#account-lifecycle Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.