stata-background-runner
Pass
Audited by Gen Agent Trust Hub on Nov 13, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill provides instructions and scripts to discover and execute local Stata binaries. It uses shell execution on macOS and the
Start-Processcmdlet on Windows to run do-files in batch mode. - [INDIRECT_PROMPT_INJECTION]: The skill ingests user-provided scripts and reads back execution logs, which can contain instructions intended to influence the agent.
- Ingestion points: The agent reads user-provided Stata do-files and the resulting log files produced by the Stata process.
- Boundary markers: The reference scripts include validation logic that rejects file paths containing shell or Stata macro characters (e.g., quotes,
$, backticks, line breaks) to prevent unauthorized command execution. - Capability inventory: The skill possesses the capability to execute local processes and perform read/write operations on the filesystem.
- Sanitization: The skill relies on path string validation and instructs the agent to perform contextual inspection of logs rather than relying on automated success signals.
Audit Metadata