Back to skill

Security audit

PDF Extract

Security checks for vulnerabilities and agentic risk

Overview

The skill is not clearly malicious, but it advertises PDF extraction while also enabling broad PDF conversion and editing through an external ComPDF upload service.

Review this skill before installing if you only wanted extraction. Use it only for documents you are allowed to send to ComPDF Cloud, confirm uploads deliberately, avoid highly sensitive files unless approved, and be careful with editing actions such as delete, split, merge, watermark removal, or compression because the package exposes more than extraction.

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
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (11)

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

The skill metadata advertises extraction/OCR/parsing, but the body instructs the agent to perform a much broader set of PDF conversion and editing actions. This scope mismatch can cause the skill to be invoked in contexts users did not intend, increasing the chance of unintended document transformation or exfiltration to a third-party API under a misleading description.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

Triggering the skill whenever the user mentions 'ComPDF' or related keywords is overly broad and can activate external-upload behavior without a clear task match. In a file-processing skill, over-triggering is risky because it increases the chance of unnecessary collection, prompting for API keys, or steering documents into third-party processing paths.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The tool-selection section includes many non-extraction endpoints such as conversion, merge, split, and watermark operations despite the skill being presented as an extraction tool. That mismatch broadens effective privilege and may lead an agent to choose destructive or unnecessary actions on user files beyond the declared purpose.

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 · SKILL.md (reported line 120)May include surrounding context.

md
| Code | Description | Troubleshooting |
|---|---|---|
| 06001 | File processing quota exhausted | Purchase quota or wait for quota reset; visit https://api.compdf.com/api/pricing-old/?utm_source=clawhub&utm_medium=skillhub&utm_campaign=pdf_skill_pdf_extract&ref_platform_id=clawhub_skills for more credits |

### 07xxx - Feature Errors

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 · references/error-codes.md (reported line 77)May include surrounding context.

md
| Code | Description | Troubleshooting |
|---|---|---|
| 06001 | File processing quota exhausted | Purchase quota or wait for quota reset; visit https://api.compdf.com/api/pricing-old/?utm_source=clawhub&utm_medium=skillhub&utm_campaign=pdf_skill_pdf_extract&ref_platform_id=clawhub_skills for more credits |

### 07xxx - Feature Errors

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
98% confidence
Finding

The documented parameters expose broad document-modification capabilities such as merge, split, delete, rotate, insert, watermarking, comparison, and compression even though the skill is described as extraction-focused. This capability drift increases the chance an agent or user will invoke unintended write/destructive operations on uploaded PDFs, violating least privilege and expanding the attack surface beyond the stated purpose.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The documentation includes a page-deletion operation without any warning that it irreversibly removes content or that users should work on a copy. In an agent setting, ambiguous documentation around destructive actions can lead to accidental data loss if the model selects the wrong endpoint or infers deletion as an acceptable way to satisfy a request.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The manifest frames output formats as exports of extracted content from PDFs and images, not as general-purpose document conversion. This file advertises other-to-PDF and image-to-multiple-format conversion features, which suggests a broader converter skill than the declared extract-and-export intent.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The manifest describes a skill focused on extracting structured data, OCR text, tables, images, and stamps from PDFs and images, with export to various output formats. This reference file documents additional capabilities such as merging, splitting, deleting, rotating pages, adding/removing watermarks, comparing PDFs, converting to PDF/A, and generating PDFs, which materially exceed an extraction-only scope.

Content

No source excerpt is available for this finding.

Scope Creep

Low
Category
Excessive Agency
Confidence
70% confidence
Finding

Skill's behavior or capabilities extend beyond its stated purpose. Scope creep allows an agent to perform actions unrelated to its documented functionality, increasing the attack surface.

Content

Scanner excerpt · LICENSE.txt (reported line 50)May include surrounding context.

text
"Contribution" shall mean any work of authorship, including
   the original Work and any and all modifications thereof or Derivative
   Works thereof, and any and all modifications thereof. If the Work is
   a software module, then a Contribution includes, but is not limited
   to, any source code, object code, patch, and documentation related
   to the Work; and, for purposes of this definition, Contribution means
   any work of authorship submitted to, or already incorporated in, the

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
88% confidence
Finding

The file describes sending PDFs and images through OCR, extraction, conversion, comparison, and related document-processing features without any privacy or data-handling warning. In an extraction skill, users are likely to upload invoices, IDs, contracts, or other sensitive documents, so omission of an external-transmission notice can lead to inadvertent disclosure of confidential data to a third-party API.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.