github-auth
Warn
Audited by Gen Agent Trust Hub on Jun 29, 2026
Risk Level: MEDIUMCREDENTIALS_UNSAFEDATA_EXFILTRATIONCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [CREDENTIALS_UNSAFE]: The skill promotes the storage of authentication secrets in plaintext.
- It recommends using the
git-credential-storehelper (git config --global credential.helper store), which saves GitHub Personal Access Tokens unencrypted in~/.git-credentials. - It suggests embedding tokens directly in git remote URLs, which results in the secrets being stored in plaintext within the repository's
.git/configfile. - [DATA_EXFILTRATION]: The skill contains logic to read sensitive local credential files.
- The
scripts/gh-env.shscript and sections ofSKILL.mdusegrepandsedto parse~/.git-credentialsand extract stored tokens for use in other commands. - [COMMAND_EXECUTION]: The skill provides instructions to create unencrypted private keys.
- The
ssh-keygencommand provided uses the-N ""flag, which generates a private key without a passphrase protection. - [PROMPT_INJECTION]: The skill exhibits an indirect prompt injection surface through the ingestion of untrusted repository and credential data.
- Ingestion points: The
scripts/gh-env.shscript reads data from the environment viagit remote get-urland the~/.git-credentialsfile. - Boundary markers: There are no boundary markers or instructions to ignore embedded commands when processing these external data sources.
- Capability inventory: The skill utilizes
curl,git, andssh-keygen(as seen inSKILL.mdandscripts/gh-env.sh) to perform network and file system operations. - Sanitization: The script relies on basic string manipulation (
sed,cut) and lacks robust sanitization or validation of the ingested data before it is used in subsequent operations.
Audit Metadata