The skill introduces supply chain risks via `curl | bash` installation and prompt injection vulnerabilities by directly interpolating user input into AI prompts.
Claims to do
Genkit Go: Genkit Go is an AI SDK for Go that provides generation, structured output, streaming, tool calling, prompts, and flows with a unified interface across model providers.
Actually does
This skill provides instructions and commands for developing AI applications using the Genkit Go SDK. It details how to install the `genkit` CLI tool via `curl` from `cli.genkit.dev`, run Go applications, and interact with Genkit flows and documentation using `genkit` CLI commands. It also shows how to start a local server on `127.0.0.1:8080` and access a Developer UI on `http://localhost:4000`.
/plugin marketplace add firebase/agent-skills/plugin install developing-genkit-go@firebase/agent-skillsgemini extensions install https://github.com/firebase/agent-skills.git --consentnpx skills add https://github.com/firebase/agent-skills --skill developing-genkit-goThe skill instructs users to install the Genkit CLI by piping a script downloaded from an external URL directly to `bash`. This introduces a significant supply chain risk, as a compromise of the `cli.genkit.dev` domain could lead to arbitrary code execution on the user's system.
curl -sL cli.genkit.dev | bash
The example `jokeFlow` directly interpolates user-provided `topic` into the `ai.WithPrompt` instruction. This creates a prompt injection vulnerability, allowing an attacker to manipulate the model's behavior or extract sensitive information if the `topic` input is untrusted.
ai.WithPrompt("Tell me a joke about %s", topic)[](https://mondoo.com/ai-agent-security/skills/github/firebase/agent-skills/developing-genkit-go)<a href="https://mondoo.com/ai-agent-security/skills/github/firebase/agent-skills/developing-genkit-go"><img src="https://mondoo.com/ai-agent-security/api/badge/github/firebase/agent-skills/developing-genkit-go.svg" alt="Mondoo Skill Check" /></a>https://mondoo.com/ai-agent-security/api/badge/github/firebase/agent-skills/developing-genkit-go.svgSkills can read files, run commands, and access credentials. Mondoo helps organizations manage the security risks of AI agent skills across their entire fleet.