Back to skill

Security audit

cdn

Security checks for vulnerabilities and agentic risk

Overview

This CDN skill is mostly documentation, but it asks for command/API capability and credentials while using broad triggers and weak user-control boundaries for operations that could affect a live CDN.

Review before installing. Use this skill only for CDN tasks, and do not let it run authenticated provider API calls or shell commands unless you have explicitly requested the specific action and checked the domain, zone, token permissions, and rollback impact. Prefer read-only diagnostics unless you intend to change CDN configuration or purge production cache.

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 (7)

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The activation description is overly broad and can cause the skill to be invoked for generic coding, debugging, deployment, or automation tasks beyond CDN administration. In a skill with exec and external API capabilities, ambiguous triggering increases the risk of inappropriate use and over-privileged actions in unrelated contexts.

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

3. 紧急情况:通过 API 强制刷新

Cloudflare

curl -X POST "https://api.cloudflare.com/client/v4/zones/{zone_id}/purge_cache"
-H "Authorization: Bearer {token}"
-d '{"files":["https://example.com/page.html"]}'

text

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

3. 紧急情况:通过 API 强制刷新

Cloudflare

curl -X POST "https://api.cloudflare.com/client/v4/zones/{zone_id}/purge_cache"
-H "Authorization: Bearer {token}"
-d '{"files":["https://example.com/page.html"]}'

text

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The documentation presents a concrete success payload with fields like configured status, cache hit rate, edge node counts, and active rule counts, implying the skill actually performs or verifies CDN changes. In this file, there is no implementation logic that would produce those operational results, creating a misleading intent-versus-behavior description.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill is presented as a CDN configuration assistant, but its documented capabilities expand to generic file handling, external API integration, and command execution. This capability sprawl can mislead users and downstream agents into granting broader trust and permissions than warranted, increasing the chance of unsafe execution or unintended system changes.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The skill advertises command execution, file handling, and external API use without prominent safety constraints, approval boundaries, or data handling warnings. In context, this makes the skill more dangerous because users may treat it as a normal CDN assistant while it can potentially perform side-effecting operations on the host or transmit data externally.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Low
Category
Not specified by scanner
Confidence
77% confidence
Finding

The manifest does not explicitly state that the skill will manage or require external provider credentials, yet the documentation instructs users to export an API key via environment variables. For a CDN advisory/configuration skill, credential handling may be valid only if provider API integration is clearly declared as part of the purpose.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.