Back to skill

Security audit

Paper Reader

Security checks for vulnerabilities and agentic risk

Overview

ClawScan marks this skill suspicious with medium confidence: it reports potentially overbroad research instructions and an unapproved disclosure of the user's email to Unpaywall; the scan is partial.

Before installing, consider whether you need broad literature searches and whether you are comfortable with the skill potentially sending your email address to Unpaywall. The scan covered one Markdown file but was marked partial because several referenced paths were missing, so it does not establish what those references contain.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (4)

A specific-paper reading skill mandates an open-ended, multi-paper literature review.

Medium
Category
Excessive Agency
Confidence
94% confidence
Finding

The mandatory coverage gate can expand a request to read one paper into repeated searches and multi-paper analysis without a fixed resource limit or user approval. Although appropriate for an explicitly authorized literature review, applying it unconditionally can cause excessive tool use, costs, and project changes beyond the user's requested scope.

Content

No source excerpt is available for this finding.

Skill Enumeration

Medium
Category
Agent Snooping
Confidence
80% confidence
Finding

Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.

Content

Scanner excerpt · SKILL.md (reported line 46)May include surrounding context.

md
## Trajectory Memory Protocol

Before executing this skill, follow `skills/trajectory-memory/SKILL.md`: read
`trajectory_context.md` and recent `trajectory_memory.jsonl` as workflow prior.
After meaningful paper-read, extraction, full-text escalation, or EV-writing
actions, append a `S3_PaperReader` trajectory record. Do not treat trajectory

External Transmission

Medium
Category
Data Exfiltration
Confidence
94% confidence
Finding

The external request supports the stated paper-retrieval task, so contacting Unpaywall is not inherently suspicious. However, its email query parameter creates the same unauthorized personal-data disclosure identified by SQP-2; this is a duplicate observation of that issue, not a separate exfiltration channel.

Content

Scanner excerpt · SKILL.md (reported line 83)May include surrounding context.

md
1. **arXiv HTML 最新版**:`web_fetch https://arxiv.org/html/{id}` → Trafilatura 语义提取
2. **arXiv HTML 指定版本**:依次尝试 `v2`, `v3`, `v1`
3. **PDF via browser**:`browser https://arxiv.org/pdf/{id}` → 提取文本(慢,摘要不够时用)
4. **Unpaywall**(非 arXiv):`web_fetch https://api.unpaywall.org/v2/{doi}?email=%7BUSER_EMAIL%7D%60
5. **最终降级**:全文不可达时保持 abstract_only,注明"基于摘要分析,未读全文"

**表格与图注专项提取**(Trafilatura 会丢弃 `<table>`,须单独处理):

The Unpaywall fallback sends the user's email address to a third party without a privacy warning.

Medium
Category
Output Handling
Confidence
98% confidence
Finding

The fallback instructs the agent to send USER_EMAIL to Unpaywall without establishing that the user authorized that disclosure. This is a legitimate scholarly service rather than an apparent attacker endpoint, but including a personal email address in the URL exposes it to the recipient and potentially to request logs.

Content

No source excerpt is available for this finding.