Lp3
Medium
- Category
- MCP Least Privilege
- Confidence
- 88% confidence
- Finding
- The skill instructs users to read an API key from an environment variable and includes executable code snippets that access `os.getenv("AGENTMAIL_API_KEY")`, but the skill declares no permissions or capability metadata for environment access. In an agent setting, undeclared secret access reduces transparency and can lead to over-privileged execution or accidental exposure of credentials during tool use, logging, or prompt-injected workflows.
