metabase
Pass
Audited by Gen Agent Trust Hub on Nov 14, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes data from an external Metabase instance, including SQL queries, dashboard metadata, and card definitions. This represents a potential surface for indirect prompt injection if an attacker can control Metabase content to influence the agent's analysis.
- Ingestion points: Data is fetched from the Metabase REST API via
scripts/mb.py(e.g.,/api/card/<id>,/api/dataset/native). - Boundary markers: No specific delimiters or boundary markers are defined in the skill instructions to separate external data from system instructions.
- Capability inventory: The skill can execute network writes to the Metabase API (PUT/POST) and local file writes (restore points, context configuration).
- Sanitization: The
mb.pywrapper includes a robustassert_readonlyfunction that uses a custom SQL stripper to validate ad-hoc queries against a blocklist of dangerous keywords and functions, serving as a significant security speed bump. - [COMMAND_EXECUTION]: The skill instructions direct the agent to execute a local Python wrapper script
scripts/mb.pyto perform all Metabase operations. This is the primary and intended mechanism for the skill's functionality.
Audit Metadata