Back to skill

Security audit

PDFGate HTML to PDF

Security checks for vulnerabilities and agentic risk

Overview

The skill performs its advertised PDF conversion with clearly disclosed uploads, API-key use, and user-controlled output files.

Approve sending document and template contents to PDFGate, protect your API key, and expect production usage charges. Start with a sandbox key and verify authentication compatibility against the provider's [authentication documentation](https://pdfgate.com/documentation/authentication).

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
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • 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 (3)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The supplied chunk performs skill distribution and account setup rather than PDF conversion. It contains no PDFGate API calls, HTML or URL conversion logic, or PDF layout handling. Although these commands could be release instructions for a larger project, their behavior is materially different from the declared functionality. This assessment applies only to the supplied chunk.

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_read, network.

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.

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 139)May include surrounding context.

md
## Implementation notes

- The script calls `POST https://api.pdfgate.com/v1/generate/pdf` (or the sandbox host) with the API key in the `X-API-KEY` header and streams the binary PDF response to disk. It does not use `jsonResponse`, so nothing depends on PDFGate file storage settings.
- The PDF is written to a temporary file first, checked for the `%PDF-` signature, then moved into place.
- JavaScript on the page runs in PDFGate's headless Chrome. Use `--wait-for-selector`, `--wait-for-network-idle` or `--delay-ms` when content loads asynchronously.
- The fillable form feature creates real AcroForm fields from HTML inputs. It is not an e-signature workflow.