arbitrary-storage-location

Community

Prevent arbitrary storage writes.

AuthorApegurus
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill prevents vulnerabilities where an attacker can write to any arbitrary storage location within a smart contract, potentially overwriting critical state variables or contract logic.

Core Features & Use Cases

  • Detects Unbounded Array Writes: Identifies instances where user input controls array indices for writing, allowing out-of-bounds access.
  • Flags Assembly sstore Vulnerabilities: Catches direct storage writes in assembly with user-controlled slot values.
  • Use Case: Auditing a DeFi protocol to ensure that user-controlled parameters cannot be used to manipulate the contract's internal state in unintended ways, such as altering ownership or critical balances.

Quick Start

Analyze the provided Solidity code for any instances of arbitrary storage location vulnerabilities.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: arbitrary-storage-location
Download link: https://github.com/Apegurus/solidity-argus/archive/main.zip#arbitrary-storage-location

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 223,000+ vetted skills library on demand.