developing-genkit-dart
Pass
Audited by Gen Agent Trust Hub on Apr 5, 2026
Risk Level: SAFEREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONDATA_EXFILTRATIONPROMPT_INJECTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The main documentation in
SKILL.mdprovides instructions for installing the Genkit CLI using a piped shell script (curl -sL cli.genkit.dev | bash). While this targets an official Google Genkit domain, the pattern of executing remote scripts directly in the shell is a high-risk installation method. - [COMMAND_EXECUTION]: The Model Context Protocol (MCP) documentation in
references/genkit_mcp.mddescribes how to configure and run external servers and tools using shell commands (e.g.,npx). This capability allows the agent to spawn arbitrary processes if configured to do so. - [DATA_EXFILTRATION]: The
references/genkit_middleware.mdfile documents aFilesystemPluginthat provides the agent with tools tolist_files,read_file,write_file, andsearch_and_replacewithin a specified directory. These tools grant the agent extensive file system access. - [PROMPT_INJECTION]: The skill documentation establishes a broad surface area for indirect prompt injection by demonstrating how to ingest and process data from various external sources (tools, flows, and MCP servers) without explicit sanitization guidelines.
- Ingestion points: Untrusted data enters the agent context via
ai.generateprompts, flow inputs, and responses from external tools as described inreferences/genkit.md. - Boundary markers: The provided code snippets do not include instructions for using delimiters or boundary markers to isolate untrusted content from system instructions.
- Capability inventory: The skill leverages high-privilege capabilities including filesystem manipulation (
references/genkit_middleware.md), network requests to remote flow endpoints (references/genkit.md), and process execution through MCP (references/genkit_mcp.md). - Sanitization: There is no evidence of input validation or output escaping in the documented implementation patterns.
Audit Metadata