sample-size-power-calculator
Pass
Audited by Gen Agent Trust Hub on Dec 2, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill requests pre-approval for the
Bash(python:*)tool in its configuration. It utilizes this capability to run a bundled Python script (scripts/power_calc.py) to perform complex statistical calculations. This allows the agent to execute Python code on the host or container environment without requiring per-execution user confirmation. - [INDIRECT_PROMPT_INJECTION]: The skill ingests user-supplied parameters to generate a justification paragraph intended for inclusion in research proposals or ethics forms, creating an attack surface for indirect instructions.
- Ingestion points: User-provided study descriptions, effect size sources, and statistical parameters processed by
scripts/power_calc.pyand interpolated into templates. - Boundary markers: Absent; the skill does not use specific delimiters or instructions to prevent the agent from obeying instructions embedded in the provided research context.
- Capability inventory: The skill utilizes
Bash(python:*)for calculations and theWritetool to save generated justification paragraphs to the local filesystem. - Sanitization: The Python script validates numerical arguments via
argparsebut does not sanitize or escape text-based inputs (like the source of an effect size) that are formatted into the final natural language output.
Audit Metadata