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
inputfield inkubb.config.tsor as CLI arguments (documented inreferences/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.postGeneratefeature for arbitrary shell command execution (references/reference/configuration.md), file system writing viaoutput.path(references/reference/configuration.md), and thekubb studio --allow-execflag 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.postGenerateconfiguration allows for a list of shell commands to be executed automatically after the generation process finishes (references/reference/configuration.md). - The
kubb studiocommand features an--allow-execflag 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 addandkubb updatecommands 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