cookbook-audit
Pass
Audited by Gen Agent Trust Hub on Oct 28, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [Shell Command Construction]: The
validate_notebook.pyscript invokes thedetect-secretsutility usingsubprocess.runwith a shell-wrapped command (sh -c). The command string is constructed using f-strings that include absolute file paths. This pattern is a security consideration because file names containing shell metacharacters (such as single quotes) could potentially interfere with the intended command execution. - [Dynamic Dependency Execution]: The validation script uses
uvanduvxto dynamically install and run dependencies likenbconvertanddetect-secretsfrom public package registries. While this is standard for modern development tools, it involves executing third-party code at runtime. - [Untrusted Content Analysis]: The skill is designed to process and audit notebooks provided by users. This creates a surface for indirect prompt injection, where malicious instructions embedded in a notebook's markdown cells or code comments could attempt to influence the agent's evaluation or report generation.
- [Automated Command Execution]: The skill instructions direct the agent to execute a local Python script (
validate_notebook.py) on user-provided paths. This script performs file system operations and executes external CLI tools to generate review artifacts.
Audit Metadata