The skill is vulnerable to command injection through unsanitized
Claims to do
Update Provider Model IDs: This skill covers adding new model IDs and removing obsolete ones across the AI SDK codebase. Each workflow uses search to discover all locations that need changes.
Actually does
This skill instructs a user to use `grep -r` to search for model IDs within `.ts`, `.mdx`, `.md`, and `.snap` files in `packages/`, `content/`, and `examples/` directories. Based on the search results, the user is guided to manually add or remove model IDs from type definitions, documentation, examples, and tests. Finally, the user is instructed to run `pnpm test` for affected packages.
npx skills add https://github.com/vercel/ai --skill update-provider-modelsThe skill constructs shell commands (`grep`, `pnpm`) using placeholders (`<similar-model-id>`, `<model-id>`, `<provider>`) that are likely derived from user input. Without proper sanitization, a malicious input could lead to arbitrary command execution, data exfiltration, or persistence.
grep -r "'<similar-model-id>'" packages/ content/ examples/ --include='*.ts' pnpm --filter @ai-sdk/<provider> test
The skill is designed to directly modify source code, type definitions, documentation, and examples within a software development kit. This high-privilege capability, if compromised, could introduce backdoors, malicious code, or lead to supply chain attacks.
Update Type Definitions, Update Documentation, Create or Update Examples, Update Tests, Remove from Type Definitions
The skill uses `grep -r` across `packages/`, `content/`, and `examples/` directories. This grants the agent broad read access to the codebase, which could be leveraged for reconnaissance to discover sensitive information if the search patterns are manipulated.
grep -r "'<similar-model-id>'" packages/ content/ examples/ --include='*.ts' --include='*.mdx' --include='*.md'
[](https://mondoo.com/ai-agent-security/skills/github/vercel/ai/update-provider-models)<a href="https://mondoo.com/ai-agent-security/skills/github/vercel/ai/update-provider-models"><img src="https://mondoo.com/ai-agent-security/api/badge/github/vercel/ai/update-provider-models.svg" alt="Mondoo Skill Check" /></a>https://mondoo.com/ai-agent-security/api/badge/github/vercel/ai/update-provider-models.svgSkills can read files, run commands, and access credentials. Mondoo helps organizations manage the security risks of AI agent skills across their entire fleet.