other
- Location
SKILL.md:48- Finding
Unrestricted Environment and Agent Configuration Reconnaissance
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 48-78
Vulnerability Type: Environment reconnaissance and sensitive configuration access
Risk Level: LowEvidence
bash ### Method 1: Directory Scan # List all skill directories ls -la ~/skills/ # Find all SKILL.md files find ~/skills -name "SKILL.md" # Count skills find ~/skills -name "SKILL.md" | wc -l ### Method 2: Config File # Read skill configuration cat ~/.claude/skills.json # Read a specific skill cat ~/skills/{skill-name}/SKILL.md ### Method 3: Runtime Detection # Check available tools which python3 && python3 --version which node && node --version which docker && docker --version which curl && curl --versionTechnical Analysis
The skill instructs the agent to perform systematic local reconnaissance by enumerating installed skills, reading an agent-specific configuration file, inspecting other skill instructions, and fingerprinting available execution and networking tools.
Although these commands are consistent with the stated inventory purpose and do not bypass operating-system permissions, the guidance does not define directory boundaries, require user authorization, or require redaction before inventory results are reported. In particular,
~/.claude/skills.jsonmay contain configuration details beyond the minimum information required to list installed skills. Reading every discoveredSKILL.mdfile can also reveal operational instructions, internal paths, or capability details.No evidence of data transmission, privilege escalation, persistence, remote payload retrieval, destructive behavior, or malicious code execution was found. Consequently, this is classified as a low-risk reconnaissance and excessive-access concern rather than one of the listed T01-T09 attack classes.
Attack Path
- The skill is loaded and its discovery guidance is followed.
- The age ...[truncated 1028 chars]
- Remediation
View remediation
Remediation Suggestions
- Require explicit user approval before scanning skill directories, configuration files, or runtime installations.
- Restrict discovery to a user-approved skills root and reject paths that resolve outside that boundary.
- Do not read
~/.claude/skills.jsonby default. Prefer a dedicated inventory interface or a sanitized metadata file containing only names, versions, descriptions, and approved paths. - If configuration access is necessary, parse only an allowlisted set of fields and redact credentials, tokens, endpoints, personal data, and sensitive filesystem paths.
- Inspect other
SKILL.mdfiles only when needed and avoid reproducing their full contents in inventory output. - Make runtime fingerprinting opt-in and omit exact versions unless they are necessary for the requested assessment.
- Present the collected inventory to the user for review before transmitting or returning it to another party.
- Document the scan scope, accessed files, excluded sensitive fields, and data-retention behavior.
