Back to skill

Security audit

project-timeline-board

Security checks for vulnerabilities and agentic risk

Overview

This is a coherent static project timeline template, but users should only use trusted configuration content because the renderer treats configured text and HTML as page markup.

Install this as a visual timeline template only if you are comfortable with a Chinese-language workflow. Do not paste timeline configuration from untrusted sources or host it on an authenticated sensitive origin unless you first sanitize or rewrite the renderer to use textContent/DOM creation for untrusted fields.

Vulnerability Patterns
  • 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
  • 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 (1)

T09 · Insecure Skill Coding Practices

Warning
Location
assets/render-from-config.js:252
Finding

DOM-Based Cross-Site Scripting Through Unsanitized Extras Configuration

Content
View full analysis
' + card.label + '
' + card.content + '
'; }).join(''); ``` The generated `cards` string is subsequently assigned to `extrasSection.innerHTML`, causing configuration-controlled markup to be parsed by the browser. ### Technical Analysis The `card.label`, `card.content`, and `card.type` configuration properties are concatenated directly into an HTML string without contextual encoding, validation, or sanitization. The project documentation explicitly allows `extras.content` to contain HTML. However, the renderer does not distinguish approved formatting elements from active content such as event handlers, script-capable SVG elements, iframes, or dangerous URL schemes. Allowing formatted HTML without an allowlist sanitizer therefore permits arbitrary active markup. For example, a malicious or compromised configuration could contain: ```javascript extras: { status: { label: 'Project status', type: 'ok', content: '' } } ``` When the page renders this configuration, the invalid image triggers its `onerror` handler and executes attacker-controlled JavaScript in the page's origin. The issue is not limited to `extras`. Other configuration fields are also inserted through `innerHTML` in the same renderer, including project metadata, overview labels, key-node content, Gantt labels, and todo descriptions. Consequently, removing only the example payload from `extras` would not fully address the broader unsafe r ...[truncated 1678 chars]
Remediation
View remediation
Vulnerability Patterns
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (10)

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The manifest describes a zero-threshold page generated by editing a JS configuration file with separated data and view, including automatic status determination. In this HTML file, the project content, milestones, todos, and Gantt data are embedded directly in markup and inline script rather than being sourced from an external configurable JS data model, so the implementation behaves like a bespoke static page instead of a generic config-driven generator.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

This code inserts configuration-controlled data into the DOM using innerHTML, including cfg.projectName, cfg.status, cfg.startDate, and cfg.endDate, without sanitization or escaping. If window.PROJECT_CONFIG can be influenced by an attacker or untrusted source, this enables DOM-based cross-site scripting that can execute arbitrary JavaScript in the page context, not merely a data-integrity/UI issue.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
98% confidence
Finding

The renderer builds large HTML fragments from cfg.keyNodes, cfg.todos, cfg.extras, and other config-driven fields, then assigns them via innerHTML. Because values like node.title, node.subtitle, item.text, card.label, and card.content are interpolated directly into HTML, an attacker controlling the configuration can inject script-bearing markup or event handlers and achieve persistent DOM XSS across multiple page regions.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
92% confidence
Finding

The README states the project as "真正零门槛" and specifically notes that configuration items have Chinese comments, presenting the skill documentation and expected usage in Chinese only. This is a natural-language locale policy concern because the file imposes a specific language without opt-in, alternative language guidance, or a documented region-specific reason.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
89% confidence
Finding

The manifest description and title present the skill as Chinese-language by default, and the examples/instructions throughout the file are written for a Chinese-localized workflow. There is no indication that users may choose another language or that the skill is intentionally limited to a China-specific or Chinese-only context.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
96% confidence
Finding

This JavaScript file contains natural-language comments and usage instructions exclusively in Chinese, including setup guidance and field descriptions. Under the policy rule for language/locale, forcing a specific language without user opt-in or justification can be a policy violation.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
95% confidence
Finding

The HTML document declares lang="zh-CN", and the visible interface text throughout the page is Chinese-only. Under the policy, forcing a specific language without user opt-in can be a natural-language locale violation when no choice or justification is provided.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Low
Category
Not specified by scanner
Confidence
87% confidence
Finding

The manifest claims automatic classification of each node as completed, today, upcoming, or not started based on the current date. Although lines L595-L611 compute statuses for chips with data-date attributes, other milestone and post-release status indicators are manually fixed in the HTML with preset classes/text such as 'soon', 'later', and '进行中', so the behavior is not consistently automatic across the board.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
93% confidence
Finding

Natural-language comments and usage instructions are presented entirely in Chinese, which imposes a specific language context on maintainers or users reading the skill file. There is no indication that this locale is optional, user-selected, or justified as a region-specific tool.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
90% confidence
Finding

This markdown file is written entirely in Chinese and specifies locale-specific fonts such as 'Noto Sans SC' and 'Noto Serif SC'. Under the policy, forcing a specific language or locale without user opt-in can be a natural-language policy violation unless the regional constraint is clearly documented and justified.

Content

No source excerpt is available for this finding.