ai-sdk-expert

Warn

Audited by Gen Agent Trust Hub on Jul 28, 2026

Risk Level: MEDIUMCREDENTIALS_UNSAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
  • [CREDENTIALS_UNSAFE]: The skill instructs the agent to execute shell commands such as grep -r "openai\|anthropic\|google" .env*. This action directly targets sensitive environment configuration files which often contain plaintext API keys and secrets.
  • [COMMAND_EXECUTION]: The skill utilizes multiple diagnostic shell commands including grep, find, xargs, and npx. These commands are used to analyze the project environment but grant the agent significant execution capabilities on the host system.
  • [EXTERNAL_DOWNLOADS]: The skill recommends the use of npx @ai-sdk/codemod upgrade for automated migrations. This fetches and executes external code from the official Vercel AI SDK package repository, which is a well-known service ecosystem.
  • [PROMPT_INJECTION]: The skill incorporates a "Detection Phase" that ingests data from local project files to dynamically adapt its behavior, creating a surface for indirect prompt injection.
  • Ingestion points: Local project files such as package.json, TypeScript source files (.ts, .tsx), and environment configuration files (.env).
  • Boundary markers: The skill does not provide specific delimiters or instructions to ignore embedded commands within the analyzed project content.
  • Capability inventory: The agent has access to shell execution (npx, grep, find) and file system read capabilities.
  • Sanitization: There is no explicit sanitization or validation process described for the content read from the local environment before it influences agent behavior.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Jul 28, 2026, 07:31 AM