Back to skill

Security audit

smartlib-citation-checker

Security checks for vulnerabilities and agentic risk

Overview

ClawScan rates this skill suspicious with high confidence because scanners report many capabilities beyond citation checking, unclear data sharing, and payment and trust-boundary concerns; scan coverage is partial.

Consider avoiding installation unless you need and trust the broader paid services as well as citation checking. Before using it, review which provider receives each type of data, what is uploaded, and when charges occur; scanner coverage is incomplete, so the scan does not establish that uninspected or partially inspected material is safe.

Vulnerability Patterns
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • 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
Findings (1)

T09 · Insecure Skill Coding Practices

Warning
Location
scripts/mcp_server.py:498
Finding

Paid helpers execute newly generated quotes without an enforced approval step

Content
View full analysis

Impact

Successful tasks can consume wallet points without approval of the actual quote used. Even if an Agent separately obtained approval for an earlier quote, these helpers discard that approval context and execute a fresh quote without binding its price or identifier to the user's authorization.

Vulnerability Patterns
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • System Prompt LeakageDirect Leakage, Indirect Extraction, Tool-Based Exfiltration
Findings (113)

Tainted flow: 'req' from os.environ.get (line 287, credential/environment) → urllib.request.build_opener.open (network output)

Critical
Category
Data Flow
Confidence
90% confidence
Finding

Credentials or environment variables flow to a network sink. This is a high-confidence indicator of credential exfiltration.

Content

Scanner excerpt · scripts/owl_api.py (reported line 289)May include surrounding context.

python
headers.update(extra_headers)
    req = urllib.request.Request(url, data=data, headers=headers, method=method.upper())
    try:
        with _OPENER.open(req, timeout=timeout) as r:
            payload = r.read().decode("utf-8", "replace")
            status = r.status
    except urllib.error.HTTPError as e:

Tainted flow: 'req' from os.environ.get (line 830, credential/environment) → urllib.request.build_opener.open (network output)

Critical
Category
Data Flow
Confidence
90% confidence
Finding

Credentials or environment variables flow to a network sink. This is a high-confidence indicator of credential exfiltration.

Content

Scanner excerpt · scripts/owl_api.py (reported line 832)May include surrounding context.

python
headers["Authorization"] = "Bearer " + load_key(key)
    req = urllib.request.Request(url, data=None, headers=headers, method=method.upper())
    try:
        with _OPENER.open(req, timeout=timeout) as r:
            return r.read()
    except urllib.error.HTTPError as e:
        msg = e.read().decode("utf-8", "replace")[:300]

Direct Prompt Extraction

High
Category
System Prompt Leakage
Confidence
85% confidence
Finding

Skill contains instructions that could directly expose system prompts, internal rules, or hidden instructions to users or external parties.

Content

Scanner excerpt · README.md (reported line 108)May include surrounding context.

md
Shares credentials and quota with [global-biblio-base](../global-biblio-base). Auto-registration with 100 free checks/month.

| Status | Display Rule |
|--------|-------------|
| Quota available | Full report (diff markers, verification links, analytics) |
| Quota exhausted | Quota accounts: 429 + plan card. Balance accounts: judged by balance, not call count |

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The code includes citation-related search and verification options, but its implemented command surface is substantially broader than the declared reference-authenticity checker. Commands such as quote --action write, figure, typeset, patent, patent-report, campaign, and claim-favorite expose distinct undeclared capabilities. It uses an OwlWrite API wrapper rather than visibly implementing the described SmartLib verification workflow. The supplied chunk does not demonstrate HTML verification-report generation, the claimed multi-format parsing, eight-item parallel searches, token caching, early-termination fallback, or automatic registration; those could exist in unseen components and are not independently disproven here. The explicit unrelated capabilities are sufficient to establish a mismatch. Network and service internals remain unverified because owl_api is not supplied.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

There is partial alignment: search and run_report can support reference verification and HTML report delivery, while credential storage, uploads, polling, and recharge operations can support the declared workflow. However, explicit functions such as figure(), typeset(), patent(), patent_report_submit(), and claim_favorite() expose substantial capabilities unrelated to the stated citation-auditing purpose. The implementation targets an OwlWrite gateway rather than directly demonstrating the declared SmartLib integration. Automatic registration, eight-item parallel searches, token caching, the listed citation-format parsers, and broad original-database link coverage are not established by this chunk; those omissions alone do not prove they are absent elsewhere. The clear mismatch is the presence of numerous undeclared operational capabilities.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

