websh

Fail

Audited by Gen Agent Trust Hub on Nov 5, 2026

Risk Level: CRITICALINDIRECT_PROMPT_INJECTIONCREDENTIALS_UNSAFEDATA_EXFILTRATIONPROMPT_INJECTIONCOMMAND_EXECUTIONPERSISTENCE
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill's primary function is to fetch arbitrary content from the internet and use an LLM sub-agent to "extract" and "richly parse" this content into markdown files for the session cache.
  • Ingestion points: The skill uses network tools to download HTML from any URL provided by the user or discovered during background crawling (e.g., state/crawl.md).
  • Boundary markers: The extraction prompts in state/cache.md do not include delimiters or instructions to ignore commands embedded in the fetched HTML.
  • Capability inventory: The skill can perform network operations, write to the filesystem, and spawn sub-agents. It also supports task scheduling and credential management.
  • Sanitization: There is no evidence of sanitization or filtering of external content before it is stored in the cache and subsequently processed by the shell.
  • [CREDENTIALS_UNSAFE]: The skill facilitates the management of sensitive authentication data in a potentially insecure manner.
  • Evidence: The commands.md and shell.md files describe commands to export and store HEADER_Authorization and COOKIE_session values. These secrets are stored in plain text within the .websh/session.md file and individual profile directories.
  • [DATA_EXFILTRATION]: The architecture allows for the reading of sensitive local files and transmission of their content to external servers.
  • Evidence: An indirect injection payload could potentially command the shell to cat the sensitive session state file and pipe the output to a network-enabled tool, exfiltrating authentication tokens.
  • [PROMPT_INJECTION]: The skill instructions explicitly encourage the agent to bypass standard verification steps.
  • Evidence: SKILL.md and shell.md instruct the agent to "infer intent" and "just execute" without asking for clarification or throwing "command not found" errors. This high degree of autonomy makes the agent more likely to execute malicious instructions hidden in processed data.
  • [COMMAND_EXECUTION]: The skill creates a custom command interpreter that executes Unix-like commands based on user input or data-driven intent.
  • Evidence: The implementation of commands like ls, cat, and grep on top of an agentic framework creates a broad attack surface where malicious data can influence the execution flow.
  • [PERSISTENCE]: The skill includes task scheduling features that could be abused to maintain access.
  • Evidence: The commands.md file defines cron and at commands, which could allow a malicious payload to establish persistence by scheduling recurring tasks or delayed exfiltration operations.
Recommendations
  • CRITICAL: 1 file(s) identified as malware by FileRep - DO NOT USE
Audit Metadata
Risk Level
CRITICAL
Analyzed
Nov 5, 2026, 01:11 AM