marimo
Pass
Audited by Gen Agent Trust Hub on Oct 30, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill documents several interfaces that ingest data from external sources, which constitutes an attack surface for indirect prompt injection. These include file uploads via
mo.ui.file, local filesystem browsing viamo.ui.file_browser, and database queries viamo.sql. Additionally, URL query parameters (mo.query_params) and command-line arguments (mo.cli_args) provide routes for external input to influence cell execution. The documentation mitigates this risk by recommending best practices such as escaping user content withhtml.escapeand isolating potentially unsafe scripts usingmo.iframe. - [DYNAMIC_EXECUTION]: marimo's core architecture is built around the dynamic, reactive execution of Python code within cells defined by the
@app.celldecorator. The skill also details the use ofmo.sqlfor dynamic SQL query generation and execution, which can interact with both local DataFrames and remote databases. These features are integral to the tool's purpose as a reactive programming environment. - [COMMAND_EXECUTION]: The documentation provides a variety of CLI commands for interacting with notebooks, including
marimo edit,marimo run, andmarimo convert. It also explains how to access raw command-line arguments usingsys.argvand parsing them with libraries likeargparseorsimple-parsing, enabling the creation of configurable scripts and apps.
Audit Metadata