T05 · Unauthorized Access and Privilege Escalation
- Location
SKILL.md:95- Finding
System-Wide Credential Discovery and Unscoped Secret Handling
- Content
View full analysis
| grep Environment`). 4. Ask the user only after the preceding searches fail. Multi-source scan list: - Project .env files - systemd Environment= entries - /etc/environment - Current process export/environment values - GPG-encrypted CREDENTIALS.md.gpg ``` ### Technical Analysis The Skill is presented as a memory-management system, but its credential workflow directs the Agent to enumerate and modify sensitive configuration across multiple system and server-level locations. The search targets include project-wide `.env` files, systemd unit configuration, `/etc/environment`, and the complete process environment. These locations may contain credentials for services unrelated to the current memory task. The instructions do not establish: - An allowlist of authorized services or paths. - A requirement for explicit user approval before each credential read or write. - Separation between development, staging, and production systems. - Validation that the destination server belongs to the requesti ...[truncated 1712 chars]- Remediation
View remediation
