dotenvx
Fail
Audited by Gen Agent Trust Hub on Apr 20, 2026
Risk Level: HIGHREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The skill recommends installing the tool using the command
curl -sfS https://dotenvx.sh | shin both theSKILL.mdfile and theassets/gh_action_example.yamlfile. This pattern executes a script from a remote URL directly in the shell without any integrity checks or version pinning, which is a significant security risk if the remote source or the delivery channel is compromised. - [COMMAND_EXECUTION]: The skill provides detailed bash scripts for key rotation that involve executing several high-privilege or sensitive commands, such as
gh secret setto update CI secrets andsedto modify configuration files. While these are presented as a tutorial, an agent executing these could inadvertently modify production credentials. - [PROMPT_INJECTION]: The skill documents how to process external data from untrusted
.envfiles which are then used to influence command execution through thedotenvx runcommand. This represents an indirect prompt injection surface. - Ingestion points:
.envand.env.productionfiles (referenced inSKILL.mdandassets/env.example). - Boundary markers: None; values from the environment files are directly injected into the execution context of the command.
- Capability inventory: Execution of arbitrary subprocesses (
node,npm,npm start) with environment variables provided by the tool. - Sanitization: There is no mention of sanitization or validation of the values read from the
.envfiles before they are used in the shell environment.
Recommendations
- HIGH: Downloads and executes remote code from: https://dotenvx.sh - DO NOT USE without thorough review
- AI detected serious security threats
Audit Metadata