autonomous-agent-patterns

Fail

Audited by Snyk on Apr 15, 2026

Risk Level: HIGH
Full Analysis

HIGH W007: Insecure credential handling detected in skill instructions.

  • Insecure credential handling detected (high risk: 1.00). The skill includes tools (e.g., ReadFileTool, ContextManager.add_file/add_folder and format_for_prompt) that read file contents and inject them verbatim into the agent history/prompts (and tool results are returned to the LLM), which can force the model to handle and potentially output secret values directly.

MEDIUM W011: Third-party content exposure detected (indirect prompt injection risk).

  • Third-party content exposure detected (high risk: 1.00). Yes — SKILL.md explicitly fetches and ingests arbitrary web content (e.g., ContextManager.add_url uses requests.get to add URL content, BrowserTool.open_url/get_page_content load and return page text/screenshots, and VisualAgent.describe_page/find_and_click send page content/screenshots to the LLM), so untrusted third‑party webpages can directly influence agent decisions and tool use.

MEDIUM W012: Unverifiable external dependency detected (runtime URL that controls agent).

  • Potentially malicious external URL detected (high risk: 0.90). The ContextManager.add_url method fetches arbitrary external pages at runtime via requests.get(url) and appends that content into the agent's prompt (flagged: any URL passed to ContextManager.add_url / requests.get(url)), allowing remote content to directly control instructions.

MEDIUM W013: Attempt to modify system services in skill instructions.

  • Attempt to modify system services in skill instructions detected (high risk: 0.90). The skill defines and encourages tools that read/write/edit arbitrary filesystem paths, execute shell commands, and generate/install executable MCP servers (including writing and hot-reloading code), while its safeguards (permission levels, sandbox) are incomplete or optional—so it can be used to modify system files, create services/users, or run privileged actions that compromise the host.

Issues (4)

W007
HIGH

Insecure credential handling detected in skill instructions.

W011
MEDIUM

Third-party content exposure detected (indirect prompt injection risk).

W012
MEDIUM

Unverifiable external dependency detected (runtime URL that controls agent).

W013
MEDIUM

Attempt to modify system services in skill instructions.

Audit Metadata
Risk Level
HIGH
Analyzed
Apr 15, 2026, 06:09 PM
Issues
4
Security Audit — snyk — autonomous-agent-patterns