cli-framework-oclif-ink
Pass
Audited by Gen Agent Trust Hub on Nov 4, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill provides templates for building CLI applications that ingest external data and possess powerful system capabilities. This structure is susceptible to indirect prompt injection if user-controlled input is processed without strict boundaries in an agentic environment.\n
- Ingestion points: Command-line arguments (
Args), flags (Flags), and interactive text input components (TextInput) acrossexamples/core.mdandexamples/advanced.md.\n - Boundary markers: The provided examples do not demonstrate the use of delimiters or 'ignore' instructions for untrusted input.\n
- Capability inventory: File system writing (the
writeConfigfunction inexamples/core.md), network communication (thefetchimplementation inexamples/advanced.md), and shell command execution (execausage inexamples/testing.md).\n - Sanitization: While basic validation is shown for numeric inputs (e.g., the
parsefunction inexamples/core.md), there are no examples of sanitizing string inputs against injection attacks.\n- [REMOTE_CODE_EXECUTION]: The skill documents the use of@oclif/plugin-pluginsinexamples/advanced.md, which enables the runtime installation and execution of external npm packages as CLI plugins. This is a core feature of the framework but allows for the execution of code from external sources.\n- [COMMAND_EXECUTION]: Patterns inexamples/testing.mdutilize theexecalibrary to spawn external processes, such as executinggit clonefor data synchronization. This is a legitimate functional requirement for many CLI tools.\n- [EXTERNAL_DOWNLOADS]: Code examples inexamples/advanced.md(Pattern 7) andexamples/core.md(Pattern 10) demonstrate the use of thefetchAPI to download content from remote URLs and send telemetry data to a placeholder endpoint.
Audit Metadata