Back to skill

Security audit

Compress Pdf

Security checks for vulnerabilities and agentic risk

Overview

This PDF compression skill is under-specified and would send user PDFs to an external service without enough disclosure, scoping, or consent controls.

Review before installing. Only use this skill with non-sensitive PDFs unless the publisher documents the exact service endpoint, privacy and retention practices, deletion controls, and requires explicit confirmation before upload. The skill should also remove unrelated invocation language and either remove exec access or tightly define the allowed compression command.

Vulnerability Patterns
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
  • 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 (2)

other

Error
Location
SKILL.md:6
Finding

Uncontrolled Disclosure of User Documents to an Unidentified Third-Party Service

Content
View full analysis
Remediation
View remediation

T05 · Unauthorized Access and Privilege Escalation

Warning
Location
SKILL.md:14
Finding

Unnecessary Arbitrary Command-Execution Capability

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • 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
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (5)

Missing User Warnings

High
Category
Not specified by scanner
Confidence
99% confidence
Finding

The skill states that it uploads a user-provided PDF to an external service but does not present a prominent user warning, consent requirement, or privacy notice near the description. This is dangerous because users may unknowingly expose confidential documents to a third party, with possible retention, logging, or cross-border transfer risks.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The description uses broad invocation language and unrelated marketing/growth scenarios instead of narrowly scoping when the skill should activate for PDF compression. Overbroad triggers can cause the agent to invoke the skill in inappropriate contexts, potentially sending unintended user content or files to an external service.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
89% confidence
Finding

The description abruptly switches between English and Chinese, embedding Chinese-language usage guidance without offering the user a language choice or documenting a justified locale requirement. This can violate language/locale policy expectations by implicitly forcing or assuming a specific language context.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill claims to compress PDFs by uploading them to an external service and polling for completion, but the body of the skill only describes generic parsing/processing behavior with no concrete PDF-specific workflow, data handling, or service interaction details. This mismatch can mislead users and agents about what data is being processed and where it is sent, increasing the risk of unintended disclosure or unsafe execution assumptions.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

The dependency section says only an LLM API is required, yet the skill description says user PDFs are uploaded to Cross-Service-Solutions and polled asynchronously. Hiding or omitting the external service dependency obscures network data flows and trust boundaries, which is dangerous when handling potentially sensitive documents.

Content

No source excerpt is available for this finding.