notebook-cli
Pass
Audited by Gen Agent Trust Hub on Sep 15, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes and executes Jupyter notebooks (
.ipynb), which are external data files. Maliciously crafted notebooks could contain instructions aimed at influencing the agent's behavior. - Ingestion points: Data enters the agent's context through commands like
nb read,nb search, andnb executeinSKILL.mdand its references. - Boundary markers: The
nbtool utilizes structured sentinel lines (e.g.,@@cell,@@output) to delimit notebook components in its output, facilitating parsing but not fully preventing the agent from following natural language instructions found within cell source code. - Capability inventory: The skill possesses capabilities for file modification (
nb cell update), network interaction (nb connect), and code execution (nb execute). - Sanitization: The skill encourages using the AI-Optimized Markdown format to clearly separate metadata from source content, though it does not explicitly filter the content of markdown or code cells.
- [COMMAND_EXECUTION]: The skill facilitates the execution of the
nbCLI, which is designed to run arbitrary code within Jupyter notebooks. This is the primary purpose of the skill, but it grants the agent the ability to execute code on the local environment or remote kernels. The skill includes a 'Trust Boundary' section inSKILL.mdinstructing the agent to verify the binary path and version before initial use to mitigate the risk of interacting with a malicious executable. - [EXTERNAL_DOWNLOADS]: The skill provides instructions in
references/best-practices.mdandSKILL.mdfor installing external Python dependencies using%pip installoruv pip installwithin notebook cells. This is a standard Jupyter workflow that involves downloading and installing third-party packages at runtime.
Audit Metadata