Back to skill

Security audit

Vue3全家桶 Antd

Security checks for vulnerabilities and agentic risk

Overview

This is a coherent Vue3/Ant Design documentation skill; its risky parts are example networking and token-handling patterns users should harden before production.

Installers should treat this as Chinese-language Vue frontend reference material. Before copying its fetch wrapper into a real application, validate API origins, avoid sending bearer tokens to caller-controlled URLs, prefer safer session handling than persistent localStorage for sensitive tokens, and pin/review the publish-commons dependency version.

Vulnerability Patterns
  • 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
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
Findings (3)

T09 · Insecure Skill Coding Practices

Warning
Location
examples/fetch-wrapper.md:27
Finding

Bearer Token Forwarding to a Caller-Controlled Network Destination

Content
View full analysis
{ controller.abort() }, timeout) try { // Send request const response = await fetch(fullURL, { ...options, headers, signal: controller.signal, // HTTPS-specific configuration credentials: import.meta.env.PROD ? 'same-origin' : 'include', redirect: 'follow' }) ``` ### Technical Analysis The wrapper automatically attaches the browser's ambient bearer token to every request. At the same time, `options.baseURL` allows a caller to override the request destination. There is no same-origin check, HTTPS enforcement, or destination allowlist before the `Authorization` header is added. Consequently, code that can invoke this wrapper may cause the bearer token to be transmitted to an unintended origin. The `credentials` setting does not protect the bearer token because it only controls browser-managed credentials such as cookies. The explicitly assigned `Authorization` header remains attached to the request. Following redirects also increases the need for strict destination validation, although browser redirect behavior may limit forwarding of authorization headers in some cross-origin cases. This network behavior is related to the Skill's declared authenticated API-wrapper functionality, but unconstrained destination selection exceeds the minimum privilege required. An authenticated client should only release credentials to expl ...[truncated 1070 chars]
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Warning
Location
skill.md:553
Finding

Persistent Bearer Tokens Stored in Browser localStorage

Content
View full analysis
Remediation
View remediation

T08 · Insecure Dependencies

Note
Location
skill.md:748
Finding

Unpinned Third-Party Package Installation Guidance

Content
View full analysis
Remediation
View remediation
``` - If lifecycle scripts are required, inspect them before enabling execution. - Run dependency installation in a restricted environment without production credentials or unnecessary filesystem access. - Use automated dependency auditing and controlled update review rather than silently consuming future releases. ]]>
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • 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 (8)

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
81% confidence
Finding

The title and the entire README are presented only in Chinese, with no indication that users may choose another language or that the skill is intentionally limited to a Chinese-speaking audience. Under the stated policy, forcing a specific language without user opt-in is a natural-language policy concern.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

This markdown file uses a single forced language for all user-facing instructions, and there is no opt-in, alternative locale, or justification that the skill is intended only for Chinese-speaking users. That matches the policy category for language or locale constraints without user choice.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The natural-language description and instructional content consistently force a specific language/locale for the skill experience, and there is no opt-in, alternative language option, or justification that the skill is region-specific. This matches the language/locale policy violation criteria for SQP-3.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

This markdown template uses Chinese headings and labels throughout, which imposes a specific language on generated skill summaries. The file does not offer any user opt-in, language selection, or justification that the template is intended only for a Chinese-language context.

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 skill/example forces a specific language for all instructions and explanations, which can be a natural-language policy concern when no user opt-in or alternative language is offered. There is no indication that the content is intentionally limited to a Chinese-speaking or region-specific audience.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
88% confidence
Finding

This markdown file explicitly lists network requests, request-wrapper utilities, environment variable configuration, and interceptors as skill topics, and later includes a fetch wrapper example. Under the markdown-specific warning criterion, the description does not provide any user-facing caution about data transmission, API endpoint usage, or handling of sensitive configuration.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
88% confidence
Finding

This markdown skill description contains HTTP request examples, Authorization header usage, and localStorage token storage, but does not include any warning about sending data to remote services or handling authentication tokens. For markdown files, SQP-2 applies when the description omits warnings about behaviors that could affect user data, privacy, or system integrity.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
89% confidence
Finding

This manifest uses Chinese throughout the title and descriptive fields, but does not indicate that the skill is Chinese-only or offer any language/locale choice. Under the policy criteria, forcing a specific language without user opt-in can be a natural-language policy violation.

Content

No source excerpt is available for this finding.