default-visibility

Community

Secure Solidity visibility defaults.

AuthorApegurus
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill addresses the security risks associated with functions and state variables in Solidity smart contracts that are declared without explicit visibility specifiers, which can lead to unintended public access or internal data exposure.

Core Features & Use Cases

  • Identifies Missing Visibility: Detects functions and state variables lacking explicit public, external, internal, or private keywords.
  • Contextual Analysis: Considers Solidity version and the nature of the function/variable (sensitive operations, data) to assess risk.
  • Use Case: Auditing a Solidity contract to ensure that sensitive functions like transferOwnership or critical state variables are not inadvertently exposed due to default visibility rules.

Quick Start

Analyze the provided Solidity code for any functions or state variables missing explicit visibility specifiers.

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: default-visibility
Download link: https://github.com/Apegurus/solidity-argus/archive/main.zip#default-visibility

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.