Reference verification is genuinely supported through quote/run endpoints and report summaries containing verdicts and metadata discrepancies. However, the exposed tools implement a substantially broader academic production and commercial platform than the declared citation-auditing skill. Writing, figure generation, typesetting, plagiarism checking, and promotional reward submissions are independent capabilities, not merely implementation details of verification. Recharge functionality alone is not a mismatch because payment handling is declared. The code requires an existing Owl API key and directs unregistered users to a website, rather than implementing the advertised automatic registration. SmartLib integration, multi-format parsing/output, eight-item parallel verification, and the claimed database coverage are not demonstrated in this chunk; they could exist behind the gateway, so their absence here is not the primary basis for the finding.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The supplied code explicitly implements an OwlWrite HTTP client, including an unrelated screenshot-review operation. Those capabilities and the service accessed are not represented in the declared SmartLib citation-auditing purpose. The chunk does not implement citation parsing, reference validation, or HTML reporting, though their absence alone would not establish a mismatch in a partial code sample. The positive mismatch evidence is the different service integration and screenshot-submission capability. HTTP transport, credential safeguards, and screenshot handling are delegated to owl_api, whose implementation was not supplied, so their internal behavior cannot be independently verified here.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
88% confidence
Finding

The supplied command persistently adds an MCP server named owlwrite, using https://owl.skillsutra.cn and a server script under owlwrite-paper. This is a different integration from the declared SmartLib-based verifier, and the snippet provides no evidence connecting it to that purpose. The server's implementation is not supplied, so its runtime capabilities and any actual network or data-transfer behavior cannot be determined.

Content

No source excerpt is available for this finding.

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
以一篇 2026 年最新发表的 EACFM 期刊论文为例,展示完整 5 步流程。完整报告见 `examples/citation_check_paper_draft_sample.html`。

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
> Full report: `examples/citation_check_paper_draft_sample.html`

Agent Config Directory Access

High
Category
Agent Snooping
Confidence
90% confidence
Finding

Skill reads from agent configuration directories (.claude/, .codex/, .gemini/). These directories may contain API keys, personal settings, and other credentials that the skill has no legitimate need to access.

Content

Scanner excerpt · references/mcp-setup.md (reported line 93)May include surrounding context.

设置界面的 MCP JSON 与 Claude Desktop 结构完全相同(mcpServers.owlwrite,command/args/env 三件套)。

Codex CLI(~/.codex/config.toml)

toml
[mcp_servers.owlwrite]

The citation-checking skill exposes paid paper-writing, plagiarism-checking, illustration, and typesetting workflows.

High
Category
Excessive Agency
Confidence
99% confidence
Finding

The manifest describes verifying references through SmartLib and producing verification reports, but owl_quote accepts paper-writing, plagiarism-checking, and typesetting actions that owl_run can execute (L363–L369). Dedicated illustration and whole-paper typesetting tools also execute paid workflows (L467–L526 and L529–L692), extending the skill beyond citation verification and reference-format output.

Content

No source excerpt is available for this finding.

External citation verification lacks a warning about sharing user-provided reference data.

Medium
Category
Output Handling
Confidence
90% confidence
Finding

L118 describes live verification through the third-party SmartLib API, but the README does not warn that user-provided citation data is transmitted to that service. References extracted from unpublished manuscripts can reveal sensitive research topics or associations even without transmitting the full manuscript.

Content

No source excerpt is available for this finding.

Skill declares no tool scope ('permissions' or 'allowed-tools') but code capabilities were detected: env, file_write, network, shell.

Medium
Category
MCP Least Privilege
Confidence
70% confidence
Finding

Without declared permissions the skill's intent is opaque and cannot be validated.

Content

No source excerpt is available for this finding.

The workflow sends citation-check usage telemetry to a separate service for future account migration, rather than verification.

Medium
Category
Excessive Agency
Confidence
97% confidence
Finding

After account linking, every check sends an authenticated run identifier and usage count to a separate service for future migration rather than current verification. Linking consent is not clearly distinguished from consent to ongoing cross-service usage tracking, and silent failure handling reduces visibility; the documented payload does not include citation text.

