T05 · Unauthorized Access and Privilege Escalation
- Location
SKILL.md:99- Finding
Authenticated Write Operations Exceed the Skill's Declared Read-Only Purpose
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill is mostly a paper lookup helper, but it also documents authenticated Hugging Face write actions that can change account or public paper state without clear confirmation guidance.
Install only if you want the agent to have instructions for Hugging Face paper administration as well as reading. For normal summaries or analysis, do not provide HF_TOKEN; if you do provide one, use a narrowly scoped token and require explicit confirmation before any claim, index, or link update.
SKILL.md:99Authenticated Write Operations Exceed the Skill's Declared Read-Only Purpose
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
The content of a paper can be fetched as markdown like so:
curl -s "https://huggingface.co/papers/{PAPER_ID}.md"
This should return the Hugging Face paper page as markdown. This relies on the HTML version of the paper at https://arxiv.org/html/{PAPER_ID}.
The skill is described as a read-oriented paper lookup and analysis tool, but its documentation includes authenticated write operations such as claiming authorship, indexing papers, and updating paper links. This creates dangerous capability drift: an agent using this skill could be induced to perform account-scoped modifications unrelated to the user’s request, especially if it has access to an HF token.
The documented capabilities include administrative, account-scoped operations that act on behalf of a logged-in Hugging Face user or organization, despite the skill’s stated purpose being paper reading and analysis. Exposing these privileged actions in the same skill increases the chance of misuse, prompt injection–driven action selection, or accidental modification of user/account state.
The skill documents authenticated POST endpoints that can change Hugging Face state, but provides no warning, consent flow, or confirmation guidance before using them. In an agent setting, omission of such guardrails materially raises the risk of unintended account actions if a prompt or retrieved content nudges the model toward those endpoints.