Back to skill

Security audit

UI组件生成(免费版)

Security checks for vulnerabilities and agentic risk

Overview

This looks like a UI component generator, but it asks for broad write and command execution authority without tight scope or clear user controls.

Review this before installing if you do not want a UI helper skill to have general command execution or file-writing authority. It is safest to use it only for generating code in chat or saving explicitly named HTML files, and to avoid letting it run shell commands except for a deliberate local preview you requested.

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
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Behavioral ASTexec() Call, eval() Call, Dynamic Import
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (6)

Context-Inappropriate Capability

High
Category
Not specified by scanner
Confidence
97% confidence
Finding

The skill declares exec despite its stated purpose being generation of single-file HTML/CSS components, which does not inherently require shell execution. Unnecessary command execution materially increases attack surface because an agent could create, open, or run local commands on the user system under the pretext of normal skill usage.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The skill claims to be a narrowly scoped local HTML/CSS component generator, but the documentation broadens behavior into generic create/query/modify/delete, import/export, and runtime configuration flows. That mismatch weakens least-privilege expectations and can enable an agent to justify actions outside the advertised UI-generation scope, increasing the chance of unsafe file or command operations.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill includes write and exec capabilities and even suggests local commands to open files, but it does not prominently warn that files may be created or commands may run on the user machine. Missing disclosure undermines informed consent and increases the risk of unintended local side effects from ordinary-seeming component-generation requests.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The trigger condition covers broad development activities such as code generation, programming assistance, debugging, testing, and deployment, far beyond UI component generation. Overbroad invocation criteria make accidental activation more likely and can route unrelated requests into a skill that has write/exec capabilities, increasing misuse risk.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The file states the skill is fully local and does not involve external APIs, but elsewhere requires an LLM API and notes network/model dependence. This inconsistency can mislead users about data flow and trust boundaries, causing them to provide sensitive input under false assumptions about locality and external exposure.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
88% confidence
Finding

The display name, summary, description, examples, and operational guidance are all written in Chinese, but the document does not state that the skill is China-specific or provide users an option to choose another language. This can violate language/locale policy when a skill effectively forces a specific language without user opt-in.

Content

No source excerpt is available for this finding.