Content

No source excerpt is available for this finding.

Deep verification sends original user references to a separate service without an explicit data-sharing warning.

Medium
Category
Output Handling
Confidence
89% confidence
Finding

Deep verification transmits complete original references to the separate Owl service during quotation, before the later confirmation that starts the paid run. Although the optional provider and billing are described, the workflow does not explicitly disclose this original-text transfer or require informed data-sharing consent; sensitive or unpublished reference content can therefore leave the device unexpectedly.

Content

No source excerpt is available for this finding.

The workflow acts as an unrestricted relay for remote service messages and click-through links.

Medium
Category
Excessive Agency
Confidence
99% confidence
Finding

The workflow requires arbitrary gateway notification text and links to be repeated unchanged, with the assistant encouraging clicks. This turns remotely controlled service content into trusted-looking assistant recommendations, enabling phishing or misleading account and payment instructions if notification content is malicious or compromised.

Content

No source excerpt is available for this finding.

Gateway notifications are unconditionally promoted into verbatim assistant messages and link-click recommendations.

Medium
Category
Prompt Injection
Confidence
99% confidence
Finding

The unconditional verbatim-forwarding requirement crosses a trust boundary by letting lower-trust API responses determine assistant speech and link recommendations. It launders potentially deceptive remote text through the assistant, though the source does not explicitly authorize executing commands contained in that text.

Content

No source excerpt is available for this finding.

Ae4

Medium
Category
analysis-evasion
Confidence
80% confidence
Finding

Suspicious Unicode normalization or mixed-script content

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · examples/citation_check_ai_hallucination_sample.html (reported line 122)May include surrounding context.

html
<td class="col-corrected"><div class="corrected-text">[1]董鹏,陈劲春,冷雪.表达胰岛素的毕赤酵母生长动力学及诱导策略[J].北京化工大学学报(自然科学版),2006,33(3):37-41.</div>
<button class="dl-single-btn" onclick="dlSingle(1, "[1]董鹏,陈劲春,冷雪.表达胰岛素的毕赤酵母生长动力学及诱导策略[J].北京化工大学学报(自然科学版),2006,33(3):37-41.")" title="下载此条">⬇</button></td>
<td class="col-diff"><div class="diff-item"><span class="diff-field">作者:</span><span class="diff-del">[删除]陈金春</span> → <span class="diff-add">[新增]陈劲春(数据库:陈劲春)</span></div></td>
<td class="col-verify"><a href="https://data.smart.vipslib.com/articlesearch/web_searchingDetail?id=203103232645" target="_blank" class="verify-btn">🔗 验证</a></td>
</tr>
<tr>
<td class="col-num">2</td>

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · examples/citation_check_ai_hallucination_sample.html (reported line 131)May include surrounding context.

html
<td class="col-corrected"><div class="corrected-text">[2]刘玉伟,黄明志,庄英萍,等.毕赤酵母高密度表达重组猪胰岛素前体的研究[J].微生物学通报,2007,34(1):225-229.</div>
<button class="dl-single-btn" onclick="dlSingle(2, "[2]刘玉伟,黄明志,庄英萍,等.毕赤酵母高密度表达重组猪胰岛素前体的研究[J].微生物学通报,2007,34(1):225-229.")" title="下载此条">⬇</button></td>
<td class="col-diff"><div class="diff-item"><span class="diff-field">期号:</span><span class="diff-del">[删除]2</span> → <span class="diff-add">[新增]1(数据库显示期号为1期)</span></div><div class="diff-item"><span class="diff-field">作者:</span><span class="diff-del">刘玉伟;黄明志;庄英萍</span> → <span class="diff-add">刘玉伟;黄明志;庄英萍;储炬;张嗣良(数据库包含更多作者)</span></div></td>
<td class="col-verify"><a href="https://data.smart.vipslib.com/articlesearch/web_searchingDetail?id=203139332107" target="_blank" class="verify-btn">🔗 验证</a></td>
</tr>
<tr>
<td class="col-num">3</td>

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · examples/citation_check_ai_hallucination_sample.html (reported line 204)May include surrounding context.

