Back to skill

Security audit

ooof

Security checks for vulnerabilities and agentic risk

Overview

The skill appears to be a real 3D timeline-map generator, but it needs Review because it creates web pages that trust unescaped input and load third-party code.

Install only if you control or carefully review the input JSON and assets. Avoid feeding it third-party datasets, avoid remote/private asset URLs, do not deploy generated pages publicly without sanitizing fields, and expect the page to contact unpkg unless the Three.js dependencies are bundled locally.

Vulnerability Patterns
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Insecure DependenciesIntroduces malicious components through unsafe dependency sources
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • 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
Findings (4)

T09 · Insecure Skill Coding Practices

Error
Location
generate.py:91
Finding

Stored Cross-Site Scripting Through Unsanitized Input Data

Content
View full analysis
{{TITLE}} ``` ```html

{{TITLE}}

{{SUBTITLE}}

``` ```javascript function fillCard(d){ const s = TYPE_STYLE[d.type]; tooltip.innerHTML = `
${d.year}${s.label}
` + `

${d.title}

` + `
${d.loc}
` + `
${d.desc}
` + ``; } ``` ### Technical Analysis Input JSON is treated as trusted markup and executable script data. The `m ...[truncated 2656 chars]
Remediation
View remediation
` element, with HTML-safe serialization, and parse its `textContent`. 5. Validate `wiki` and `baike` URLs against an explicit `https:` allowlist. Reject `javascript:`, `data:`, and other unexpected schemes. 6. Validate milestone field types and impose reasonable length limits. 7. Add a restrictive Content Security Policy that disallows inline scripts and event handlers. CSP should be defense in depth rather than the primary fix. 8. Add tests using payloads containing HTML event handlers, quotes, backticks, and literal `` strings. ]]>

T03 · Remote Payload Retrieval and Execution

Error
Location
template.html:52
Finding

Untrusted Remote JavaScript Is Retrieved and Executed at Page Load

Content
View full analysis
{ "imports": { "three": "https://unpkg.com/three@0.160.0/build/three.module.js", "three/addons/": "https://unpkg.com/three@0.160.0/examples/jsm/" } }
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Warning
Location
generate.py:28
Finding

Input-Controlled Network Requests and Arbitrary Local File Reads

Content
View full analysis
Remediation
View remediation

T08 · Insecure Dependencies

Warning
Location
SKILL.md:31
Finding

Unpinned and Unnecessary Python Dependency Installation

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • 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
Findings (12)

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
93% confidence
Finding

The skill instructs use of local file reads/writes and network retrieval for images/maps, but it declares no explicit tool scope or permission boundaries. That creates an authorization gap where an agent may invoke broader filesystem or network capabilities than users expect, increasing the risk of unintended data access, arbitrary file output, or external fetches from untrusted sources.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The trigger phrases are broad enough to match many generic visualization requests, which can cause the skill to activate outside its intended niche. Overbroad invocation increases the chance an agent will select a skill that performs file/network operations unnecessarily, exposing users to unintended side effects or data handling that would not be needed for a simpler visualization task.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The generator accepts arbitrary HTTP(S) image URLs from the input dataset and fetches them at build time, even though the skill is described as transforming JSON into HTML. This creates server-side request behavior and outbound network access that can be abused for SSRF-style probing of internal services, unexpected data exfiltration via request metadata, or privacy leaks about the environment running the generator.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The code exposes general-purpose retrieval of arbitrary remote resources through user-controlled paths for portraits, logos, and map assets. In a skill whose stated purpose is offline HTML generation from JSON, this broader fetch capability expands the attack surface beyond what users may expect and can be used to make the host contact attacker-chosen endpoints.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

Remote HTTP(S) resources are fetched automatically from user-supplied values without any user-facing notice or confirmation. This can surprise operators into making outbound requests to attacker-controlled or internal endpoints, which is especially risky in automated or privileged environments where the script may run with network access the data author does not have.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The template imports Three.js and OrbitControls directly from unpkg at runtime, which contradicts the claimed self-contained output and introduces supply-chain and availability risk. Anyone opening the generated HTML will make network requests to third-party infrastructure, allowing dependency tampering, outage-driven breakage, or privacy leakage about page usage.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The page loads map and image assets dynamically from external URLs at runtime via TextureLoader and Image, so the output is not actually self-contained. This exposes users to third-party tracking, broken rendering when remote assets disappear, and untrusted content delivery from externally controlled origins.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Low
Category
Not specified by scanner
Confidence
85% confidence
Finding

The manifest describes a skill that takes a provided JSON dataset and generates a self-contained HTML visualization. SKILL.md says the workflow may include 'you research/complete it', which broadens the skill from rendering supplied data into gathering or inferring domain-history content.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Low
Category
Not specified by scanner
Confidence
76% confidence
Finding

The manifest centers the skill on turning input JSON into a self-contained HTML page. The documentation additionally instructs users to deploy via CloudStudio, which is a broader publish/share workflow not reflected in the manifest description.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
79% confidence
Finding

This JSON content presents all visible titles, subtitles, labels, and descriptions in English, with no indication that users can select another language or that the file is intentionally limited to an English-only audience. Under the policy rule for language/locale, a forced language without opt-in can be a natural-language policy violation.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
91% confidence
Finding

This HTML file sets lang="en" and the visible interface text throughout the template is English-only, which can constitute a language/locale policy issue when no user opt-in or configurability is provided. The file does not indicate that the skill is intentionally region- or language-specific.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Low
Category
Not specified by scanner
Confidence
79% confidence
Finding

The stated purpose is to turn a dataset into an interactive 3D spatiotemporal graph web page, but the template also generates outbound links to Wikipedia and Baidu Baike searches. That behavior is not necessary to render the visualization and expands the page into a discovery/navigation tool.

Content

No source excerpt is available for this finding.