This skill executes remote scripts, is vulnerable
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 code examples for developing AI applications using the Genkit Go SDK. It details how to install the Genkit CLI by executing a script from `cli.genkit.dev`, run `genkit` commands to start a local developer UI on `localhost:4000`, execute defined flows, and access local documentation. The provided Go code demonstrates setting up a Genkit application that uses the `googlegenai` plugin to interact with Google AI models and serves flows via an HTTP server on `127.0.0.1:8080`.
/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 to download and execute a shell script directly from a remote URL (`cli.genkit.dev`), posing a critical supply chain risk if the remote server is compromised, leading to arbitrary code execution.
curl -sL cli.genkit.dev | bash
The `genkit docs:read` command allows reading local files, which could be abused for reconnaissance or local file disclosure if the file path is manipulated by an attacker.
genkit docs:read go/flows.md
Examples show direct embedding of user-provided input into prompts for `genkit.GenerateText` and `genkit flow:run`, creating a potential prompt injection vulnerability if input is not sanitized.
ai.WithPrompt("Tell me a joke about %s", topic), genkit flow:run myFlow '{"data": "input"}'[](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.