Env Variable Harvesting
- Category
- Data Exfiltration
- Confidence
- 99% confidence
- Finding
The example resolves DB_PASSWORD from 1Password, explicitly disables output masking, and prints the secret to stdout. An agent following it could expose a database password in tool results, model context, or retained logs; this is unsafe guidance for a secret-management skill, although no external exfiltration destination is shown.
- Content
md ## Run - `export DB_PASSWORD="op://app-prod/db/password"` - `op run --no-masking -- printenv DB_PASSWORD` - `op run --env-file="./.env" -- printenv DB_PASSWORD` ## Inject
