{
  "answers": {
    "c00": {
      "noul": 0.99,
      "type": "noul"
    },
    "c01": {
      "noul": 0.99,
      "type": "noul"
    },
    "c02": {
      "noul": 0.99,
      "type": "noul"
    },
    "c03": {
      "noul": 0.99,
      "type": "noul"
    },
    "c04": {
      "noul": 0.99,
      "type": "noul"
    },
    "c05": {
      "noul": 0.89,
      "type": "noul"
    },
    "w00": {
      "noul": 0.52,
      "type": "noul"
    },
    "w01": {
      "noul": 0.65,
      "type": "noul"
    },
    "w02": {
      "noul": 0.54,
      "type": "noul"
    },
    "w03": {
      "noul": 0.98,
      "type": "noul"
    },
    "w04": {
      "noul": 0.99,
      "type": "noul"
    },
    "w05": {
      "noul": 0.98,
      "type": "noul"
    },
    "w06": {
      "noul": 0.98,
      "type": "noul"
    },
    "w07": {
      "noul": 0.97,
      "type": "noul"
    },
    "w08": {
      "noul": 0.98,
      "type": "noul"
    },
    "w09": {
      "noul": 0.98,
      "type": "noul"
    },
    "w10": {
      "noul": 0.98,
      "type": "noul"
    },
    "w11": {
      "noul": 0.98,
      "type": "noul"
    },
    "w12": {
      "noul": 0.97,
      "type": "noul"
    },
    "w13": {
      "noul": 0.98,
      "type": "noul"
    },
    "w14": {
      "noul": 0.98,
      "type": "noul"
    }
  },
  "asked_at": "2026-11-23T05:43:48Z",
  "endpoint": "https://api.typesafe.ai/v1/systemone",
  "errors_helpful": [
    {
      "call": 0,
      "noul": 0.99,
      "question": "c00"
    },
    {
      "call": 1,
      "noul": 0.99,
      "question": "c01"
    },
    {
      "call": 2,
      "noul": 0.99,
      "question": "c02"
    },
    {
      "call": 3,
      "noul": 0.99,
      "question": "c03"
    },
    {
      "call": 4,
      "noul": 0.99,
      "question": "c04"
    },
    {
      "call": 5,
      "noul": 0.89,
      "question": "c05"
    }
  ],
  "format": "didrun.judgments.v1",
  "input_tokens": 30588,
  "method": "0.15.0",
  "model": "jev-1.14.0",
  "model_asked": "jev-1.14.0",
  "request": {
    "model": "jev-1.14.0",
    "questions": {
      "c00": {
        "criteria": {
          "false": "The reply names no argument of the tool: for example a generic failure, a stack trace with no argument named, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply names at least one argument of the tool that the call left out or got wrong, and so tells the caller what to change."
        },
        "instructions": {
          "arguments_sent": {},
          "question": "Does `reply` name an argument that the call must add or fix?",
          "reply": "Argument \"source\" is required. For example: \"source\": \"npm:mcp-remote\"",
          "tool": "scan_component"
        },
        "type": "noul"
      },
      "c01": {
        "criteria": {
          "false": "The reply does not point to `parameter`: for example a generic failure, an error about another argument, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply points to `parameter` or to its value and says the value has the wrong type or is not accepted."
        },
        "instructions": {
          "arguments_sent": {
            "source": {}
          },
          "parameter": "source",
          "question": "Does `reply` tell the caller that `parameter` has a value the tool does not accept?",
          "reply": "Argument \"source\" must be a string, not an object. For example: \"source\": \"npm:mcp-remote\"",
          "tool": "scan_component"
        },
        "type": "noul"
      },
      "c02": {
        "criteria": {
          "false": "The reply names no argument of the tool: for example a generic failure, a stack trace with no argument named, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply names at least one argument of the tool that the call left out or got wrong, and so tells the caller what to change."
        },
        "instructions": {
          "arguments_sent": {},
          "question": "Does `reply` name an argument that the call must add or fix?",
          "reply": "Argument \"old\" is required. For example: \"old\": \"npm:mcp-remote@0.1.0\"",
          "tool": "diff_components"
        },
        "type": "noul"
      },
      "c03": {
        "criteria": {
          "false": "The reply does not point to `parameter`: for example a generic failure, an error about another argument, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply points to `parameter` or to its value and says the value has the wrong type or is not accepted."
        },
        "instructions": {
          "arguments_sent": {
            "new": "didrun",
            "old": {}
          },
          "parameter": "old",
          "question": "Does `reply` tell the caller that `parameter` has a value the tool does not accept?",
          "reply": "Argument \"old\" must be a string, not an object. For example: \"old\": \"npm:mcp-remote@0.1.0\"",
          "tool": "diff_components"
        },
        "type": "noul"
      },
      "c04": {
        "criteria": {
          "false": "The reply does not point to `parameter`: for example a generic failure, an error about another argument, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply points to `parameter` or to its value and says the value has the wrong type or is not accepted."
        },
        "instructions": {
          "arguments_sent": {
            "ids": "not an array"
          },
          "parameter": "ids",
          "question": "Does `reply` tell the caller that `parameter` has a value the tool does not accept?",
          "reply": "Argument \"ids\" must be an array of strings. For example: \"ids\": [\"ST-SHELL-PIPE-EXEC\"]",
          "tool": "list_rules"
        },
        "type": "noul"
      },
      "c05": {
        "criteria": {
          "false": "The reply does not say the tool is missing: for example a generic failure, a crash, or a normal answer.",
          "true": "The reply says the tool is unknown, not found, or does not exist."
        },
        "instructions": {
          "arguments_sent": {},
          "question": "Does `reply` tell the caller that there is no tool named `tool`?",
          "reply": "unknown tool: didrun_unknown_tool",
          "tool": "didrun_unknown_tool"
        },
        "type": "noul"
      },
      "w00": {
        "criteria": {
          "false": "The tool replies show an error, a missing or different result, or nothing about the task; or only the agent's final answer claims the task was done.",
          "true": "The tool replies in `steps` show the result that `done_when` describes. The result came from the server's tools, not only from the agent's own words."
        },
        "instructions": {
          "agent_final_answer": "I requested the complete verbose rule list from SkillTotal, but the tool response was truncated partway through the tenth rule. **I can’t reliably list all bundled rules and their descriptions and recommendations from that response.** The nine complete entries returned were:\n\n1. **ST-ACTION-SECRET-EXFIL — CI token sent off GitHub from a composite action**  \n   **Description:** A composite Action sends a CI token or secret to a non-GitHub host through a network client, exposing consumers’ credentials.  \n   **Recommendation:** Never send CI tokens or repository secrets to an uncontrolled host. Use a separate scoped secret for a third-party service and send it only to its documented endpoint.\n\n2. **ST-AGENT-API-REDIRECT — Agent settings send model traffic to another host**  \n   **Description:** Shipped agent settings point the model API at another host, which receives the user’s API key, prompts and code read by the agent.  \n   **Recommendation:** Remove the address from shipped settings; configure gateways in each user’s own configuration. Review settings before opening the project in an agent.\n\n3. **ST-AGENT-AUTO-APPROVE — Agent settings that turn approvals off**  \n   **Description:** Shipped settings bypass prompts, allow all shell commands, enable all project MCP servers or auto-approve tool calls.  \n   **Recommendation:** Remove the settings or narrowly allow only the commands and servers needed. Review them before opening the project in an agent.\n\n4. **ST-AGENT-AUTORUN — Agent or editor configuration runs a command or sends data automatically**  \n   **Description:** Shipped hooks, helpers, status lines or editor tasks act automatically. HTTP hooks can post events and tool inputs and outputs to another server.  \n   **Recommendation:** Read the command, anything it runs and hook destination URLs before opening the project. A published package has no reason to ship project auto-run configuration.\n\n5. **ST-AGENT-AUTORUN-REMOTE — Auto-run agent configuration fetches o",
          "done_when": "The tool reply shows a nonempty list of detection rules with descriptions and recommendations.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {
                "verbose": true
              },
              "reply": "[{\"id\": \"ST-ACTION-SECRET-EXFIL\", \"category\": \"exfiltration_path\", \"severity\": \"high\", \"title\": \"CI token sent off GitHub from a composite action\", \"description\": \"A composite GitHub Action's run step sends a continuous-integration secret (GITHUB_TOKEN, an Actions OIDC/runtime token, or a ${{ secrets.* }} / ${{ github.token }} expression) to a non-GitHub host through a network client (curl / wget / Invoke-WebRequest / nc). The step runs on the runner of whoever uses the action, so the token and secrets of every consumer are exfiltrated. Handing the token to gh / git against GitHub, or to the documented Actions service URLs, is not matched.\", \"recommendation\": \"Never send a CI token or repository secret to a host you do not control. If a third-party service needs a credential, use its own scoped secret and send it only to that service's documented endpoint.\", \"capability\": \"\", \"threat_class\": \"malicious_indicator\"}, {\"id\": \"ST-AGENT-API-REDIRECT\", \"category\": \"agent_config\", \"severity\": \"high\", \"title\": \"Agent settings send model traffic to another host\", \"description\": \"The component ships agent settings that point the agent's model API at a host other than the vendor's or this machine. The agent sends that host the user's API key with each request, along with every prompt and the code it reads.\", \"recommendation\": \"Remove the address from the shipped settings; a gateway belongs in each user's own configuration. Review it before opening the project in an agent.\", \"capability\": \"network_egress\", \"threat_class\": \"risky_construct\"}, {\"id\": \"ST-AGENT-AUTO-APPROVE\", \"category\": \"agent_config\", \"severity\": \"high\", \"title\": \"Agent settings that turn approvals off\", \"description\": \"The component ships agent settings that let the agent act without asking: every shell command allowed, permission prompts bypassed, every project MCP server enabled, or tool calls auto-approved. Opened in that agent, the project runs whatever the agent is told, including by text it reads, without the user seeing it first.\", \"recommendation\": \"Remove these settings from the component, or allow only the specific commands and servers the project needs. Review them before opening the project in an agent.\", \"capability\": \"shell_execution\", \"threat_class\": \"risky_construct\"}, {\"id\": \"ST-AGENT-AUTORUN\", \"category\": \"agent_config\", \"severity\": \"medium\", \"title\": \"Agent or editor configuration runs a command or sends data automatically\", \"description\": \"The component ships agent or IDE configuration that acts without a separate step: a Claude Code / Gemini CLI / Cursor hook, a Claude Code status line or credential helper command, or a VS Code task that runs when the folder opens. Opening the project in that tool runs it with the developer's privileges. An `http` hook (here or in a plugin or skill) posts each event it is bound to, tool input and output included, to a server that is not this machine.\", \"recommendation\": \"Read the command and anything it runs, or the URL a hook posts to, before opening this project in an agent or editor. A published package has no reason to ship project auto-run config.\", \"capability\": \"shell_execution\", \"threat_class\": \"risky_construct\"}, {\"id\": \"ST-AGENT-AUTORUN-REMOTE\", \"category\": \"agent_config\", \"severity\": \"high\", \"title\": \"Auto-run agent configuration fetches or decodes code and executes it\", \"description\": \"A command an agent or editor runs on its own -- a hook or task, an MCP server's launch command, a status line or credential helper, a plugin's monitor or language server, or a hook in a skill's or subagent's frontmatter -- or the script it runs from this component, downloads code and pipes it into a shell or decodes and runs it. Opening the project, installing the plugin or starting the server runs it without a prompt.\", \"recommendation\": \"Do not open the project, install the plugin or add the server. Remove the configuration and treat a machine that already ran it as exposed.\", \"capability\": \"shell_execution\", \"threat_class\": \"malicious_indicator\"}, {\"id\": \"ST-AGENT-CLI-BYPASS\", \"category\": \"agent_config\", \"severity\": \"high\", \"title\": \"Code launches an AI coding CLI with its permission checks disabled\", \"description\": \"Code runs a local AI coding agent (claude, gemini, codex, q ...) with a flag that turns off its approval prompts. The agent then acts with the user's credentials and file access, and nobody confirms what it does.\", \"recommendation\": \"Confirm why the component drives an AI agent unattended and what prompt it sends. Prefer explicit, narrow tool allowlists over disabling approvals.\", \"capability\": \"shell_execution\", \"threat_class\": \"risky_construct\"}, {\"id\": \"ST-AGENT-CLI-RELAY\", \"category\": \"agent_config\", \"severity\": \"high\", \"title\": \"A remote connection drives an AI coding CLI with its permission checks disabled\", \"description\": \"The same file opens an outbound connection to a remote endpoint and launches a local AI coding agent (claude, gemini, codex, q ...) with a flag that turns off its approval prompts. A relay of this shape can feed tasks from a remote server to the user's own agent, which then acts with the user's credentials and file access without asking. Local automation that disables approvals runs against the checkout in front of it and does not also connect to a remote host.\", \"recommendation\": \"Do not install this component. A package has no need to pipe instructions from a remote server into an AI agent running with approvals off; treat a machine that already ran it as exposed.\", \"capability\": \"shell_execution\", \"threat_class\": \"malicious_indicator\"}, {\"id\": \"ST-AGENT-CONFIG-INJECT\", \"category\": \"agent_config\", \"severity\": \"high\", \"title\": \"Code writes to an AI agent's MCP configuration, settings or instruction files\", \"description\": \"The component writes to a config file of a separate AI client (Claude Desktop, Cursor, VS Code, Continue, Windsurf), or, in the user's home directory, to an AI agent's settings, skills, subagents, commands or instruction and memory files (Claude Code, Codex, Gemini CLI, Cursor rules, AGENTS.md, CLAUDE.md). A server, hook or instruction added there loads in the agent's next session. That is expected from a command the user runs to set the agent up, and unexpected from code that runs on install or import.\", \"recommendation\": \"Confirm why the component edits an agent's configuration or instructions. A tool that registers itself should ask the user and write only what it says it writes.\", \"capability\": \"filesystem_write\", \"threat_class\": \"risky_construct\"}, {\"id\": \"ST-AGENT-CONFIG-PERSIST\", \"category\": \"agent_config\", \"severity\": \"high\", \"title\": \"Install- or import-time code writes into the user's AI agent configuration\", \"description\": \"Code that runs when the package is installed or imported (a script an npm install hook runs, a .pth line, setup.py, or the top level of a package module) writes into an AI agent's configuration in the user's home directory (settings, MCP servers, skills, instruction or memory files such as ~/.claude/CLAUDE.md, ~/.codex/AGENTS.md, ~/.gemini/GEMINI.md), or adds a hook or permission entry to agent settings. Every later agent session then loads what was written, without the user having run or seen anything.\", \"recommendation\": \"Do not install this version. Inspect and restore the named agent files on any machine that installed it, and remove hooks, servers and instructions it added.\", \"capability\": \"filesystem_write\", \"threat_class\": \"malicious_indicator\"}, {\"id\": \"ST-AGENT-CRED-HELPER-EXEC\", \"category\": \"agent_config\", \"severity\": \"high\", \"title\": \"Distributable config runs a command that fetches or exfiltrates credentials\", \"description\": \"A JSON configuration artifact (a provider card, profile bundle, or shipped settings.json) defines a Claude Code credential helper (apiKeyHelper, awsAuthRefresh, awsCredentialExport, gcpAuthRefresh, otelHeadersHelper) whose value is a shell command that downloads and runs code, or reads a credential and sends it off-host. C",
              "tool": "list_rules"
            },
            {
              "arguments": {},
              "reply": "[{\"id\": \"ST-ACTION-SECRET-EXFIL\", \"severity\": \"high\", \"category\": \"exfiltration_path\", \"title\": \"CI token sent off GitHub from a composite action\", \"threat_class\": \"malicious_indicator\", \"capability\": \"\"}, {\"id\": \"ST-AGENT-API-REDIRECT\", \"severity\": \"high\", \"category\": \"agent_config\", \"title\": \"Agent settings send model traffic to another host\", \"threat_class\": \"risky_construct\", \"capability\": \"network_egress\"}, {\"id\": \"ST-AGENT-AUTO-APPROVE\", \"severity\": \"high\", \"category\": \"agent_config\", \"title\": \"Agent settings that turn approvals off\", \"threat_class\": \"risky_construct\", \"capability\": \"shell_execution\"}, {\"id\": \"ST-AGENT-AUTORUN\", \"severity\": \"medium\", \"category\": \"agent_config\", \"title\": \"Agent or editor configuration runs a command or sends data automatically\", \"threat_class\": \"risky_construct\", \"capability\": \"shell_execution\"}, {\"id\": \"ST-AGENT-AUTORUN-REMOTE\", \"severity\": \"high\", \"category\": \"agent_config\", \"title\": \"Auto-run agent configuration fetches or decodes code and executes it\", \"threat_class\": \"malicious_indicator\", \"capability\": \"shell_execution\"}, {\"id\": \"ST-AGENT-CLI-BYPASS\", \"severity\": \"high\", \"category\": \"agent_config\", \"title\": \"Code launches an AI coding CLI with its permission checks disabled\", \"threat_class\": \"risky_construct\", \"capability\": \"shell_execution\"}, {\"id\": \"ST-AGENT-CLI-RELAY\", \"severity\": \"high\", \"category\": \"agent_config\", \"title\": \"A remote connection drives an AI coding CLI with its permission checks disabled\", \"threat_class\": \"malicious_indicator\", \"capability\": \"shell_execution\"}, {\"id\": \"ST-AGENT-CONFIG-INJECT\", \"severity\": \"high\", \"category\": \"agent_config\", \"title\": \"Code writes to an AI agent's MCP configuration, settings or instruction files\", \"threat_class\": \"risky_construct\", \"capability\": \"filesystem_write\"}, {\"id\": \"ST-AGENT-CONFIG-PERSIST\", \"severity\": \"high\", \"category\": \"agent_config\", \"title\": \"Install- or import-time code writes into the user's AI agent configuration\", \"threat_class\": \"malicious_indicator\", \"capability\": \"filesystem_write\"}, {\"id\": \"ST-AGENT-CRED-HELPER-EXEC\", \"severity\": \"high\", \"category\": \"agent_config\", \"title\": \"Distributable config runs a command that fetches or exfiltrates credentials\", \"threat_class\": \"malicious_indicator\", \"capability\": \"shell_execution\"}, {\"id\": \"ST-AGENT-DOTENV-EXEC\", \"severity\": \"high\", \"category\": \"agent_config\", \"title\": \"Agent-config dotenv injects a shell command into the sandbox/proxy launcher\", \"threat_class\": \"malicious_indicator\", \"capability\": \"shell_execution\"}, {\"id\": \"ST-AGENT-GITCONFIG-EXEC-REMOTE\", \"severity\": \"high\", \"category\": \"agent_config\", \"title\": \"A shipped .git/config fetches or decodes code and runs it on git status/diff\", \"threat_class\": \"malicious_indicator\", \"capability\": \"shell_execution\"}, {\"id\": \"ST-AGENT-LAUNCHER-HIJACK\", \"severity\": \"high\", \"category\": \"agent_config\", \"title\": \"Launcher hijacks API\", \"threat_class\": \"malicious_indicator\", \"capability\": \"network_egress\"}, {\"id\": \"ST-ARCHIVE-PASSWORD-EXTRACT\", \"severity\": \"high\", \"category\": \"obfuscation\", \"title\": \"Downloaded archive extracted with a password\", \"threat_class\": \"malicious_indicator\", \"capability\": \"shell_execution\"}, {\"id\": \"ST-ARTIFACT-DIRTY-BUILD\", \"severity\": \"medium\", \"category\": \"supply_chain\", \"title\": \"Fetches a build made from uncommitted code\", \"threat_class\": \"risky_construct\", \"capability\": \"\"}, {\"id\": \"ST-ARTIFACT-FOREIGN-IMAGE\", \"severity\": \"high\", \"category\": \"supply_chain\", \"title\": \"Runs a prebuilt image of this project from another publisher\", \"threat_class\": \"risky_construct\", \"capability\": \"\"}, {\"id\": \"ST-ARTIFACT-HTTP-BINARY\", \"severity\": \"medium\", \"category\": \"supply_chain\", \"title\": \"Downloads an executable or archive over plain HTTP\", \"threat_class\": \"risky_construct\", \"capability\": \"\"}, {\"id\": \"ST-ARTIFACT-KNOWN-BAD\", \"severity\": \"critical\", \"category\": \"supply_chain\", \"title\": \"Runs an image that a public report names as trojanized\", \"threat_class\": \"malicious_indicator\", \"capability\": \"\"}, {\"id\": \"ST-AUTH-DELEGATED\", \"severity\": \"low\", \"category\": \"execution_context\", \"title\": \"Delegated authentication (OAuth 2.0 / OIDC)\", \"threat_class\": \"capability\", \"capability\": \"delegated_authentication\"}, {\"id\": \"ST-AUTH-SCOPED\", \"severity\": \"low\", \"category\": \"execution_context\", \"title\": \"Scoped / least-privilege identity\", \"threat_class\": \"capability\", \"capability\": \"scoped_identity\"}, {\"id\": \"ST-CLIPPER\", \"severity\": \"high\", \"category\": \"clipboard_hijack\", \"title\": \"Clipboard address swap (clipper)\", \"threat_class\": \"malicious_indicator\", \"capability\": \"\"}, {\"id\": \"ST-CMDI-NODE\", \"severity\": \"high\", \"category\": \"command_injection\", \"title\": \"Possible command injection (exec with dynamic command)\", \"threat_class\": \"risky_construct\", \"capability\": \"\"}, {\"id\": \"ST-CMDI-PY\", \"severity\": \"high\", \"category\": \"command_injection\", \"title\": \"Possible command injection (shell + dynamic command)\", \"threat_class\": \"risky_construct\", \"capability\": \"\"}, {\"id\": \"ST-COMBO-EXFIL\", \"severity\": \"critical\", \"category\": \"exfiltration_path\", \"title\": \"Sensitive-data access combined with network egress\", \"threat_class\": \"risky_construct\", \"capability\": \"\"}, {\"id\": \"ST-CONVERGENCE\", \"severity\": \"high\", \"category\": \"malware_convergence\", \"title\": \"Multiple malicious indicators in one component\", \"threat_class\": \"risky_construct\", \"capability\": \"\"}, {\"id\": \"ST-DESERIALIZE-PY\", \"severity\": \"high\", \"category\": \"unsafe_deserialization\", \"title\": \"Unsafe deserialization\", \"threat_class\": \"risky_construct\", \"capability\": \"\"}, {\"id\": \"ST-DYN-NODE\", \"severity\": \"high\", \"category\": \"dynamic_code_execution\", \"title\": \"Node.js dynamic code execution\", \"threat_class\": \"capability\", \"capability\": \"dynamic_code_execution\"}, {\"id\": \"ST-DYN-PY\", \"severity\": \"high\", \"category\": \"dynamic_code_execution\", \"title\": \"Python dynamic code execution\", \"threat_class\": \"capability\", \"capability\": \"dynamic_code_execution\"}, {\"id\": \"ST-EMAIL-BCC-EXFIL\", \"severity\": \"medium\", \"category\": \"exfiltration_path\", \"title\": \"Hardcoded BCC/CC recipient in email-sending code\", \"threat_class\": \"risky_construct\", \"capability\": \"\"}, {\"id\": \"ST-ENCRYPTED-ARCHIVE\", \"severity\": \"medium\", \"category\": \"obfuscation\", \"title\": \"Password-protected archive (analysis evasion)\", \"threat_class\": \"risky_construct\", \"capability\": \"\"}, {\"id\": \"ST-ENV-SHIPPED\", \"severity\": \"high\", \"category\": \"sensitive_path\", \"title\": \"Environment file shipped in the released package\", \"threat_class\": \"exposure\", \"capability\": \"\"}, {\"id\": \"ST-EXPOSE-BIND\", \"severity\": \"medium\", \"category\": \"network_exposure\", \"title\": \"Server bound to all network interfaces\", \"threat_class\": \"risky_construct\", \"capability\": \"\"}, {\"id\": \"ST-EXPOSE-DEBUG\", \"severity\": \"medium\", \"category\": \"network_exposure\", \"title\": \"Debug server enabled\", \"threat_class\": \"risky_construct\", \"capability\": \"\"}, {\"id\": \"ST-FLOW-TRIFECTA\", \"severity\": \"high\", \"category\": \"exfiltration_path\", \"title\": \"Untrusted-instruction surface with file access and network egress\", \"threat_class\": \"risky_construct\", \"capability\": \"\"}, {\"id\": \"ST-FS-NODE-READ\", \"severity\": \"medium\", \"category\": \"filesystem\", \"title\": \"Node.js filesystem read\", \"threat_class\": \"capability\", \"capability\": \"filesystem_read\"}, {\"id\": \"ST-FS-NODE-WRITE\", \"severity\": \"medium\", \"category\": \"filesystem\", \"title\": \"Node.js filesystem write/delete\", \"threat_class\": \"capability\", \"capability\": \"filesystem_write\"}, {\"id\": \"ST-FS-PY-READ\", \"severity\": \"medium\", \"category\": \"filesystem\", \"title\": \"Python filesystem read\", \"threat_class\": \"capability\", \"capability\": \"filesystem_read\"}, {\"id\": \"ST-FS-PY-WRITE\", \"severity\": \"medium\", \"category\": \"filesystem\", \"title\": \"Python filesystem write/delete\", \"threat_class\": \"capability\", \"capability\": \"filesystem_write\"}, {\"id\": \"ST-GIT-HOOK-PERSIST\", \"severity\": \"high\", \"category\": \"agent_config\", \"title\": \"Code installs a global git hook / template for persistence\", \"threat_class\": \"risky_construct\", \"capability\": \"shell_execution\"}, {\"id\": \"ST-HIDDEN-ANSI\", \"severit",
              "tool": "list_rules"
            }
          ],
          "task": "List all of SkillTotal's bundled detection rules, including their descriptions and recommendations."
        },
        "type": "noul"
      },
      "w01": {
        "criteria": {
          "false": "The tool replies show an error, a missing or different result, or nothing about the task; or only the agent's final answer claims the task was done.",
          "true": "The tool replies in `steps` show the result that `done_when` describes. The result came from the server's tools, not only from the agent's own words."
        },
        "instructions": {
          "agent_final_answer": "I requested all bundled rules with descriptions and recommendations, but the tool response was truncated. I can report the following rules from the portion returned; **this is not the complete bundled rule set**.\n\n1. **ST-ACTION-SECRET-EXFIL — CI token sent off GitHub from a composite action**  \n   **Description:** Detects a composite GitHub Action step sending a CI token or secret to a non-GitHub host through a network client. Normal use of tokens with GitHub or documented Actions service URLs is excluded.  \n   **Recommendation:** Do not send CI tokens or repository secrets to an uncontrolled host. If a third-party service needs a credential, use a separately scoped secret and its documented endpoint.\n\n2. **ST-AGENT-API-REDIRECT — Agent settings send model traffic to another host**  \n   **Description:** Detects shipped agent settings that point the model API to a host other than the vendor’s or the local machine, potentially sending it the user’s API key, prompts, and code.  \n   **Recommendation:** Remove the address from shipped settings; configure gateways in each user’s own configuration. Review the settings before opening the project in an agent.\n\n3. **ST-AGENT-AUTO-APPROVE — Agent settings that turn approvals off**  \n   **Description:** Detects shipped settings that bypass permission prompts, allow every shell command, enable every project MCP server, or auto-approve tool calls.  \n   **Recommendation:** Remove these settings or allow only the specific commands and servers needed. Review them before opening the project in an agent.\n\n4. **ST-AGENT-AUTORUN — Agent or editor configuration runs a command or sends data automatically**  \n   **Description:** Detects agent or IDE configuration that runs automatically, including hooks, credential helpers, status-line commands, and folder-open tasks. An HTTP hook can also post events and tool inputs and outputs to a remote server.  \n   **Recommendation:** Read the command and anything it runs, or the URL a hook posts to,",
          "done_when": "The tool reply shows a nonempty list of detection rules with descriptions and recommendations.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {
                "verbose": true
              },
              "reply": "[{\"id\": \"ST-ACTION-SECRET-EXFIL\", \"category\": \"exfiltration_path\", \"severity\": \"high\", \"title\": \"CI token sent off GitHub from a composite action\", \"description\": \"A composite GitHub Action's run step sends a continuous-integration secret (GITHUB_TOKEN, an Actions OIDC/runtime token, or a ${{ secrets.* }} / ${{ github.token }} expression) to a non-GitHub host through a network client (curl / wget / Invoke-WebRequest / nc). The step runs on the runner of whoever uses the action, so the token and secrets of every consumer are exfiltrated. Handing the token to gh / git against GitHub, or to the documented Actions service URLs, is not matched.\", \"recommendation\": \"Never send a CI token or repository secret to a host you do not control. If a third-party service needs a credential, use its own scoped secret and send it only to that service's documented endpoint.\", \"capability\": \"\", \"threat_class\": \"malicious_indicator\"}, {\"id\": \"ST-AGENT-API-REDIRECT\", \"category\": \"agent_config\", \"severity\": \"high\", \"title\": \"Agent settings send model traffic to another host\", \"description\": \"The component ships agent settings that point the agent's model API at a host other than the vendor's or this machine. The agent sends that host the user's API key with each request, along with every prompt and the code it reads.\", \"recommendation\": \"Remove the address from the shipped settings; a gateway belongs in each user's own configuration. Review it before opening the project in an agent.\", \"capability\": \"network_egress\", \"threat_class\": \"risky_construct\"}, {\"id\": \"ST-AGENT-AUTO-APPROVE\", \"category\": \"agent_config\", \"severity\": \"high\", \"title\": \"Agent settings that turn approvals off\", \"description\": \"The component ships agent settings that let the agent act without asking: every shell command allowed, permission prompts bypassed, every project MCP server enabled, or tool calls auto-approved. Opened in that agent, the project runs whatever the agent is told, including by text it reads, without the user seeing it first.\", \"recommendation\": \"Remove these settings from the component, or allow only the specific commands and servers the project needs. Review them before opening the project in an agent.\", \"capability\": \"shell_execution\", \"threat_class\": \"risky_construct\"}, {\"id\": \"ST-AGENT-AUTORUN\", \"category\": \"agent_config\", \"severity\": \"medium\", \"title\": \"Agent or editor configuration runs a command or sends data automatically\", \"description\": \"The component ships agent or IDE configuration that acts without a separate step: a Claude Code / Gemini CLI / Cursor hook, a Claude Code status line or credential helper command, or a VS Code task that runs when the folder opens. Opening the project in that tool runs it with the developer's privileges. An `http` hook (here or in a plugin or skill) posts each event it is bound to, tool input and output included, to a server that is not this machine.\", \"recommendation\": \"Read the command and anything it runs, or the URL a hook posts to, before opening this project in an agent or editor. A published package has no reason to ship project auto-run config.\", \"capability\": \"shell_execution\", \"threat_class\": \"risky_construct\"}, {\"id\": \"ST-AGENT-AUTORUN-REMOTE\", \"category\": \"agent_config\", \"severity\": \"high\", \"title\": \"Auto-run agent configuration fetches or decodes code and executes it\", \"description\": \"A command an agent or editor runs on its own -- a hook or task, an MCP server's launch command, a status line or credential helper, a plugin's monitor or language server, or a hook in a skill's or subagent's frontmatter -- or the script it runs from this component, downloads code and pipes it into a shell or decodes and runs it. Opening the project, installing the plugin or starting the server runs it without a prompt.\", \"recommendation\": \"Do not open the project, install the plugin or add the server. Remove the configuration and treat a machine that already ran it as exposed.\", \"capability\": \"shell_execution\", \"threat_class\": \"malicious_indicator\"}, {\"id\": \"ST-AGENT-CLI-BYPASS\", \"category\": \"agent_config\", \"severity\": \"high\", \"title\": \"Code launches an AI coding CLI with its permission checks disabled\", \"description\": \"Code runs a local AI coding agent (claude, gemini, codex, q ...) with a flag that turns off its approval prompts. The agent then acts with the user's credentials and file access, and nobody confirms what it does.\", \"recommendation\": \"Confirm why the component drives an AI agent unattended and what prompt it sends. Prefer explicit, narrow tool allowlists over disabling approvals.\", \"capability\": \"shell_execution\", \"threat_class\": \"risky_construct\"}, {\"id\": \"ST-AGENT-CLI-RELAY\", \"category\": \"agent_config\", \"severity\": \"high\", \"title\": \"A remote connection drives an AI coding CLI with its permission checks disabled\", \"description\": \"The same file opens an outbound connection to a remote endpoint and launches a local AI coding agent (claude, gemini, codex, q ...) with a flag that turns off its approval prompts. A relay of this shape can feed tasks from a remote server to the user's own agent, which then acts with the user's credentials and file access without asking. Local automation that disables approvals runs against the checkout in front of it and does not also connect to a remote host.\", \"recommendation\": \"Do not install this component. A package has no need to pipe instructions from a remote server into an AI agent running with approvals off; treat a machine that already ran it as exposed.\", \"capability\": \"shell_execution\", \"threat_class\": \"malicious_indicator\"}, {\"id\": \"ST-AGENT-CONFIG-INJECT\", \"category\": \"agent_config\", \"severity\": \"high\", \"title\": \"Code writes to an AI agent's MCP configuration, settings or instruction files\", \"description\": \"The component writes to a config file of a separate AI client (Claude Desktop, Cursor, VS Code, Continue, Windsurf), or, in the user's home directory, to an AI agent's settings, skills, subagents, commands or instruction and memory files (Claude Code, Codex, Gemini CLI, Cursor rules, AGENTS.md, CLAUDE.md). A server, hook or instruction added there loads in the agent's next session. That is expected from a command the user runs to set the agent up, and unexpected from code that runs on install or import.\", \"recommendation\": \"Confirm why the component edits an agent's configuration or instructions. A tool that registers itself should ask the user and write only what it says it writes.\", \"capability\": \"filesystem_write\", \"threat_class\": \"risky_construct\"}, {\"id\": \"ST-AGENT-CONFIG-PERSIST\", \"category\": \"agent_config\", \"severity\": \"high\", \"title\": \"Install- or import-time code writes into the user's AI agent configuration\", \"description\": \"Code that runs when the package is installed or imported (a script an npm install hook runs, a .pth line, setup.py, or the top level of a package module) writes into an AI agent's configuration in the user's home directory (settings, MCP servers, skills, instruction or memory files such as ~/.claude/CLAUDE.md, ~/.codex/AGENTS.md, ~/.gemini/GEMINI.md), or adds a hook or permission entry to agent settings. Every later agent session then loads what was written, without the user having run or seen anything.\", \"recommendation\": \"Do not install this version. Inspect and restore the named agent files on any machine that installed it, and remove hooks, servers and instructions it added.\", \"capability\": \"filesystem_write\", \"threat_class\": \"malicious_indicator\"}, {\"id\": \"ST-AGENT-CRED-HELPER-EXEC\", \"category\": \"agent_config\", \"severity\": \"high\", \"title\": \"Distributable config runs a command that fetches or exfiltrates credentials\", \"description\": \"A JSON configuration artifact (a provider card, profile bundle, or shipped settings.json) defines a Claude Code credential helper (apiKeyHelper, awsAuthRefresh, awsCredentialExport, gcpAuthRefresh, otelHeadersHelper) whose value is a shell command that downloads and runs code, or reads a credential and sends it off-host. C",
              "tool": "list_rules"
            },
            {
              "arguments": {},
              "reply": "[{\"id\": \"ST-ACTION-SECRET-EXFIL\", \"severity\": \"high\", \"category\": \"exfiltration_path\", \"title\": \"CI token sent off GitHub from a composite action\", \"threat_class\": \"malicious_indicator\", \"capability\": \"\"}, {\"id\": \"ST-AGENT-API-REDIRECT\", \"severity\": \"high\", \"category\": \"agent_config\", \"title\": \"Agent settings send model traffic to another host\", \"threat_class\": \"risky_construct\", \"capability\": \"network_egress\"}, {\"id\": \"ST-AGENT-AUTO-APPROVE\", \"severity\": \"high\", \"category\": \"agent_config\", \"title\": \"Agent settings that turn approvals off\", \"threat_class\": \"risky_construct\", \"capability\": \"shell_execution\"}, {\"id\": \"ST-AGENT-AUTORUN\", \"severity\": \"medium\", \"category\": \"agent_config\", \"title\": \"Agent or editor configuration runs a command or sends data automatically\", \"threat_class\": \"risky_construct\", \"capability\": \"shell_execution\"}, {\"id\": \"ST-AGENT-AUTORUN-REMOTE\", \"severity\": \"high\", \"category\": \"agent_config\", \"title\": \"Auto-run agent configuration fetches or decodes code and executes it\", \"threat_class\": \"malicious_indicator\", \"capability\": \"shell_execution\"}, {\"id\": \"ST-AGENT-CLI-BYPASS\", \"severity\": \"high\", \"category\": \"agent_config\", \"title\": \"Code launches an AI coding CLI with its permission checks disabled\", \"threat_class\": \"risky_construct\", \"capability\": \"shell_execution\"}, {\"id\": \"ST-AGENT-CLI-RELAY\", \"severity\": \"high\", \"category\": \"agent_config\", \"title\": \"A remote connection drives an AI coding CLI with its permission checks disabled\", \"threat_class\": \"malicious_indicator\", \"capability\": \"shell_execution\"}, {\"id\": \"ST-AGENT-CONFIG-INJECT\", \"severity\": \"high\", \"category\": \"agent_config\", \"title\": \"Code writes to an AI agent's MCP configuration, settings or instruction files\", \"threat_class\": \"risky_construct\", \"capability\": \"filesystem_write\"}, {\"id\": \"ST-AGENT-CONFIG-PERSIST\", \"severity\": \"high\", \"category\": \"agent_config\", \"title\": \"Install- or import-time code writes into the user's AI agent configuration\", \"threat_class\": \"malicious_indicator\", \"capability\": \"filesystem_write\"}, {\"id\": \"ST-AGENT-CRED-HELPER-EXEC\", \"severity\": \"high\", \"category\": \"agent_config\", \"title\": \"Distributable config runs a command that fetches or exfiltrates credentials\", \"threat_class\": \"malicious_indicator\", \"capability\": \"shell_execution\"}, {\"id\": \"ST-AGENT-DOTENV-EXEC\", \"severity\": \"high\", \"category\": \"agent_config\", \"title\": \"Agent-config dotenv injects a shell command into the sandbox/proxy launcher\", \"threat_class\": \"malicious_indicator\", \"capability\": \"shell_execution\"}, {\"id\": \"ST-AGENT-GITCONFIG-EXEC-REMOTE\", \"severity\": \"high\", \"category\": \"agent_config\", \"title\": \"A shipped .git/config fetches or decodes code and runs it on git status/diff\", \"threat_class\": \"malicious_indicator\", \"capability\": \"shell_execution\"}, {\"id\": \"ST-AGENT-LAUNCHER-HIJACK\", \"severity\": \"high\", \"category\": \"agent_config\", \"title\": \"Launcher hijacks API\", \"threat_class\": \"malicious_indicator\", \"capability\": \"network_egress\"}, {\"id\": \"ST-ARCHIVE-PASSWORD-EXTRACT\", \"severity\": \"high\", \"category\": \"obfuscation\", \"title\": \"Downloaded archive extracted with a password\", \"threat_class\": \"malicious_indicator\", \"capability\": \"shell_execution\"}, {\"id\": \"ST-ARTIFACT-DIRTY-BUILD\", \"severity\": \"medium\", \"category\": \"supply_chain\", \"title\": \"Fetches a build made from uncommitted code\", \"threat_class\": \"risky_construct\", \"capability\": \"\"}, {\"id\": \"ST-ARTIFACT-FOREIGN-IMAGE\", \"severity\": \"high\", \"category\": \"supply_chain\", \"title\": \"Runs a prebuilt image of this project from another publisher\", \"threat_class\": \"risky_construct\", \"capability\": \"\"}, {\"id\": \"ST-ARTIFACT-HTTP-BINARY\", \"severity\": \"medium\", \"category\": \"supply_chain\", \"title\": \"Downloads an executable or archive over plain HTTP\", \"threat_class\": \"risky_construct\", \"capability\": \"\"}, {\"id\": \"ST-ARTIFACT-KNOWN-BAD\", \"severity\": \"critical\", \"category\": \"supply_chain\", \"title\": \"Runs an image that a public report names as trojanized\", \"threat_class\": \"malicious_indicator\", \"capability\": \"\"}, {\"id\": \"ST-AUTH-DELEGATED\", \"severity\": \"low\", \"category\": \"execution_context\", \"title\": \"Delegated authentication (OAuth 2.0 / OIDC)\", \"threat_class\": \"capability\", \"capability\": \"delegated_authentication\"}, {\"id\": \"ST-AUTH-SCOPED\", \"severity\": \"low\", \"category\": \"execution_context\", \"title\": \"Scoped / least-privilege identity\", \"threat_class\": \"capability\", \"capability\": \"scoped_identity\"}, {\"id\": \"ST-CLIPPER\", \"severity\": \"high\", \"category\": \"clipboard_hijack\", \"title\": \"Clipboard address swap (clipper)\", \"threat_class\": \"malicious_indicator\", \"capability\": \"\"}, {\"id\": \"ST-CMDI-NODE\", \"severity\": \"high\", \"category\": \"command_injection\", \"title\": \"Possible command injection (exec with dynamic command)\", \"threat_class\": \"risky_construct\", \"capability\": \"\"}, {\"id\": \"ST-CMDI-PY\", \"severity\": \"high\", \"category\": \"command_injection\", \"title\": \"Possible command injection (shell + dynamic command)\", \"threat_class\": \"risky_construct\", \"capability\": \"\"}, {\"id\": \"ST-COMBO-EXFIL\", \"severity\": \"critical\", \"category\": \"exfiltration_path\", \"title\": \"Sensitive-data access combined with network egress\", \"threat_class\": \"risky_construct\", \"capability\": \"\"}, {\"id\": \"ST-CONVERGENCE\", \"severity\": \"high\", \"category\": \"malware_convergence\", \"title\": \"Multiple malicious indicators in one component\", \"threat_class\": \"risky_construct\", \"capability\": \"\"}, {\"id\": \"ST-DESERIALIZE-PY\", \"severity\": \"high\", \"category\": \"unsafe_deserialization\", \"title\": \"Unsafe deserialization\", \"threat_class\": \"risky_construct\", \"capability\": \"\"}, {\"id\": \"ST-DYN-NODE\", \"severity\": \"high\", \"category\": \"dynamic_code_execution\", \"title\": \"Node.js dynamic code execution\", \"threat_class\": \"capability\", \"capability\": \"dynamic_code_execution\"}, {\"id\": \"ST-DYN-PY\", \"severity\": \"high\", \"category\": \"dynamic_code_execution\", \"title\": \"Python dynamic code execution\", \"threat_class\": \"capability\", \"capability\": \"dynamic_code_execution\"}, {\"id\": \"ST-EMAIL-BCC-EXFIL\", \"severity\": \"medium\", \"category\": \"exfiltration_path\", \"title\": \"Hardcoded BCC/CC recipient in email-sending code\", \"threat_class\": \"risky_construct\", \"capability\": \"\"}, {\"id\": \"ST-ENCRYPTED-ARCHIVE\", \"severity\": \"medium\", \"category\": \"obfuscation\", \"title\": \"Password-protected archive (analysis evasion)\", \"threat_class\": \"risky_construct\", \"capability\": \"\"}, {\"id\": \"ST-ENV-SHIPPED\", \"severity\": \"high\", \"category\": \"sensitive_path\", \"title\": \"Environment file shipped in the released package\", \"threat_class\": \"exposure\", \"capability\": \"\"}, {\"id\": \"ST-EXPOSE-BIND\", \"severity\": \"medium\", \"category\": \"network_exposure\", \"title\": \"Server bound to all network interfaces\", \"threat_class\": \"risky_construct\", \"capability\": \"\"}, {\"id\": \"ST-EXPOSE-DEBUG\", \"severity\": \"medium\", \"category\": \"network_exposure\", \"title\": \"Debug server enabled\", \"threat_class\": \"risky_construct\", \"capability\": \"\"}, {\"id\": \"ST-FLOW-TRIFECTA\", \"severity\": \"high\", \"category\": \"exfiltration_path\", \"title\": \"Untrusted-instruction surface with file access and network egress\", \"threat_class\": \"risky_construct\", \"capability\": \"\"}, {\"id\": \"ST-FS-NODE-READ\", \"severity\": \"medium\", \"category\": \"filesystem\", \"title\": \"Node.js filesystem read\", \"threat_class\": \"capability\", \"capability\": \"filesystem_read\"}, {\"id\": \"ST-FS-NODE-WRITE\", \"severity\": \"medium\", \"category\": \"filesystem\", \"title\": \"Node.js filesystem write/delete\", \"threat_class\": \"capability\", \"capability\": \"filesystem_write\"}, {\"id\": \"ST-FS-PY-READ\", \"severity\": \"medium\", \"category\": \"filesystem\", \"title\": \"Python filesystem read\", \"threat_class\": \"capability\", \"capability\": \"filesystem_read\"}, {\"id\": \"ST-FS-PY-WRITE\", \"severity\": \"medium\", \"category\": \"filesystem\", \"title\": \"Python filesystem write/delete\", \"threat_class\": \"capability\", \"capability\": \"filesystem_write\"}, {\"id\": \"ST-GIT-HOOK-PERSIST\", \"severity\": \"high\", \"category\": \"agent_config\", \"title\": \"Code installs a global git hook / template for persistence\", \"threat_class\": \"risky_construct\", \"capability\": \"shell_execution\"}, {\"id\": \"ST-HIDDEN-ANSI\", \"severit",
              "tool": "list_rules"
            }
          ],
          "task": "List all of SkillTotal's bundled detection rules, including their descriptions and recommendations."
        },
        "type": "noul"
      },
      "w02": {
        "criteria": {
          "false": "The tool replies show an error, a missing or different result, or nothing about the task; or only the agent's final answer claims the task was done.",
          "true": "The tool replies in `steps` show the result that `done_when` describes. The result came from the server's tools, not only from the agent's own words."
        },
        "instructions": {
          "agent_final_answer": "I called SkillTotal’s `list_rules` tool with `verbose=true`, but the returned output was truncated. I can therefore report the following rules, but **this is not the complete bundled list**.\n\n1. **ST-ACTION-SECRET-EXFIL — CI token sent off GitHub from a composite action**  \n   **Description:** Detects a composite GitHub Action run step that sends a CI token or secret to a non-GitHub host through a network client.  \n   **Recommendation:** Never send a CI token or repository secret to an uncontrolled host. If a third-party service needs a credential, use its own scoped secret and its documented endpoint.\n\n2. **ST-AGENT-API-REDIRECT — Agent settings send model traffic to another host**  \n   **Description:** Detects shipped agent settings that point the model API at another host, which may receive the user’s API key, prompts, and code.  \n   **Recommendation:** Remove the address from shipped settings; configure gateways individually and review settings before opening the project in an agent.\n\n3. **ST-AGENT-AUTO-APPROVE — Agent settings that turn approvals off**  \n   **Description:** Detects shipped settings that bypass permission prompts, allow every shell command, enable every project MCP server, or otherwise auto-approve tool calls.  \n   **Recommendation:** Remove these settings or restrict them to the specific commands and servers needed. Review them before opening the project.\n\n4. **ST-AGENT-AUTORUN — Agent or editor configuration runs a command or sends data automatically**  \n   **Description:** Detects agent or editor configuration that acts automatically, such as hooks, credential helpers, status-line commands, or tasks that run when a folder opens. An HTTP hook may also send event data to a remote server.  \n   **Recommendation:** Read the command and anything it runs, or the URL a hook posts to, before opening the project in an agent or editor.\n\n5. **ST-AGENT-AUTORUN-REMOTE — Auto-run agent configuration fetches or decodes code and executes it**  \n   **Descripti",
          "done_when": "The tool reply shows a nonempty list of detection rules with descriptions and recommendations.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {
                "verbose": true
              },
              "reply": "[{\"id\": \"ST-ACTION-SECRET-EXFIL\", \"category\": \"exfiltration_path\", \"severity\": \"high\", \"title\": \"CI token sent off GitHub from a composite action\", \"description\": \"A composite GitHub Action's run step sends a continuous-integration secret (GITHUB_TOKEN, an Actions OIDC/runtime token, or a ${{ secrets.* }} / ${{ github.token }} expression) to a non-GitHub host through a network client (curl / wget / Invoke-WebRequest / nc). The step runs on the runner of whoever uses the action, so the token and secrets of every consumer are exfiltrated. Handing the token to gh / git against GitHub, or to the documented Actions service URLs, is not matched.\", \"recommendation\": \"Never send a CI token or repository secret to a host you do not control. If a third-party service needs a credential, use its own scoped secret and send it only to that service's documented endpoint.\", \"capability\": \"\", \"threat_class\": \"malicious_indicator\"}, {\"id\": \"ST-AGENT-API-REDIRECT\", \"category\": \"agent_config\", \"severity\": \"high\", \"title\": \"Agent settings send model traffic to another host\", \"description\": \"The component ships agent settings that point the agent's model API at a host other than the vendor's or this machine. The agent sends that host the user's API key with each request, along with every prompt and the code it reads.\", \"recommendation\": \"Remove the address from the shipped settings; a gateway belongs in each user's own configuration. Review it before opening the project in an agent.\", \"capability\": \"network_egress\", \"threat_class\": \"risky_construct\"}, {\"id\": \"ST-AGENT-AUTO-APPROVE\", \"category\": \"agent_config\", \"severity\": \"high\", \"title\": \"Agent settings that turn approvals off\", \"description\": \"The component ships agent settings that let the agent act without asking: every shell command allowed, permission prompts bypassed, every project MCP server enabled, or tool calls auto-approved. Opened in that agent, the project runs whatever the agent is told, including by text it reads, without the user seeing it first.\", \"recommendation\": \"Remove these settings from the component, or allow only the specific commands and servers the project needs. Review them before opening the project in an agent.\", \"capability\": \"shell_execution\", \"threat_class\": \"risky_construct\"}, {\"id\": \"ST-AGENT-AUTORUN\", \"category\": \"agent_config\", \"severity\": \"medium\", \"title\": \"Agent or editor configuration runs a command or sends data automatically\", \"description\": \"The component ships agent or IDE configuration that acts without a separate step: a Claude Code / Gemini CLI / Cursor hook, a Claude Code status line or credential helper command, or a VS Code task that runs when the folder opens. Opening the project in that tool runs it with the developer's privileges. An `http` hook (here or in a plugin or skill) posts each event it is bound to, tool input and output included, to a server that is not this machine.\", \"recommendation\": \"Read the command and anything it runs, or the URL a hook posts to, before opening this project in an agent or editor. A published package has no reason to ship project auto-run config.\", \"capability\": \"shell_execution\", \"threat_class\": \"risky_construct\"}, {\"id\": \"ST-AGENT-AUTORUN-REMOTE\", \"category\": \"agent_config\", \"severity\": \"high\", \"title\": \"Auto-run agent configuration fetches or decodes code and executes it\", \"description\": \"A command an agent or editor runs on its own -- a hook or task, an MCP server's launch command, a status line or credential helper, a plugin's monitor or language server, or a hook in a skill's or subagent's frontmatter -- or the script it runs from this component, downloads code and pipes it into a shell or decodes and runs it. Opening the project, installing the plugin or starting the server runs it without a prompt.\", \"recommendation\": \"Do not open the project, install the plugin or add the server. Remove the configuration and treat a machine that already ran it as exposed.\", \"capability\": \"shell_execution\", \"threat_class\": \"malicious_indicator\"}, {\"id\": \"ST-AGENT-CLI-BYPASS\", \"category\": \"agent_config\", \"severity\": \"high\", \"title\": \"Code launches an AI coding CLI with its permission checks disabled\", \"description\": \"Code runs a local AI coding agent (claude, gemini, codex, q ...) with a flag that turns off its approval prompts. The agent then acts with the user's credentials and file access, and nobody confirms what it does.\", \"recommendation\": \"Confirm why the component drives an AI agent unattended and what prompt it sends. Prefer explicit, narrow tool allowlists over disabling approvals.\", \"capability\": \"shell_execution\", \"threat_class\": \"risky_construct\"}, {\"id\": \"ST-AGENT-CLI-RELAY\", \"category\": \"agent_config\", \"severity\": \"high\", \"title\": \"A remote connection drives an AI coding CLI with its permission checks disabled\", \"description\": \"The same file opens an outbound connection to a remote endpoint and launches a local AI coding agent (claude, gemini, codex, q ...) with a flag that turns off its approval prompts. A relay of this shape can feed tasks from a remote server to the user's own agent, which then acts with the user's credentials and file access without asking. Local automation that disables approvals runs against the checkout in front of it and does not also connect to a remote host.\", \"recommendation\": \"Do not install this component. A package has no need to pipe instructions from a remote server into an AI agent running with approvals off; treat a machine that already ran it as exposed.\", \"capability\": \"shell_execution\", \"threat_class\": \"malicious_indicator\"}, {\"id\": \"ST-AGENT-CONFIG-INJECT\", \"category\": \"agent_config\", \"severity\": \"high\", \"title\": \"Code writes to an AI agent's MCP configuration, settings or instruction files\", \"description\": \"The component writes to a config file of a separate AI client (Claude Desktop, Cursor, VS Code, Continue, Windsurf), or, in the user's home directory, to an AI agent's settings, skills, subagents, commands or instruction and memory files (Claude Code, Codex, Gemini CLI, Cursor rules, AGENTS.md, CLAUDE.md). A server, hook or instruction added there loads in the agent's next session. That is expected from a command the user runs to set the agent up, and unexpected from code that runs on install or import.\", \"recommendation\": \"Confirm why the component edits an agent's configuration or instructions. A tool that registers itself should ask the user and write only what it says it writes.\", \"capability\": \"filesystem_write\", \"threat_class\": \"risky_construct\"}, {\"id\": \"ST-AGENT-CONFIG-PERSIST\", \"category\": \"agent_config\", \"severity\": \"high\", \"title\": \"Install- or import-time code writes into the user's AI agent configuration\", \"description\": \"Code that runs when the package is installed or imported (a script an npm install hook runs, a .pth line, setup.py, or the top level of a package module) writes into an AI agent's configuration in the user's home directory (settings, MCP servers, skills, instruction or memory files such as ~/.claude/CLAUDE.md, ~/.codex/AGENTS.md, ~/.gemini/GEMINI.md), or adds a hook or permission entry to agent settings. Every later agent session then loads what was written, without the user having run or seen anything.\", \"recommendation\": \"Do not install this version. Inspect and restore the named agent files on any machine that installed it, and remove hooks, servers and instructions it added.\", \"capability\": \"filesystem_write\", \"threat_class\": \"malicious_indicator\"}, {\"id\": \"ST-AGENT-CRED-HELPER-EXEC\", \"category\": \"agent_config\", \"severity\": \"high\", \"title\": \"Distributable config runs a command that fetches or exfiltrates credentials\", \"description\": \"A JSON configuration artifact (a provider card, profile bundle, or shipped settings.json) defines a Claude Code credential helper (apiKeyHelper, awsAuthRefresh, awsCredentialExport, gcpAuthRefresh, otelHeadersHelper) whose value is a shell command that downloads and runs code, or reads a credential and sends it off-host. C",
              "tool": "list_rules"
            },
            {
              "arguments": {},
              "reply": "[{\"id\": \"ST-ACTION-SECRET-EXFIL\", \"severity\": \"high\", \"category\": \"exfiltration_path\", \"title\": \"CI token sent off GitHub from a composite action\", \"threat_class\": \"malicious_indicator\", \"capability\": \"\"}, {\"id\": \"ST-AGENT-API-REDIRECT\", \"severity\": \"high\", \"category\": \"agent_config\", \"title\": \"Agent settings send model traffic to another host\", \"threat_class\": \"risky_construct\", \"capability\": \"network_egress\"}, {\"id\": \"ST-AGENT-AUTO-APPROVE\", \"severity\": \"high\", \"category\": \"agent_config\", \"title\": \"Agent settings that turn approvals off\", \"threat_class\": \"risky_construct\", \"capability\": \"shell_execution\"}, {\"id\": \"ST-AGENT-AUTORUN\", \"severity\": \"medium\", \"category\": \"agent_config\", \"title\": \"Agent or editor configuration runs a command or sends data automatically\", \"threat_class\": \"risky_construct\", \"capability\": \"shell_execution\"}, {\"id\": \"ST-AGENT-AUTORUN-REMOTE\", \"severity\": \"high\", \"category\": \"agent_config\", \"title\": \"Auto-run agent configuration fetches or decodes code and executes it\", \"threat_class\": \"malicious_indicator\", \"capability\": \"shell_execution\"}, {\"id\": \"ST-AGENT-CLI-BYPASS\", \"severity\": \"high\", \"category\": \"agent_config\", \"title\": \"Code launches an AI coding CLI with its permission checks disabled\", \"threat_class\": \"risky_construct\", \"capability\": \"shell_execution\"}, {\"id\": \"ST-AGENT-CLI-RELAY\", \"severity\": \"high\", \"category\": \"agent_config\", \"title\": \"A remote connection drives an AI coding CLI with its permission checks disabled\", \"threat_class\": \"malicious_indicator\", \"capability\": \"shell_execution\"}, {\"id\": \"ST-AGENT-CONFIG-INJECT\", \"severity\": \"high\", \"category\": \"agent_config\", \"title\": \"Code writes to an AI agent's MCP configuration, settings or instruction files\", \"threat_class\": \"risky_construct\", \"capability\": \"filesystem_write\"}, {\"id\": \"ST-AGENT-CONFIG-PERSIST\", \"severity\": \"high\", \"category\": \"agent_config\", \"title\": \"Install- or import-time code writes into the user's AI agent configuration\", \"threat_class\": \"malicious_indicator\", \"capability\": \"filesystem_write\"}, {\"id\": \"ST-AGENT-CRED-HELPER-EXEC\", \"severity\": \"high\", \"category\": \"agent_config\", \"title\": \"Distributable config runs a command that fetches or exfiltrates credentials\", \"threat_class\": \"malicious_indicator\", \"capability\": \"shell_execution\"}, {\"id\": \"ST-AGENT-DOTENV-EXEC\", \"severity\": \"high\", \"category\": \"agent_config\", \"title\": \"Agent-config dotenv injects a shell command into the sandbox/proxy launcher\", \"threat_class\": \"malicious_indicator\", \"capability\": \"shell_execution\"}, {\"id\": \"ST-AGENT-GITCONFIG-EXEC-REMOTE\", \"severity\": \"high\", \"category\": \"agent_config\", \"title\": \"A shipped .git/config fetches or decodes code and runs it on git status/diff\", \"threat_class\": \"malicious_indicator\", \"capability\": \"shell_execution\"}, {\"id\": \"ST-AGENT-LAUNCHER-HIJACK\", \"severity\": \"high\", \"category\": \"agent_config\", \"title\": \"Launcher hijacks API\", \"threat_class\": \"malicious_indicator\", \"capability\": \"network_egress\"}, {\"id\": \"ST-ARCHIVE-PASSWORD-EXTRACT\", \"severity\": \"high\", \"category\": \"obfuscation\", \"title\": \"Downloaded archive extracted with a password\", \"threat_class\": \"malicious_indicator\", \"capability\": \"shell_execution\"}, {\"id\": \"ST-ARTIFACT-DIRTY-BUILD\", \"severity\": \"medium\", \"category\": \"supply_chain\", \"title\": \"Fetches a build made from uncommitted code\", \"threat_class\": \"risky_construct\", \"capability\": \"\"}, {\"id\": \"ST-ARTIFACT-FOREIGN-IMAGE\", \"severity\": \"high\", \"category\": \"supply_chain\", \"title\": \"Runs a prebuilt image of this project from another publisher\", \"threat_class\": \"risky_construct\", \"capability\": \"\"}, {\"id\": \"ST-ARTIFACT-HTTP-BINARY\", \"severity\": \"medium\", \"category\": \"supply_chain\", \"title\": \"Downloads an executable or archive over plain HTTP\", \"threat_class\": \"risky_construct\", \"capability\": \"\"}, {\"id\": \"ST-ARTIFACT-KNOWN-BAD\", \"severity\": \"critical\", \"category\": \"supply_chain\", \"title\": \"Runs an image that a public report names as trojanized\", \"threat_class\": \"malicious_indicator\", \"capability\": \"\"}, {\"id\": \"ST-AUTH-DELEGATED\", \"severity\": \"low\", \"category\": \"execution_context\", \"title\": \"Delegated authentication (OAuth 2.0 / OIDC)\", \"threat_class\": \"capability\", \"capability\": \"delegated_authentication\"}, {\"id\": \"ST-AUTH-SCOPED\", \"severity\": \"low\", \"category\": \"execution_context\", \"title\": \"Scoped / least-privilege identity\", \"threat_class\": \"capability\", \"capability\": \"scoped_identity\"}, {\"id\": \"ST-CLIPPER\", \"severity\": \"high\", \"category\": \"clipboard_hijack\", \"title\": \"Clipboard address swap (clipper)\", \"threat_class\": \"malicious_indicator\", \"capability\": \"\"}, {\"id\": \"ST-CMDI-NODE\", \"severity\": \"high\", \"category\": \"command_injection\", \"title\": \"Possible command injection (exec with dynamic command)\", \"threat_class\": \"risky_construct\", \"capability\": \"\"}, {\"id\": \"ST-CMDI-PY\", \"severity\": \"high\", \"category\": \"command_injection\", \"title\": \"Possible command injection (shell + dynamic command)\", \"threat_class\": \"risky_construct\", \"capability\": \"\"}, {\"id\": \"ST-COMBO-EXFIL\", \"severity\": \"critical\", \"category\": \"exfiltration_path\", \"title\": \"Sensitive-data access combined with network egress\", \"threat_class\": \"risky_construct\", \"capability\": \"\"}, {\"id\": \"ST-CONVERGENCE\", \"severity\": \"high\", \"category\": \"malware_convergence\", \"title\": \"Multiple malicious indicators in one component\", \"threat_class\": \"risky_construct\", \"capability\": \"\"}, {\"id\": \"ST-DESERIALIZE-PY\", \"severity\": \"high\", \"category\": \"unsafe_deserialization\", \"title\": \"Unsafe deserialization\", \"threat_class\": \"risky_construct\", \"capability\": \"\"}, {\"id\": \"ST-DYN-NODE\", \"severity\": \"high\", \"category\": \"dynamic_code_execution\", \"title\": \"Node.js dynamic code execution\", \"threat_class\": \"capability\", \"capability\": \"dynamic_code_execution\"}, {\"id\": \"ST-DYN-PY\", \"severity\": \"high\", \"category\": \"dynamic_code_execution\", \"title\": \"Python dynamic code execution\", \"threat_class\": \"capability\", \"capability\": \"dynamic_code_execution\"}, {\"id\": \"ST-EMAIL-BCC-EXFIL\", \"severity\": \"medium\", \"category\": \"exfiltration_path\", \"title\": \"Hardcoded BCC/CC recipient in email-sending code\", \"threat_class\": \"risky_construct\", \"capability\": \"\"}, {\"id\": \"ST-ENCRYPTED-ARCHIVE\", \"severity\": \"medium\", \"category\": \"obfuscation\", \"title\": \"Password-protected archive (analysis evasion)\", \"threat_class\": \"risky_construct\", \"capability\": \"\"}, {\"id\": \"ST-ENV-SHIPPED\", \"severity\": \"high\", \"category\": \"sensitive_path\", \"title\": \"Environment file shipped in the released package\", \"threat_class\": \"exposure\", \"capability\": \"\"}, {\"id\": \"ST-EXPOSE-BIND\", \"severity\": \"medium\", \"category\": \"network_exposure\", \"title\": \"Server bound to all network interfaces\", \"threat_class\": \"risky_construct\", \"capability\": \"\"}, {\"id\": \"ST-EXPOSE-DEBUG\", \"severity\": \"medium\", \"category\": \"network_exposure\", \"title\": \"Debug server enabled\", \"threat_class\": \"risky_construct\", \"capability\": \"\"}, {\"id\": \"ST-FLOW-TRIFECTA\", \"severity\": \"high\", \"category\": \"exfiltration_path\", \"title\": \"Untrusted-instruction surface with file access and network egress\", \"threat_class\": \"risky_construct\", \"capability\": \"\"}, {\"id\": \"ST-FS-NODE-READ\", \"severity\": \"medium\", \"category\": \"filesystem\", \"title\": \"Node.js filesystem read\", \"threat_class\": \"capability\", \"capability\": \"filesystem_read\"}, {\"id\": \"ST-FS-NODE-WRITE\", \"severity\": \"medium\", \"category\": \"filesystem\", \"title\": \"Node.js filesystem write/delete\", \"threat_class\": \"capability\", \"capability\": \"filesystem_write\"}, {\"id\": \"ST-FS-PY-READ\", \"severity\": \"medium\", \"category\": \"filesystem\", \"title\": \"Python filesystem read\", \"threat_class\": \"capability\", \"capability\": \"filesystem_read\"}, {\"id\": \"ST-FS-PY-WRITE\", \"severity\": \"medium\", \"category\": \"filesystem\", \"title\": \"Python filesystem write/delete\", \"threat_class\": \"capability\", \"capability\": \"filesystem_write\"}, {\"id\": \"ST-GIT-HOOK-PERSIST\", \"severity\": \"high\", \"category\": \"agent_config\", \"title\": \"Code installs a global git hook / template for persistence\", \"threat_class\": \"risky_construct\", \"capability\": \"shell_execution\"}, {\"id\": \"ST-HIDDEN-ANSI\", \"severit",
              "tool": "list_rules"
            },
            {
              "arguments": {
                "ids": [
                  "ST-AGENT-CRED-HELPER-EXEC"
                ],
                "verbose": true
              },
              "reply": "[{\"id\": \"ST-AGENT-CRED-HELPER-EXEC\", \"category\": \"agent_config\", \"severity\": \"high\", \"title\": \"Distributable config runs a command that fetches or exfiltrates credentials\", \"description\": \"A JSON configuration artifact (a provider card, profile bundle, or shipped settings.json) defines a Claude Code credential helper (apiKeyHelper, awsAuthRefresh, awsCredentialExport, gcpAuthRefresh, otelHeadersHelper) whose value is a shell command that downloads and runs code, or reads a credential and sends it off-host. Claude Code runs that command whenever it needs a key or a header, so importing or copying this config into the user's settings executes it.\", \"recommendation\": \"Do not import this config. A credential helper should reference a local credential tool, never fetch-and-run or pipe a secret to a network client. Treat a machine that already imported it as exposed and rotate the affected keys.\", \"capability\": \"shell_execution\", \"threat_class\": \"malicious_indicator\"}]",
              "tool": "list_rules"
            }
          ],
          "task": "List all of SkillTotal's bundled detection rules, including their descriptions and recommendations."
        },
        "type": "noul"
      },
      "w03": {
        "criteria": {
          "false": "The tool replies show an error, a missing or different result, or nothing about the task; or only the agent's final answer claims the task was done.",
          "true": "The tool replies in `steps` show the result that `done_when` describes. The result came from the server's tools, not only from the agent's own words."
        },
        "instructions": {
          "agent_final_answer": "### ST-SHELL-PIPE-EXEC\n\n- **Title:** Remote pipe-to-shell execution\n- **Category:** `shell_execution`\n- **Severity:** High\n- **Threat class:** `risky_construct`\n- **Capability:** `shell_execution`\n\n**Description:** A remotely fetched payload is piped straight into a shell (e.g. `curl ... | bash`). The component runs code downloaded at runtime, which is unreviewable and a common second-stage delivery vector.\n\n**Recommendation:** Download to a file, inspect it, and run a pinned/verified copy instead of piping a network response directly into a shell.",
          "done_when": "The tool reply shows the ST-SHELL-PIPE-EXEC rule with its description and recommendation.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {
                "ids": [
                  "ST-SHELL-PIPE-EXEC"
                ],
                "verbose": true
              },
              "reply": "[{\"id\": \"ST-SHELL-PIPE-EXEC\", \"category\": \"shell_execution\", \"severity\": \"high\", \"title\": \"Remote pipe-to-shell execution\", \"description\": \"A remotely fetched payload is piped straight into a shell (e.g. `curl ... | bash`). The component runs code downloaded at runtime, which is unreviewable and a common second-stage delivery vector.\", \"recommendation\": \"Download to a file, inspect it, and run a pinned/verified copy instead of piping a network response directly into a shell.\", \"capability\": \"shell_execution\", \"threat_class\": \"risky_construct\"}]",
              "tool": "list_rules"
            }
          ],
          "task": "Look up the detection rule ST-SHELL-PIPE-EXEC and show its full details, including its description and recommendation."
        },
        "type": "noul"
      },
      "w04": {
        "criteria": {
          "false": "The tool replies show an error, a missing or different result, or nothing about the task; or only the agent's final answer claims the task was done.",
          "true": "The tool replies in `steps` show the result that `done_when` describes. The result came from the server's tools, not only from the agent's own words."
        },
        "instructions": {
          "agent_final_answer": "I looked up **ST-SHELL-PIPE-EXEC**. The tool returned these full details:\n\n- **Title:** Remote pipe-to-shell execution\n- **Category:** `shell_execution`\n- **Severity:** High\n- **Threat class:** `risky_construct`\n- **Capability:** `shell_execution`\n- **Description:** A remotely fetched payload is piped straight into a shell (e.g. `curl ... | bash`). The component runs code downloaded at runtime, which is unreviewable and a common second-stage delivery vector.\n- **Recommendation:** Download to a file, inspect it, and run a pinned/verified copy instead of piping a network response directly into a shell.",
          "done_when": "The tool reply shows the ST-SHELL-PIPE-EXEC rule with its description and recommendation.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {
                "ids": [
                  "ST-SHELL-PIPE-EXEC"
                ],
                "verbose": true
              },
              "reply": "[{\"id\": \"ST-SHELL-PIPE-EXEC\", \"category\": \"shell_execution\", \"severity\": \"high\", \"title\": \"Remote pipe-to-shell execution\", \"description\": \"A remotely fetched payload is piped straight into a shell (e.g. `curl ... | bash`). The component runs code downloaded at runtime, which is unreviewable and a common second-stage delivery vector.\", \"recommendation\": \"Download to a file, inspect it, and run a pinned/verified copy instead of piping a network response directly into a shell.\", \"capability\": \"shell_execution\", \"threat_class\": \"risky_construct\"}]",
              "tool": "list_rules"
            }
          ],
          "task": "Look up the detection rule ST-SHELL-PIPE-EXEC and show its full details, including its description and recommendation."
        },
        "type": "noul"
      },
      "w05": {
        "criteria": {
          "false": "The tool replies show an error, a missing or different result, or nothing about the task; or only the agent's final answer claims the task was done.",
          "true": "The tool replies in `steps` show the result that `done_when` describes. The result came from the server's tools, not only from the agent's own words."
        },
        "instructions": {
          "agent_final_answer": "I looked up **ST-SHELL-PIPE-EXEC**. The tool returned:\n\n- **Title:** Remote pipe-to-shell execution\n- **Category:** `shell_execution`\n- **Severity:** High\n- **Threat class:** `risky_construct`\n- **Capability:** `shell_execution`\n- **Description:** A remotely fetched payload is piped straight into a shell (e.g. `curl ... | bash`). The component runs code downloaded at runtime, which is unreviewable and a common second-stage delivery vector.\n- **Recommendation:** Download to a file, inspect it, and run a pinned/verified copy instead of piping a network response directly into a shell.",
          "done_when": "The tool reply shows the ST-SHELL-PIPE-EXEC rule with its description and recommendation.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {
                "ids": [
                  "ST-SHELL-PIPE-EXEC"
                ],
                "verbose": true
              },
              "reply": "[{\"id\": \"ST-SHELL-PIPE-EXEC\", \"category\": \"shell_execution\", \"severity\": \"high\", \"title\": \"Remote pipe-to-shell execution\", \"description\": \"A remotely fetched payload is piped straight into a shell (e.g. `curl ... | bash`). The component runs code downloaded at runtime, which is unreviewable and a common second-stage delivery vector.\", \"recommendation\": \"Download to a file, inspect it, and run a pinned/verified copy instead of piping a network response directly into a shell.\", \"capability\": \"shell_execution\", \"threat_class\": \"risky_construct\"}]",
              "tool": "list_rules"
            }
          ],
          "task": "Look up the detection rule ST-SHELL-PIPE-EXEC and show its full details, including its description and recommendation."
        },
        "type": "noul"
      },
      "w06": {
        "criteria": {
          "false": "The tool replies show an error, a missing or different result, or nothing about the task; or only the agent's final answer claims the task was done.",
          "true": "The tool replies in `steps` show the result that `done_when` describes. The result came from the server's tools, not only from the agent's own words."
        },
        "instructions": {
          "agent_final_answer": "Scanned `/home/lab/work/new`.\n\n**Verdict: Low risk (0/100).** The scanner found no malicious indicators or risky constructs. It identified one shell-execution capability, which was not scored as a risk finding.\n\n**Evidence:** `app.py:2` invokes a shell command using Python’s `os.system`:\n\n```python\nos.system('echo hello')\n```\n\nThe scanner recommends confirming that commands and arguments are controlled and not derived from untrusted input. The scan did not check dependencies, known vulnerabilities, or runtime behavior.",
          "done_when": "The scan_component reply reports a verdict and identifies shell execution with evidence referencing app.py or its os.system call.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {
                "detail": "full",
                "source": "/home/lab/work/new"
              },
              "reply": "{\"component\": {\"name\": \"new\", \"type\": \"directory\", \"source\": \"/home/lab/work/new\", \"version\": \"\", \"download_url\": null}, \"risk_score\": 0, \"risk_level\": \"low\", \"summary\": \"Risk level LOW (score 0/100). 0 risk finding(s), 1 capability finding(s) (not scored); capabilities: shell_execution.\", \"verdict\": {\"level\": \"low\", \"headline\": \"No malicious indicators - review capabilities before installing\", \"has_malicious_indicators\": false, \"reasons\": [\"Python shell/command execution\"], \"malicious_indicators\": 0, \"risky_constructs\": 0, \"exposed_secrets\": 0, \"capabilities\": 1}, \"capabilities\": {\"shell_execution\": [{\"file\": \"app.py\", \"line_start\": 2, \"line_end\": 2, \"snippet\": \"os.system('echo hello')\"}]}, \"traits\": [{\"trait\": \"execution_authority\", \"title\": \"Execution authority\", \"description\": \"Can execute shell commands or run dynamically-constructed code.\", \"emergent\": false, \"crosswalk\": {\"csa_trait\": \"Tool Access Control / Direct Tool Access\", \"csa_risk\": \"Excessive ambient authority; uncontrolled tool selection and sequencing\", \"maestro_layers\": [{\"id\": \"L3\", \"name\": \"Agent Frameworks\"}, {\"id\": \"L4\", \"name\": \"Deployment & Infrastructure\"}], \"atlas_tactics\": []}, \"evidence\": [{\"file\": \"app.py\", \"line_start\": 2, \"line_end\": 2, \"snippet\": \"os.system('echo hello')\"}]}], \"findings\": [{\"id\": \"ST-SHELL-PY\", \"severity\": \"high\", \"category\": \"shell_execution\", \"title\": \"Python shell/command execution\", \"description\": \"Python APIs that spawn OS processes were detected (subprocess / os.system / os.popen).\", \"evidence\": [{\"file\": \"app.py\", \"line_start\": 2, \"line_end\": 2, \"snippet\": \"os.system('echo hello')\"}], \"recommendation\": \"Confirm the command and its arguments are fully controlled and not derived from untrusted input; avoid shell=True.\", \"threat_class\": \"capability\", \"owasp\": []}], \"needs_review\": [], \"metadata\": {\"skilltotal_version\": \"1.1.0\", \"schema_version\": \"1.11\", \"ruleset_version\": 100, \"generated_at\": \"2026-11-23T04:52:16.412191+00:00\", \"files_indexed\": 1, \"files_skipped_binary\": 0, \"files_skipped_large\": 0, \"scanners_run\": [\"python_ast\", \"shell_exec\", \"shell_script\", \"shell_evasion\", \"postex\", \"filesystem\", \"sensitive_paths\", \"network\", \"oauth_auth\", \"oauth_discovery_injection\", \"scoped_identity\", \"install_scripts\", \"install_payload\", \"dynamic_code\", \"obfuscation\", \"pth_exec\", \"mcp\", \"prompt_surface\", \"invisible_unicode\", \"secrets\", \"exposure\", \"encrypted_archive\", \"email_exfil\", \"secret_exfil\", \"agent_config\", \"config_exec\", \"stdlib_shadow\", \"pypi_malware\", \"clipper\", \"npm_supply\", \"npm_install_threats\", \"artifact_provenance\", \"agent_approval\", \"skill_fetch_exec\", \"skill_directives\", \"mcp_pinning\", \"mcp_elicitation\", \"mcp_annotations\", \"dependency_redirect\", \"workflow_exfil\", \"html_file_exfil\", \"fetch_tunnel_launcher\"], \"findings_by_severity\": {\"critical\": 0, \"high\": 1, \"medium\": 0, \"low\": 0}, \"suppressed_count\": 0}}",
              "tool": "scan_component"
            }
          ],
          "task": "Scan /home/lab/work/new and report its verdict and any shell-execution capability, including evidence."
        },
        "type": "noul"
      },
      "w07": {
        "criteria": {
          "false": "The tool replies show an error, a missing or different result, or nothing about the task; or only the agent's final answer claims the task was done.",
          "true": "The tool replies in `steps` show the result that `done_when` describes. The result came from the server's tools, not only from the agent's own words."
        },
        "instructions": {
          "agent_final_answer": "**Verdict: Low risk (0/100).** The scan found no malicious indicators or risky constructs. It identified one shell-execution capability, which was not scored as a risk finding.\n\n**Evidence:** `app.py`, line 2:\n```python\nos.system('echo hello')\n```\nThis call can execute a shell command; the command shown is the literal `echo hello`.\n\nThe scan was static. It did not check dependency code, known vulnerabilities, or runtime behavior.",
          "done_when": "The scan_component reply reports a verdict and identifies shell execution with evidence referencing app.py or its os.system call.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {
                "detail": "full",
                "source": "/home/lab/work/new"
              },
              "reply": "{\"component\": {\"name\": \"new\", \"type\": \"directory\", \"source\": \"/home/lab/work/new\", \"version\": \"\", \"download_url\": null}, \"risk_score\": 0, \"risk_level\": \"low\", \"summary\": \"Risk level LOW (score 0/100). 0 risk finding(s), 1 capability finding(s) (not scored); capabilities: shell_execution.\", \"verdict\": {\"level\": \"low\", \"headline\": \"No malicious indicators - review capabilities before installing\", \"has_malicious_indicators\": false, \"reasons\": [\"Python shell/command execution\"], \"malicious_indicators\": 0, \"risky_constructs\": 0, \"exposed_secrets\": 0, \"capabilities\": 1}, \"capabilities\": {\"shell_execution\": [{\"file\": \"app.py\", \"line_start\": 2, \"line_end\": 2, \"snippet\": \"os.system('echo hello')\"}]}, \"traits\": [{\"trait\": \"execution_authority\", \"title\": \"Execution authority\", \"description\": \"Can execute shell commands or run dynamically-constructed code.\", \"emergent\": false, \"crosswalk\": {\"csa_trait\": \"Tool Access Control / Direct Tool Access\", \"csa_risk\": \"Excessive ambient authority; uncontrolled tool selection and sequencing\", \"maestro_layers\": [{\"id\": \"L3\", \"name\": \"Agent Frameworks\"}, {\"id\": \"L4\", \"name\": \"Deployment & Infrastructure\"}], \"atlas_tactics\": []}, \"evidence\": [{\"file\": \"app.py\", \"line_start\": 2, \"line_end\": 2, \"snippet\": \"os.system('echo hello')\"}]}], \"findings\": [{\"id\": \"ST-SHELL-PY\", \"severity\": \"high\", \"category\": \"shell_execution\", \"title\": \"Python shell/command execution\", \"description\": \"Python APIs that spawn OS processes were detected (subprocess / os.system / os.popen).\", \"evidence\": [{\"file\": \"app.py\", \"line_start\": 2, \"line_end\": 2, \"snippet\": \"os.system('echo hello')\"}], \"recommendation\": \"Confirm the command and its arguments are fully controlled and not derived from untrusted input; avoid shell=True.\", \"threat_class\": \"capability\", \"owasp\": []}], \"needs_review\": [], \"metadata\": {\"skilltotal_version\": \"1.1.0\", \"schema_version\": \"1.11\", \"ruleset_version\": 100, \"generated_at\": \"2026-11-23T04:52:21.915476+00:00\", \"files_indexed\": 1, \"files_skipped_binary\": 0, \"files_skipped_large\": 0, \"scanners_run\": [\"python_ast\", \"shell_exec\", \"shell_script\", \"shell_evasion\", \"postex\", \"filesystem\", \"sensitive_paths\", \"network\", \"oauth_auth\", \"oauth_discovery_injection\", \"scoped_identity\", \"install_scripts\", \"install_payload\", \"dynamic_code\", \"obfuscation\", \"pth_exec\", \"mcp\", \"prompt_surface\", \"invisible_unicode\", \"secrets\", \"exposure\", \"encrypted_archive\", \"email_exfil\", \"secret_exfil\", \"agent_config\", \"config_exec\", \"stdlib_shadow\", \"pypi_malware\", \"clipper\", \"npm_supply\", \"npm_install_threats\", \"artifact_provenance\", \"agent_approval\", \"skill_fetch_exec\", \"skill_directives\", \"mcp_pinning\", \"mcp_elicitation\", \"mcp_annotations\", \"dependency_redirect\", \"workflow_exfil\", \"html_file_exfil\", \"fetch_tunnel_launcher\"], \"findings_by_severity\": {\"critical\": 0, \"high\": 1, \"medium\": 0, \"low\": 0}, \"suppressed_count\": 0}}",
              "tool": "scan_component"
            }
          ],
          "task": "Scan /home/lab/work/new and report its verdict and any shell-execution capability, including evidence."
        },
        "type": "noul"
      },
      "w08": {
        "criteria": {
          "false": "The tool replies show an error, a missing or different result, or nothing about the task; or only the agent's final answer claims the task was done.",
          "true": "The tool replies in `steps` show the result that `done_when` describes. The result came from the server's tools, not only from the agent's own words."
        },
        "instructions": {
          "agent_final_answer": "Scanned `/home/lab/work/new`.\n\n**Verdict: Low risk (0/100).** The scanner found no malicious indicators or risky constructs. It identified one shell-execution capability, which is not itself scored as a risk.\n\n**Evidence:** `app.py`, line 2:\n```python\nos.system('echo hello')\n```\nThis calls a Python API that can execute shell commands. The observed command is a fixed `echo hello`.\n\nThe scan was static; it did not execute the component or check dependency code, known vulnerabilities, or runtime behavior.",
          "done_when": "The scan_component reply reports a verdict and identifies shell execution with evidence referencing app.py or its os.system call.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {
                "detail": "full",
                "source": "/home/lab/work/new"
              },
              "reply": "{\"component\": {\"name\": \"new\", \"type\": \"directory\", \"source\": \"/home/lab/work/new\", \"version\": \"\", \"download_url\": null}, \"risk_score\": 0, \"risk_level\": \"low\", \"summary\": \"Risk level LOW (score 0/100). 0 risk finding(s), 1 capability finding(s) (not scored); capabilities: shell_execution.\", \"verdict\": {\"level\": \"low\", \"headline\": \"No malicious indicators - review capabilities before installing\", \"has_malicious_indicators\": false, \"reasons\": [\"Python shell/command execution\"], \"malicious_indicators\": 0, \"risky_constructs\": 0, \"exposed_secrets\": 0, \"capabilities\": 1}, \"capabilities\": {\"shell_execution\": [{\"file\": \"app.py\", \"line_start\": 2, \"line_end\": 2, \"snippet\": \"os.system('echo hello')\"}]}, \"traits\": [{\"trait\": \"execution_authority\", \"title\": \"Execution authority\", \"description\": \"Can execute shell commands or run dynamically-constructed code.\", \"emergent\": false, \"crosswalk\": {\"csa_trait\": \"Tool Access Control / Direct Tool Access\", \"csa_risk\": \"Excessive ambient authority; uncontrolled tool selection and sequencing\", \"maestro_layers\": [{\"id\": \"L3\", \"name\": \"Agent Frameworks\"}, {\"id\": \"L4\", \"name\": \"Deployment & Infrastructure\"}], \"atlas_tactics\": []}, \"evidence\": [{\"file\": \"app.py\", \"line_start\": 2, \"line_end\": 2, \"snippet\": \"os.system('echo hello')\"}]}], \"findings\": [{\"id\": \"ST-SHELL-PY\", \"severity\": \"high\", \"category\": \"shell_execution\", \"title\": \"Python shell/command execution\", \"description\": \"Python APIs that spawn OS processes were detected (subprocess / os.system / os.popen).\", \"evidence\": [{\"file\": \"app.py\", \"line_start\": 2, \"line_end\": 2, \"snippet\": \"os.system('echo hello')\"}], \"recommendation\": \"Confirm the command and its arguments are fully controlled and not derived from untrusted input; avoid shell=True.\", \"threat_class\": \"capability\", \"owasp\": []}], \"needs_review\": [], \"metadata\": {\"skilltotal_version\": \"1.1.0\", \"schema_version\": \"1.11\", \"ruleset_version\": 100, \"generated_at\": \"2026-11-23T04:52:27.076069+00:00\", \"files_indexed\": 1, \"files_skipped_binary\": 0, \"files_skipped_large\": 0, \"scanners_run\": [\"python_ast\", \"shell_exec\", \"shell_script\", \"shell_evasion\", \"postex\", \"filesystem\", \"sensitive_paths\", \"network\", \"oauth_auth\", \"oauth_discovery_injection\", \"scoped_identity\", \"install_scripts\", \"install_payload\", \"dynamic_code\", \"obfuscation\", \"pth_exec\", \"mcp\", \"prompt_surface\", \"invisible_unicode\", \"secrets\", \"exposure\", \"encrypted_archive\", \"email_exfil\", \"secret_exfil\", \"agent_config\", \"config_exec\", \"stdlib_shadow\", \"pypi_malware\", \"clipper\", \"npm_supply\", \"npm_install_threats\", \"artifact_provenance\", \"agent_approval\", \"skill_fetch_exec\", \"skill_directives\", \"mcp_pinning\", \"mcp_elicitation\", \"mcp_annotations\", \"dependency_redirect\", \"workflow_exfil\", \"html_file_exfil\", \"fetch_tunnel_launcher\"], \"findings_by_severity\": {\"critical\": 0, \"high\": 1, \"medium\": 0, \"low\": 0}, \"suppressed_count\": 0}}",
              "tool": "scan_component"
            }
          ],
          "task": "Scan /home/lab/work/new and report its verdict and any shell-execution capability, including evidence."
        },
        "type": "noul"
      },
      "w09": {
        "criteria": {
          "false": "The tool replies show an error, a missing or different result, or nothing about the task; or only the agent's final answer claims the task was done.",
          "true": "The tool replies in `steps` show the result that `done_when` describes. The result came from the server's tools, not only from the agent's own words."
        },
        "instructions": {
          "agent_final_answer": "I compared `/home/lab/work/old` with `/home/lab/work/new`.\n\n- **Capability added:** Shell command execution. The new version calls `os.system('echo hello')` in `app.py:2`. Review whether commands or arguments can be influenced by untrusted input.\n- **Risk:** The scanner’s verdict remained **low**, with a score of **0 → 0**. It classified the new finding as a capability, not a malicious indicator.\n- **Other changes:** No capabilities were removed, and the scan reported no resolved or otherwise changed findings.\n\nThis was a static comparison; it did not check dependencies, known vulnerabilities, or runtime behavior.",
          "done_when": "The diff_components reply compares the two paths and reports the verdict or score change and a new shell-execution capability associated with the new component.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {
                "detail": "full",
                "new": "/home/lab/work/new",
                "old": "/home/lab/work/old"
              },
              "reply": "{\"old\": {\"component\": {\"name\": \"old\", \"version\": \"\", \"type\": \"directory\", \"source\": \"/home/lab/work/old\"}, \"risk_score\": 0, \"risk_level\": \"low\", \"verdict_level\": \"low\", \"engine_version\": \"1.1.0\", \"ruleset_version\": 100}, \"new\": {\"component\": {\"name\": \"new\", \"version\": \"\", \"type\": \"directory\", \"source\": \"/home/lab/work/new\"}, \"risk_score\": 0, \"risk_level\": \"low\", \"verdict_level\": \"low\", \"engine_version\": \"1.1.0\", \"ruleset_version\": 100}, \"risk_score_delta\": 0, \"verdict_changed\": false, \"new_findings\": [{\"id\": \"ST-SHELL-PY\", \"severity\": \"high\", \"category\": \"shell_execution\", \"title\": \"Python shell/command execution\", \"description\": \"Python APIs that spawn OS processes were detected (subprocess / os.system / os.popen).\", \"evidence\": [{\"file\": \"app.py\", \"line_start\": 2, \"line_end\": 2, \"snippet\": \"os.system('echo hello')\"}], \"recommendation\": \"Confirm the command and its arguments are fully controlled and not derived from untrusted input; avoid shell=True.\", \"threat_class\": \"capability\", \"owasp\": []}], \"resolved_findings\": [], \"changed_findings\": [], \"capabilities_added\": [\"shell_execution\"], \"capabilities_removed\": [], \"ruleset_mismatch\": false, \"coverage_gaps_added\": [], \"summary\": \"Risk 0 -> 0 (+0, low -> low): 1 new finding(s), 0 resolved, 0 changed\"}",
              "tool": "diff_components"
            }
          ],
          "task": "Compare /home/lab/work/old to /home/lab/work/new and report changes in capabilities and risk."
        },
        "type": "noul"
      },
      "w10": {
        "criteria": {
          "false": "The tool replies show an error, a missing or different result, or nothing about the task; or only the agent's final answer claims the task was done.",
          "true": "The tool replies in `steps` show the result that `done_when` describes. The result came from the server's tools, not only from the agent's own words."
        },
        "instructions": {
          "agent_final_answer": "I compared `/home/lab/work/old` with `/home/lab/work/new` using a static scan.\n\n- **Capability added:** Shell command execution. In `new/app.py:2`, the scanner found `os.system('echo hello')`. This is classified as a capability, not a malicious indicator. Review whether commands or arguments can ever be influenced by untrusted input.\n- **Capabilities removed:** None detected.\n- **Risk:** The verdict remained **low**, with the risk score unchanged at **0**. The scan found no new or removed risk findings and no malicious indicators.\n\nThe scan did not execute the code or check dependency code, known vulnerabilities, or runtime behavior.",
          "done_when": "The diff_components reply compares the two paths and reports the verdict or score change and a new shell-execution capability associated with the new component.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {
                "new": "/home/lab/work/new",
                "old": "/home/lab/work/old"
              },
              "reply": "{\"old\": {\"component\": {\"name\": \"old\", \"type\": \"directory\", \"source\": \"/home/lab/work/old\", \"version\": \"\"}, \"verdict\": {\"level\": \"low\", \"headline\": \"No significant risks found\", \"has_malicious_indicators\": false}, \"risk_score\": 0, \"engine\": {\"version\": \"1.1.0\", \"ruleset\": 100, \"report_schema\": \"1.11\"}}, \"new\": {\"component\": {\"name\": \"new\", \"type\": \"directory\", \"source\": \"/home/lab/work/new\", \"version\": \"\"}, \"verdict\": {\"level\": \"low\", \"headline\": \"No malicious indicators - review capabilities before installing\", \"has_malicious_indicators\": false}, \"risk_score\": 0, \"engine\": {\"version\": \"1.1.0\", \"ruleset\": 100, \"report_schema\": \"1.11\"}}, \"verdict_changed\": false, \"verdict_change\": \"LOW -> LOW\", \"decision\": \"LOW - No malicious indicators - review capabilities before installing\", \"risk_score_delta\": 0, \"new_risk_findings\": [], \"risk_findings_with_new_evidence\": [], \"removed_risk_findings\": [], \"capabilities_added\": [\"shell_execution\"], \"capabilities_removed\": [], \"ruleset_mismatch\": false, \"summary\": \"Risk 0 -> 0 (+0, low -> low): 1 new finding(s), 0 resolved, 0 changed\", \"not_checked\": [\"the code of the component's dependencies (only the component's own files are read)\", \"known vulnerabilities (CVEs) in the component or its dependencies\", \"runtime behaviour (nothing is executed)\"], \"full_report\": \"call again with detail=\\\"full\\\" for every new, resolved and changed finding with all evidence\"}",
              "tool": "diff_components"
            },
            {
              "arguments": {
                "detail": "full",
                "new": "/home/lab/work/new",
                "old": "/home/lab/work/old"
              },
              "reply": "{\"old\": {\"component\": {\"name\": \"old\", \"version\": \"\", \"type\": \"directory\", \"source\": \"/home/lab/work/old\"}, \"risk_score\": 0, \"risk_level\": \"low\", \"verdict_level\": \"low\", \"engine_version\": \"1.1.0\", \"ruleset_version\": 100}, \"new\": {\"component\": {\"name\": \"new\", \"version\": \"\", \"type\": \"directory\", \"source\": \"/home/lab/work/new\"}, \"risk_score\": 0, \"risk_level\": \"low\", \"verdict_level\": \"low\", \"engine_version\": \"1.1.0\", \"ruleset_version\": 100}, \"risk_score_delta\": 0, \"verdict_changed\": false, \"new_findings\": [{\"id\": \"ST-SHELL-PY\", \"severity\": \"high\", \"category\": \"shell_execution\", \"title\": \"Python shell/command execution\", \"description\": \"Python APIs that spawn OS processes were detected (subprocess / os.system / os.popen).\", \"evidence\": [{\"file\": \"app.py\", \"line_start\": 2, \"line_end\": 2, \"snippet\": \"os.system('echo hello')\"}], \"recommendation\": \"Confirm the command and its arguments are fully controlled and not derived from untrusted input; avoid shell=True.\", \"threat_class\": \"capability\", \"owasp\": []}], \"resolved_findings\": [], \"changed_findings\": [], \"capabilities_added\": [\"shell_execution\"], \"capabilities_removed\": [], \"ruleset_mismatch\": false, \"coverage_gaps_added\": [], \"summary\": \"Risk 0 -> 0 (+0, low -> low): 1 new finding(s), 0 resolved, 0 changed\"}",
              "tool": "diff_components"
            }
          ],
          "task": "Compare /home/lab/work/old to /home/lab/work/new and report changes in capabilities and risk."
        },
        "type": "noul"
      },
      "w11": {
        "criteria": {
          "false": "The tool replies show an error, a missing or different result, or nothing about the task; or only the agent's final answer claims the task was done.",
          "true": "The tool replies in `steps` show the result that `done_when` describes. The result came from the server's tools, not only from the agent's own words."
        },
        "instructions": {
          "agent_final_answer": "I compared `/home/lab/work/old` with `/home/lab/work/new` using a static scan.\n\n- **Capability change:** The new version adds shell execution. No capabilities were reported as removed.\n- **Risk change:** The verdict remains **low**, with a risk score of **0 → 0**. The scan found no new or removed risk findings and no malicious indicators.\n- **Recommendation:** Review how the new version uses shell execution before installing or trusting it.\n\nThe scan did not inspect dependency code, check for known vulnerabilities, or execute the component to assess runtime behavior.",
          "done_when": "The diff_components reply compares the two paths and reports the verdict or score change and a new shell-execution capability associated with the new component.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {
                "new": "/home/lab/work/new",
                "old": "/home/lab/work/old"
              },
              "reply": "{\"old\": {\"component\": {\"name\": \"old\", \"type\": \"directory\", \"source\": \"/home/lab/work/old\", \"version\": \"\"}, \"verdict\": {\"level\": \"low\", \"headline\": \"No significant risks found\", \"has_malicious_indicators\": false}, \"risk_score\": 0, \"engine\": {\"version\": \"1.1.0\", \"ruleset\": 100, \"report_schema\": \"1.11\"}}, \"new\": {\"component\": {\"name\": \"new\", \"type\": \"directory\", \"source\": \"/home/lab/work/new\", \"version\": \"\"}, \"verdict\": {\"level\": \"low\", \"headline\": \"No malicious indicators - review capabilities before installing\", \"has_malicious_indicators\": false}, \"risk_score\": 0, \"engine\": {\"version\": \"1.1.0\", \"ruleset\": 100, \"report_schema\": \"1.11\"}}, \"verdict_changed\": false, \"verdict_change\": \"LOW -> LOW\", \"decision\": \"LOW - No malicious indicators - review capabilities before installing\", \"risk_score_delta\": 0, \"new_risk_findings\": [], \"risk_findings_with_new_evidence\": [], \"removed_risk_findings\": [], \"capabilities_added\": [\"shell_execution\"], \"capabilities_removed\": [], \"ruleset_mismatch\": false, \"summary\": \"Risk 0 -> 0 (+0, low -> low): 1 new finding(s), 0 resolved, 0 changed\", \"not_checked\": [\"the code of the component's dependencies (only the component's own files are read)\", \"known vulnerabilities (CVEs) in the component or its dependencies\", \"runtime behaviour (nothing is executed)\"], \"full_report\": \"call again with detail=\\\"full\\\" for every new, resolved and changed finding with all evidence\"}",
              "tool": "diff_components"
            }
          ],
          "task": "Compare /home/lab/work/old to /home/lab/work/new and report changes in capabilities and risk."
        },
        "type": "noul"
      },
      "w12": {
        "criteria": {
          "false": "The tool replies show an error, a missing or different result, or nothing about the task; or only the agent's final answer claims the task was done.",
          "true": "The tool replies in `steps` show the result that `done_when` describes. The result came from the server's tools, not only from the agent's own words."
        },
        "instructions": {
          "agent_final_answer": "**ST-SHELL-PIPE-EXEC — Remote pipe-to-shell execution**\n\n- **Severity:** High\n- **Category:** Shell execution\n- **Threat class:** Risky construct\n\n**Description:** A remotely fetched payload is piped straight into a shell, for example, `curl ... | bash`. This runs code downloaded at runtime, making it difficult to review and creating a common second-stage delivery vector.\n\n**Recommendation:** Download the payload to a file, inspect it, and run a pinned and verified copy instead of piping a network response directly into a shell.",
          "done_when": "The list_rules reply contains ST-SHELL-PIPE-EXEC with a description and recommendation.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {
                "ids": [
                  "ST-SHELL-PIPE-EXEC"
                ],
                "verbose": true
              },
              "reply": "[{\"id\": \"ST-SHELL-PIPE-EXEC\", \"category\": \"shell_execution\", \"severity\": \"high\", \"title\": \"Remote pipe-to-shell execution\", \"description\": \"A remotely fetched payload is piped straight into a shell (e.g. `curl ... | bash`). The component runs code downloaded at runtime, which is unreviewable and a common second-stage delivery vector.\", \"recommendation\": \"Download to a file, inspect it, and run a pinned/verified copy instead of piping a network response directly into a shell.\", \"capability\": \"shell_execution\", \"threat_class\": \"risky_construct\"}]",
              "tool": "list_rules"
            }
          ],
          "task": "Look up ST-SHELL-PIPE-EXEC with its description and recommendation."
        },
        "type": "noul"
      },
      "w13": {
        "criteria": {
          "false": "The tool replies show an error, a missing or different result, or nothing about the task; or only the agent's final answer claims the task was done.",
          "true": "The tool replies in `steps` show the result that `done_when` describes. The result came from the server's tools, not only from the agent's own words."
        },
        "instructions": {
          "agent_final_answer": "**ST-SHELL-PIPE-EXEC — Remote pipe-to-shell execution**\n\n- **Severity:** High\n- **Description:** A remotely fetched payload is piped straight into a shell, for example `curl ... | bash`. This runs code downloaded at runtime, making it unreviewable beforehand and a common second-stage delivery vector.\n- **Recommendation:** Download the payload to a file, inspect it, and run a pinned or verified copy instead of piping a network response directly into a shell.\n- **Category / capability:** `shell_execution`\n- **Threat class:** `risky_construct`",
          "done_when": "The list_rules reply contains ST-SHELL-PIPE-EXEC with a description and recommendation.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {
                "ids": [
                  "ST-SHELL-PIPE-EXEC"
                ],
                "verbose": true
              },
              "reply": "[{\"id\": \"ST-SHELL-PIPE-EXEC\", \"category\": \"shell_execution\", \"severity\": \"high\", \"title\": \"Remote pipe-to-shell execution\", \"description\": \"A remotely fetched payload is piped straight into a shell (e.g. `curl ... | bash`). The component runs code downloaded at runtime, which is unreviewable and a common second-stage delivery vector.\", \"recommendation\": \"Download to a file, inspect it, and run a pinned/verified copy instead of piping a network response directly into a shell.\", \"capability\": \"shell_execution\", \"threat_class\": \"risky_construct\"}]",
              "tool": "list_rules"
            }
          ],
          "task": "Look up ST-SHELL-PIPE-EXEC with its description and recommendation."
        },
        "type": "noul"
      },
      "w14": {
        "criteria": {
          "false": "The tool replies show an error, a missing or different result, or nothing about the task; or only the agent's final answer claims the task was done.",
          "true": "The tool replies in `steps` show the result that `done_when` describes. The result came from the server's tools, not only from the agent's own words."
        },
        "instructions": {
          "agent_final_answer": "**ST-SHELL-PIPE-EXEC — Remote pipe-to-shell execution**\n\n- **Severity:** High\n- **Threat class:** Risky construct\n- **Description:** A remotely fetched payload is piped straight into a shell, such as `curl ... | bash`. The component runs code downloaded at runtime, which is unreviewable and a common second-stage delivery vector.\n- **Recommendation:** Download to a file, inspect it, and run a pinned and verified copy instead of piping a network response directly into a shell.",
          "done_when": "The list_rules reply contains ST-SHELL-PIPE-EXEC with a description and recommendation.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {
                "ids": [
                  "ST-SHELL-PIPE-EXEC"
                ],
                "verbose": true
              },
              "reply": "[{\"id\": \"ST-SHELL-PIPE-EXEC\", \"category\": \"shell_execution\", \"severity\": \"high\", \"title\": \"Remote pipe-to-shell execution\", \"description\": \"A remotely fetched payload is piped straight into a shell (e.g. `curl ... | bash`). The component runs code downloaded at runtime, which is unreviewable and a common second-stage delivery vector.\", \"recommendation\": \"Download to a file, inspect it, and run a pinned/verified copy instead of piping a network response directly into a shell.\", \"capability\": \"shell_execution\", \"threat_class\": \"risky_construct\"}]",
              "tool": "list_rules"
            }
          ],
          "task": "Look up ST-SHELL-PIPE-EXEC with its description and recommendation."
        },
        "type": "noul"
      }
    },
    "state": {
      "about": "Replies of an MCP server to tool calls that were sent with bad input on purpose, to see whether its error messages help a caller fix the call."
    }
  },
  "run_id": "01M83BR7SZF9MRN9HF1R43VMWZ",
  "works_done": [
    {
      "attempt": 0,
      "noul": 0.52,
      "question": "w00"
    },
    {
      "attempt": 1,
      "noul": 0.65,
      "question": "w01"
    },
    {
      "attempt": 2,
      "noul": 0.54,
      "question": "w02"
    },
    {
      "attempt": 3,
      "noul": 0.98,
      "question": "w03"
    },
    {
      "attempt": 4,
      "noul": 0.99,
      "question": "w04"
    },
    {
      "attempt": 5,
      "noul": 0.98,
      "question": "w05"
    },
    {
      "attempt": 6,
      "noul": 0.98,
      "question": "w06"
    },
    {
      "attempt": 7,
      "noul": 0.97,
      "question": "w07"
    },
    {
      "attempt": 8,
      "noul": 0.98,
      "question": "w08"
    },
    {
      "attempt": 9,
      "noul": 0.98,
      "question": "w09"
    },
    {
      "attempt": 10,
      "noul": 0.98,
      "question": "w10"
    },
    {
      "attempt": 11,
      "noul": 0.98,
      "question": "w11"
    },
    {
      "attempt": 12,
      "noul": 0.97,
      "question": "w12"
    },
    {
      "attempt": 13,
      "noul": 0.98,
      "question": "w13"
    },
    {
      "attempt": 14,
      "noul": 0.98,
      "question": "w14"
    }
  ]
}
