Description
A program opened a credential file that it does not own: for example a package script reading ~/.npmrc, ~/.aws/credentials or ~/.ssh/id_rsa, rather than npm, the AWS CLI or ssh reading their own files. The reading program is named in the evidence. In this run the contents were not seen leaving the sandbox.
Impact
Reading credentials is the collection step that precedes theft. Exfiltration may be gated on conditions this run did not meet (a different date, CI variables, a reachable network), or the data may be staged for a later step.
Evidence
~/.cursor/mcp.json (by cat)
Remediation
Review why this package needs the file. Legitimate tools read only their own configuration; anything else should be treated as hostile until explained. Prefer running it with credentials unavailable (separate user, container, or scoped environment).
References
- ATT&CK T1552.001 Credentials in Files
- CWE-200 Exposure of Sensitive Information
- OWASP MCP01:2025 Token Mismanagement & Secret Exposure