checkpoint
Fail
Audited by Gen Agent Trust Hub on Sep 10, 2026
Risk Level: HIGHCREDENTIALS_UNSAFEDATA_EXFILTRATIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [CREDENTIALS_UNSAFE]: The skill explicitly reads the contents of the
.envfile using the commandcat .env. The filtering logic (grep -v 'SECRET') is unreliable as it fails to protect sensitive environment variables that do not use the specific word 'SECRET' in their name, such asAPI_KEY,TOKEN,PASSWORD, orDATABASE_URL. - [DATA_EXFILTRATION]: By programmatically inserting environment file content into a git commit message, sensitive local configuration data is moved into the version control system. This poses a high risk of exfiltration if the repository is pushed to a remote server or shared with other collaborators.
- [COMMAND_EXECUTION]: The skill utilizes shell command substitution
$(cat .env | ...)within Step 5 to dynamically generate the commit message body. This involves executing shell pipelines that process local sensitive files. - [INDIRECT_PROMPT_INJECTION]: The skill performs
git diff,git log, andgit statusto analyze changes. If a repository contains maliciously crafted files or commit history, it could influence the agent's summary or decision-making process when generating the 'well-crafted' commit message.
Recommendations
- AI detected serious security threats
Audit Metadata