Back to skill

Security audit

Singlefile Output Reference

Security checks for vulnerabilities and agentic risk

Overview

The skill is a coherent reference library, but it tells agents to automatically install and load an unpinned external skill, which should be reviewed before installation.

Install only if you are comfortable with a Chinese-language code-generation reference skill and can prevent or explicitly approve the universal-task-os dependency installation. Review any generated Shell, deployment, SQL, webhook, or network scripts before running them, especially against production systems or sensitive data.

Vulnerability Patterns
  • Insecure DependenciesIntroduces malicious components through unsafe dependency sources
  • 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)

T08 · Insecure Dependencies

Warning
Location
SKILL.md:34
Finding

Automatic Installation and Loading of an Unverified External Skill

Content
View full analysis

Vulnerability Details

File Location: SKILL.md, lines 34–39 and line 51
Vulnerability Type: Supply-chain risk through automatic installation of an unverified dependency
Risk Level: Medium

Vulnerable Code Snippet

markdown
**加载检查流程**(每次激活时执行):

1. 检测 `universal-task-os` 技能是否已安装
2. **未安装** → 自动安装 `universal-task-os` 技能
3. **安装成功** → 同时加载UTOS,按本技能"使用规则"执行
4. **安装失败** → 降级为**只读参考模式**:
markdown
1. **依赖检查**:激活时按上述流程检测并安装UTOS

Technical Analysis

The Skill directs the Agent to install and load the external universal-task-os Skill automatically whenever that dependency is absent. It does not specify:

  • A trusted registry or repository
  • An authenticated publisher
  • An immutable package version or commit
  • A cryptographic checksum or signature
  • A dependency review procedure
  • Explicit user approval before installation

Consequently, the dependency name may be resolved through whichever package or Skill registry is available to the Agent. This creates a supply-chain trust transition in which instructions not included in the audited project can be installed and loaded into the Agent's execution context.

An attacker able to publish, substitute, or compromise the resolved dependency could supply malicious Skill instructions under the expected name. Because the dependency is loaded after installation, those instructions could influence subsequent Agent behavior and use any tools or permissions available in that environment.

Attack Path

  1. The user activates this Skill for a supported task.
  2. The Skill instructs the Agent to determine whether universal-task-os is installed.
  3. The dependency is absent.
  4. The Agent follows the automatic installation instruction.
  5. The unresolved package name is looked up through an available external registry or installation source.
  6. An attacker-controlled or compromised package is returned because the source, publisher, version, and integrity are not pinned.
  7. The Agent installs and l ...[truncated 889 chars]
Remediation
View remediation

Remediation Suggestions

  1. Remove automatic dependency installation from Skill activation.
  2. Keep the Skill in read-only mode when the dependency is unavailable.
  3. Require explicit, informed user approval before any installation.
  4. Specify an authoritative HTTPS registry or repository and verify the publisher identity.
  5. Pin the dependency to an immutable version or commit rather than resolving only by name.
  6. Verify a cryptographic checksum or trusted digital signature before installation.
  7. Audit the pinned dependency's instructions and packaged code before loading it.
  8. Apply least privilege when loading the dependency, restricting filesystem, network, command-execution, and credential access to what the requested task requires.
  9. Fail closed if source, version, publisher, signature, or checksum verification cannot be completed.
  10. Record the resolved source, version, and integrity value in installation logs for traceability.
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • 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
Findings (17)

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
第二层:结构要求清单 + 自包含约束 + 组装流程 + 质量等级 → references/structure-requirements.md

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
第二层:结构要求清单 + 自包含约束 + 组装流程 + 质量等级 → references/structure-requirements.md

Missing User Warnings

High
Category
Not specified by scanner
Confidence
97% confidence
Finding

The skill instructs automatic installation of a dependency without any user warning, approval, or trust verification step. Silent dependency installation is dangerous because it can introduce unreviewed code, change the execution environment, and enable downstream actions the user did not explicitly authorize.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The trigger list contains very broad, generic terms such as HTML, CLI tool, shell script, SQL script, and deployment-related phrases, making accidental activation more likely. Overbroad activation can route unrelated user requests into a skill that handles executable code patterns, increasing the chance of unsafe or unintended code-generation behavior.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
79% confidence
Finding

The skill advertises support for Shell deployment scripts, system administration scripts, and directly runnable code artifacts, which can affect user systems or data. The markdown does not provide any user-facing caution about reviewing generated scripts before execution or about risks from file, system, or deployment operations.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

The manifest description and primary instructions are presented in Chinese, and the file does not indicate that users may choose another language for interaction or output. Under the stated policy, a skill should not impose a specific language or locale without explicit user opt-in or documented justification.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill presents itself as a reference library, but its documented activation flow includes automatically installing another skill. That creates a mismatch between declared passive behavior and actual side effects, which can lead to unreviewed code introduction and expanded privileges through the dependency.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

A single-file output reference library does not need autonomous dependency installation to fulfill its stated purpose of documentation and reference lookup. Adding installation behavior unnecessarily increases attack surface and enables capability escalation beyond the minimum required function.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill content is written exclusively in Chinese and does not offer an opt-in language choice or explain that the catalog is intentionally region- or language-specific. This can violate language or locale policy when users are not given a choice or notice about the imposed language.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
87% confidence
Finding

The catalog describes skills for HTTP requests, WebSocket connections, and related notification chains, all of which can send user or system data to remote services. Because this is a markdown skill description, it should warn users that these capabilities may contact external endpoints and expose sensitive data if misused.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

This markdown file includes example pipelines that send notifications to an external webhook URL, which can transmit file-change or operational data off-system. The surrounding documentation does not include any warning or disclosure about external data transmission or the privacy implications of webhook notifications.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The file explicitly states Python CLI outputs must use only the standard library, but later entries list 'websockets' and 'dnspython' as implementation modules, and PIL as an optional module in image processing. Those examples directly conflict with the stated no-third-party dependency rule and undermine the documented intent of zero-dependency Python single-file tools.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The manifest describes the skill as centered on self-contained, zero-dependency, directly runnable single-file outputs, and this section reinforces that by stating HTML outputs should not rely on local files and should be constrained to limited external exceptions. However, elsewhere the file specifies CDN-based dependencies such as Three.js, KaTeX, Leaflet, and marked.js, which means the documented behavior is not actually zero-dependency or reliably offline-runnable for those output types.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

This line says offline execution should work for HTML outputs, but earlier documentation requires or allows remote CDN resources for some templates, including libraries that are essential to functionality. That is a direct contradiction between the file's validation guidance and the documented implementation requirements for several HTML output types.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The checklist requires lang="zh-CN" for HTML deliverables, which imposes a specific language/locale across outputs. This is a natural-language policy concern because the file does not offer user opt-in or explain that the skill is limited to a Chinese-only or region-specific context.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
92% confidence
Finding

The embedded HTML example sets lang="zh-CN", which hard-codes a specific locale in a reusable exemplar library. Because this file presents these templates as models to copy and adapt, the fixed Chinese locale can propagate a language/locale constraint without any 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
92% confidence
Finding

The calculator template uses lang="zh-CN" in a generic reusable example. In a shared exemplar repository, this can unintentionally enforce a specific language/locale policy on downstream outputs when no opt-in or region-specific rationale is provided.

Content

No source excerpt is available for this finding.