Back to skill

Security audit

Terminal UI Website Design

Security checks for vulnerabilities and agentic risk

Overview

This is a static terminal-themed UI design-system skill; the flagged comments and Chinese labels are template content, not hidden behavior or unsafe access.

Installers should treat this as a UI style reference. Review and localize the sample Chinese labels before reusing the templates in a production app, and only include the sample localStorage theme code if browser theme persistence is desired.

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
  • 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
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (5)

Hidden Instructions

High
Category
Prompt Injection
Confidence
70% confidence
Finding

Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.

Content

Scanner excerpt · SKILL.md (reported line 237)May include surrounding context.

ready

```

Hidden Instructions

High
Category
Prompt Injection
Confidence
70% confidence
Finding

Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.

Content

Scanner excerpt · references/component-templates.html (reported line 1)May include surrounding context.

html
<!-- ===================================
     Terminal UI Design System
     Component Templates
     =================================== -->

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
97% confidence
Finding

The sample theme toggle uses title="切换主题" and aria-label="切换主题", which forces a specific language in user-facing text. The document does not indicate that this locale choice is optional, configurable, or justified as region-specific.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
85% confidence
Finding

This CSS file contains extensive natural-language comments in Chinese, such as section headings and explanatory notes, with no indication that the skill is intended only for Chinese-speaking users or that multilingual support is available. Under the policy rule for language/locale constraints, this is a natural-language locale choice imposed without user opt-in or justification.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
95% confidence
Finding

This HTML template contains user-facing natural-language strings in Chinese, beginning with the section heading at L007 and continuing throughout the file. Because the file does not indicate that the interface is region-specific or provide any user opt-in or language-selection mechanism, it appears to enforce a specific locale.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.