html
rrected"><div class="corrected-text">[11]Thim L,Hansen M T,Norris K,等.Secretion and processing of insulin precursors in yeast.[J].Proc Natl Acad Sci U S A,1986,83(18):6766-6770.</div>
<button class="dl-single-btn" onclick="dlSingle(11, "[11]Thim L,Hansen M T,Norris K,等.Secretion and processing of insulin precursors in yeast.[J].Proc Natl Acad Sci U S A,1986,83(18):6766-6770.")" title="下载此条">⬇</button></td>
<td class="col-diff"><div class="diff-item"><span class="diff-field">期号:</span><span class="diff-del">[删除]17</span> → <span class="diff-add">[新增]18(数据库显示18期)</span></div><div class="diff-item"><span class="diff-field">期刊名:</span><span class="diff-del">[删除]Proceedings of the National Academy of Sciences</span> → <span class="diff-add">[新增]Proc Natl Acad Sci U S A(缩写形式)</span></div></td>
<td class="col-verify"><a href="https://data.smart.vipslib.com/articlesearch/web_searchingDetail?id=203962785190" target="_blank" class="verify-btn">🔗 验证</a></td>
</tr>
<tr>
<td class="col-num">12</td>

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · examples/citation_check_ai_hallucination_sample.html (reported line 213)May include surrounding context.

html
<td class="col-corrected"><div class="corrected-text">[12]Joakim Nilsson,Per Jonasson,Elisabet Samuelsson,等.Integrated production of human insulin and its C-peptide[J].Journal of Biotechnology,1996,48(3):241-250.</div>
<button class="dl-single-btn" onclick="dlSingle(12, "[12]Joakim Nilsson,Per Jonasson,Elisabet Samuelsson,等.Integrated production of human insulin and its C-peptide[J].Journal of Biotechnology,1996,48(3):241-250.")" title="下载此条">⬇</button></td>
<td class="col-diff"><span class="no-diff">—</span></td>
<td class="col-verify"><a href="https://data.smart.vipslib.com/articlesearch/web_searchingDetail?id=20381461973" target="_blank" class="verify-btn">🔗 验证</a></td>
</tr>
<tr>
<td class="col-num">13</td>

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · examples/citation_check_ai_hallucination_sample.html (reported line 222)May include surrounding context.

html
<td class="col-corrected"><div class="corrected-text">[13]T Kjeldsen,A F Pettersson,M Hach.Secretory expression and characterization of insulin in Pichia pastoris[J].Biotechnology and Applied Biochemistry,1999,29 ( Pt 1)(2):79-86.</div>
<button class="dl-single-btn" onclick="dlSingle(13, "[13]T Kjeldsen,A F Pettersson,M Hach.Secretory expression and characterization of insulin in Pichia pastoris[J].Biotechnology and Applied Biochemistry,1999,29 ( Pt 1)(2):79-86.")" title="下载此条">⬇</button></td>
<td class="col-diff"><div class="diff-item"><span class="diff-field">卷/期:</span><span class="diff-del">[删除]29(2)</span> → <span class="diff-add">[新增]29 Pt 1(数据库使用Pt格式)</span></div></td>
<td class="col-verify"><a href="https://data.smart.vipslib.com/articlesearch/web_searchingDetail?id=203597267510" target="_blank" class="verify-btn">🔗 验证</a></td>
</tr>
<tr>
<td class="col-num">14</td>

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · examples/citation_check_ai_hallucination_sample.html (reported line 239)May include surrounding context.

html
<td class="col-corrected"><div class="corrected-text">[15]Ferrer-Miralles,Neus,Domingo-Espin,等.Microbial factories for recombinant pharmaceuticals[J].Microbial Cell Factories,2009,8(1):17.</div>
<button class="dl-single-btn" onclick="dlSingle(15, "[15]Ferrer-Miralles,Neus,Domingo-Espin,等.Microbial factories for recombinant pharmaceuticals[J].Microbial Cell Factories,2009,8(1):17.")" title="下载此条">⬇</button></td>
<td class="col-diff"><span class="no-diff">—</span></td>
<td class="col-verify"><a href="https://data.smart.vipslib.com/articlesearch/web_searchingDetail?id=203180926206" target="_blank" class="verify-btn">🔗 验证</a></td>
</tr>
<tr>
<td class="col-num">16</td>