Back to skill

Security audit

Delete File

Security checks for vulnerabilities and agentic risk

Overview

This skill does exactly what it claims: delete a PDF API Hub cloud file by URL using the user's API key.

Install only if you intend to let the agent delete PDF API Hub files. Before each use, verify the exact URL and API key context, because the skill does not include an explicit confirmation step or recovery guidance.

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
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (5)

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The skill enables a destructive delete action but does not clearly warn that deletion may be irreversible or cause permanent data loss. In an agent setting, missing safety language increases the chance of accidental destructive use, especially if a user or upstream workflow passes the wrong URL.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% 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 31)May include surrounding context.

Example Usage

bash
curl -X POST https://pdfapihub.com/api/v1/file/delete \
  -H "CLIENT-API-KEY: your_api_key" \
  -H "Content-Type: application/json" \
  -d '{ "url": "https://bucket.s3.amazonaws.com/pdf/abc123_my_report.pdf" }'

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
80% confidence
Finding

This JSON manifest/example shows a file deletion request and successful deleted response, but provides no surrounding specificity about when this action should be invoked or any limiting conditions. In a manifest-style file, presenting destructive behavior without explicit scope or exclusions can contribute to overly broad or ambiguous activation semantics.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The manifest exposes a destructive delete capability but provides no built-in warning, confirmation requirement, or usage guidance indicating that deletion is irreversible or should require explicit user intent. In an agent setting, this increases the risk of accidental or socially engineered file deletion, especially because the action is simple, high-impact, and triggered solely by a supplied URL.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
37% confidence
Finding

The response example uses fixed English status fields such as "success" and "deleted", but these are API field names rather than natural-language instructions to users. Because this is primarily structural configuration rather than a user-facing language mandate, evidence of a policy violation is weak.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.