kubb

Pass

Audited by Gen Agent Trust Hub on Nov 4, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill documents a workflow for generating code from external specifications, creating a surface where malicious specifications could influence the agent's behavior or exploit local capabilities.
  • Ingestion points: OpenAPI/Swagger specifications provided via the input field in kubb.config.ts or as CLI arguments (documented in references/reference/configuration.md).
  • Boundary markers: The documentation does not prescribe the use of delimiters or specific warnings to prevent the agent from obeying instructions embedded within the specifications.
  • Capability inventory: The skill documents the output.postGenerate feature for arbitrary shell command execution (references/reference/configuration.md), file system writing via output.path (references/reference/configuration.md), and the kubb studio --allow-exec flag which permits remote execution of commands (references/commands/studio.md).
  • Sanitization: While the tool validates specifications for schema compliance using @readme/openapi-parser (references/adapters/adapter-oas.md), it does not explicitly filter for malicious prompts or commands embedded in description fields or vendor extensions.
  • [COMMAND_EXECUTION]: The documentation describes multiple features that allow for the execution of arbitrary shell commands on the local system.
  • The output.postGenerate configuration allows for a list of shell commands to be executed automatically after the generation process finishes (references/reference/configuration.md).
  • The kubb studio command features an --allow-exec flag that grants a remote interface the ability to run formatters, linters, and post-generation commands on the host machine (references/commands/studio.md).
  • [EXTERNAL_DOWNLOADS]: The documentation describes the tool's ability to fetch and install external code and configurations.
  • The kubb add and kubb update commands fetch and install plugins and extensions from the Kubb registry or directly from GitHub repositories (references/commands/add.md).
  • The OpenAPI adapter automatically downloads remote specifications and referenced schema files via HTTP GET requests (references/adapters/adapter-oas.md).
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 4, 2026, 10:36 AM