Back to skill

Security audit

Public Lands Field Guide: National Forest & BLM Camping

Security checks for vulnerabilities and agentic risk

Overview

ClawScan rates this skill benign with medium confidence: the two flagged code patterns were judged expected for its purpose, though Skillspector's inspection was partial.

The verdict is benign, not risk-free. Consider the medium confidence and incomplete inspection before installing; the manifest was malformed or unsupported, and one referenced path was unresolved.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Behavioral ASTexec() Call, eval() Call, Dynamic Import
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (2)

Env Variable Harvesting

High
Category
Data Exfiltration
Confidence
60% confidence
Finding

Code enumerates, copies, or searches environment variables for secrets. Bulk environment access can collect credentials unrelated to the skill's stated purpose.

Content

Scanner excerpt · checks/run_checks.py (reported line 23)May include surrounding context.

python
def run(cmd):
    r = subprocess.run([sys.executable, AA] + cmd, capture_output=True, text=True, encoding="utf-8",
                       env=dict(os.environ, PYTHONUTF8="1"))
    if r.returncode != 0:
        return None, (r.stderr or r.stdout).strip()
    return json.loads(r.stdout), None

subprocess module call

Medium
Category
Dangerous Code Execution
Confidence
70% confidence
Finding

subprocess module calls execute external commands. Without careful input validation, this enables command injection.

Content

Scanner excerpt · checks/run_checks.py (reported line 22)May include surrounding context.

python
def run(cmd):
    r = subprocess.run([sys.executable, AA] + cmd, capture_output=True, text=True, encoding="utf-8",
                       env=dict(os.environ, PYTHONUTF8="1"))
    if r.returncode != 0:
        return None, (r.stderr or r.stdout).strip()