Lp1
- Category
- MCP Least Privilege
- Confidence
- 75% confidence
- Finding
The skill uses 'env' capability that is not listed in its permissions. This may indicate deceptive intent or missing permission declarations.
- Content
Security audit
Security checks for vulnerabilities and agentic risk
This skill is a straightforward local environment-variable and hardcoded-secret scanner, with no evidence of hidden execution, exfiltration, or destructive behavior.
Install from the reviewed ClawHub/package artifact when possible. If using the README curl command, pin it to a specific commit and verify the file before placing it in a persistent agent skills directory. Run the scanner only on project directories you intend to audit, since it reads source files and may surface secret-looking strings in terminal or JSON output.
The skill uses 'env' capability that is not listed in its permissions. This may indicate deceptive intent or missing permission declarations.
The README instructs users to fetch a Python script directly from a remote URL and execute it locally, but provides no integrity verification, pinning, or safety warning. This creates a software supply-chain risk: if the repository, branch, or network path is compromised, users may run attacker-controlled code.
Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
mkdir -p ~/.claude/skills/env-var-audit/scripts
curl -fsSL https://raw.githubusercontent.com/zhaoxinghua09-cell/agent-skills/main/skills/env-var-audit/scripts/env_var_audit.py -o ~/.claude/skills/env-var-audit/scripts/env_var_audit.py
python ~/.claude/skills/env-var-audit/scripts/env_var_audit.py --help
Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
mkdir -p ~/.claude/skills/env-var-audit/scripts
curl -fsSL https://raw.githubusercontent.com/zhaoxinghua09-cell/agent-skills/main/skills/env-var-audit/scripts/env_var_audit.py -o ~/.claude/skills/env-var-audit/scripts/env_var_audit.py
python ~/.claude/skills/env-var-audit/scripts/env_var_audit.py --help
The instructions place a remotely downloaded Python script into a persistent agent skills directory, causing the code to remain available across future sessions. Persistent placement increases the blast radius of a compromised or malicious script because it may be invoked later as trusted local tooling.
mkdir -p ~/.claude/skills/env-var-audit/scripts
curl -fsSL https://raw.githubusercontent.com/zhaoxinghua09-cell/agent-skills/main/skills/env-var-audit/scripts/env_var_audit.py -o ~/.claude/skills/env-var-audit/scripts/env_var_audit.py
python ~/.claude/skills/env-var-audit/scripts/env_var_audit.py --help
This Chinese-language installation block repeats the same persistence pattern: downloading remote code into a long-lived skill directory. In the context of agent skills, persistent installation is more dangerous because future automated use may implicitly trust the retained script.
mkdir -p ~/.claude/skills/env-var-audit/scripts
curl -fsSL https://raw.githubusercontent.com/zhaoxinghua09-cell/agent-skills/main/skills/env-var-audit/scripts/env_var_audit.py -o ~/.claude/skills/env-var-audit/scripts/env_var_audit.py
python ~/.claude/skills/env-var-audit/scripts/env_var_audit.py --help
The top-level description and display name are presented primarily in Chinese, and the file positions Chinese as the default user-facing locale even though an English section exists later. This can violate a language/locale policy when the skill does not explicitly offer user opt-in or state how language selection is handled.
The file presents all natural-language guidance in Chinese and does not indicate that users or agents may choose another language. This can violate language/locale policy requirements when no opt-in or documented regional constraint is provided.
This Python file contains comments, argparse descriptions, error messages, and console output exclusively in Chinese, including the main user-facing strings at L52-L59 and L88-L109. Because the skill does not provide a user opt-in or configurable locale, it violates the language/locale policy for natural-language behavior.
Detected: suspicious.exposed_secret_literal