smoke-test
Fail
Audited by Gen Agent Trust Hub on Oct 7, 2026
Risk Level: HIGHCREDENTIALS_UNSAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONPERSISTENCEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [CREDENTIALS_UNSAFE]: The skill explicitly accesses the
.envfile to check for an 'Embedding API key'. Accessing.envfiles is a high-risk activity as these files typically contain sensitive secrets, tokens, and credentials. - [EXTERNAL_DOWNLOADS]: The skill performs remote software installation from external sources. It fetches the Bun runtime from
bun.shand installs thezodpackage vianpmif they are not present or require repair. These are documented as well-known services. - [PERSISTENCE]: The documentation provides instructions to add the smoke test invocation to user startup scripts and login hooks, such as
~/.bashrcand~/.zshrc. This is a persistence mechanism that ensures the skill's code runs automatically during new shell sessions. - [DYNAMIC_EXECUTION]: The skill is designed to automatically discover and execute all shell scripts located in the
~/.gbrain/smoke-tests.d/directory. This allows for the execution of arbitrary code defined in local files at runtime. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted data from the local filesystem and external tool outputs, creating an attack surface for indirect injection.
- Ingestion points: The skill loads and executes external shell scripts from
~/.gbrain/smoke-tests.d/*.shand reads output fromgbrain engine status --json. - Boundary markers: No explicit delimiters or instructions are used to isolate or ignore potentially malicious content within the loaded scripts or tool outputs.
- Capability inventory: The skill utilizes the
exectool to run system commands and thereadtool to inspect file contents. - Sanitization: There is no evidence of sanitization or validation performed on the scripts discovered in the user's home directory before execution.
- [COMMAND_EXECUTION]: The skill uses the
exectool to run various system commands and 'auto-fix' scripts, includinggbrain db-repair --yes, which can modify the system state without further user confirmation.
Recommendations
- AI detected serious security threats
Audit Metadata