T05 · Unauthorized Access and Privilege Escalation
- Location
SKILL.md:175- Finding
Broad Environment Variable Enumeration May Expose Unrelated Credentials
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This Notion skill is mostly coherent, but it under-discloses remote data flow and write authority while giving risky credential-handling instructions.
Review this skill carefully before installing. Use a least-privilege Notion integration, avoid running the broad environment-variable check, do not store live tokens in a project-relative plaintext file, and require explicit confirmation before any create or update action.
SKILL.md:175Broad Environment Variable Enumeration May Expose Unrelated Credentials
SKILL.md:162Notion API Token Stored in a Project-Relative Plaintext File Without Permission Hardening
The documentation makes a stronger contradiction by asserting all data remains local while describing API-driven operations that necessarily transmit content, metadata, and credentials to remote services. This can cause users or downstream agents to mishandle regulated or confidential data based on incorrect security assurances.
The skill advertises creation and update operations against Notion pages and databases but does not prominently warn that these actions modify live remote workspace data. Users may unknowingly authorize destructive or unintended changes, especially when the agent abstracts the underlying API calls.
Documenting a callback_url parameter without any warning about outbound data transmission creates a privacy and SSRF-style risk surface in agent workflows. If the agent posts results to arbitrary URLs, sensitive content, metadata, or tokens could be exfiltrated to attacker-controlled endpoints.
The trigger condition is overly broad, suggesting activation for generic data analysis, reporting, insights, and visualization needs rather than tightly scoped Notion tasks. In an agentic environment, ambiguous triggers increase the chance the skill is invoked unexpectedly and performs networked reads or writes on remote workspace data.
The skill claims data is stored locally and not uploaded, yet the same document instructs the agent to call the external Notion API. This is a trust and privacy transparency failure: users may disclose sensitive workspace content under a false assumption that no remote transmission occurs.
The manifest fields and operational instructions are presented entirely in Chinese, but the file does not indicate that the skill is region-specific or that users may opt into this language. That can create a language-policy issue if skills are expected to avoid forcing a specific language without user choice.
No suspicious patterns detected.