Credential Access
- Category
- Privilege Escalation
- Confidence
- 85% confidence
- Finding
The skill includes a shell snippet that reads a secret directly from a local .env file using grep. In an agent context, encouraging direct access to .env increases the chance of unnecessary credential harvesting from local files, expands exposure of secrets beyond the current process environment, and may fail if .env contains additional sensitive material or malformed content. This is not overtly malicious, but it normalizes unsafe secret-handling practice.
- Content
Nothing changes in your code. Same endpoints, same
X-API-Keyheader:bash DR_API_KEY=$(grep ^DEEPREAD_API_KEY .env | cut -d= -f2) curl -X POST https://api.deepread.tech/v1/process \ -H "X-API-Key: $DR_API_KEY" \
