bootstrap-elixir-openapi
Warn
Audited by Gen Agent Trust Hub on Oct 4, 2026
Risk Level: MEDIUMDYNAMIC_EXECUTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The skill generates Elixir source code at runtime using templates and user-provided OpenAPI specifications. It then proceeds to execute this generated code using
mix compileandmix test. If the input specification is maliciously crafted, it could result in arbitrary code execution within the developer's environment during the build or test phase. - [DYNAMIC_EXECUTION]: The
Schemastemplate inreferences/templates.mdincludes afrom_map/1function that usesString.to_atom(key)on keys from JSON input at runtime. In Elixir, atoms are not garbage collected, and creating them from untrusted input is a known security vulnerability (Atom Exhaustion) that can lead to a Denial of Service (DoS). - [COMMAND_EXECUTION]: The skill executes multiple shell commands to manage the Elixir project lifecycle, including
mkdir,mix deps.get,mix compile,mix test, andgit init. Themixcommands involve running the generated project's configuration and dependencies. - [EXTERNAL_DOWNLOADS]: The skill is designed to fetch OpenAPI specifications from external URLs provided by the user. Additionally, the
mix deps.getcommand downloads external Elixir packages from the Hex.pm registry. - [INDIRECT_PROMPT_INJECTION]: The skill lacks sanitization for fields extracted from the OpenAPI specification (such as schema names, descriptions, or operation summaries) before they are interpolated into Elixir
quoteblocks or used inModule.concatcalls. This creates a surface for indirect prompt injection where a malicious spec could inject code to escape the intended logic.
Audit Metadata