Back to skill

Security audit

wenwan-authentication

Security checks for vulnerabilities and agentic risk

Overview

The skill is mostly coherent, but it under-controls public image uploads and gives unsafe at-home jewelry testing instructions.

Review this skill carefully before installing. Do not upload jewelry photos to public URLs unless the user explicitly consents and sensitive details are removed, and do not present destructive, heated, chemical, or flame tests as normal at-home advice; recommend non-destructive inspection and certified gemological testing for valuable items.

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 (2)

T09 · Insecure Skill Coding Practices

Warning
Location
SKILL.md:26
Finding

Mandatory Public Image Hosting Can Expose User Data

Content
View full analysis

Vulnerability Details

File Location: SKILL.md, lines 26-28
Vulnerability Type: Public exposure of user-provided images
Risk Level: Medium

Complete Source Snippet

markdown
### 2. 图片分析

使用 `autoglm-image-recognition` 进行专业图片识别。图片须先上传获取公网 URL。

English meaning: the skill requires the image to be uploaded to obtain a publicly accessible URL before using the image-recognition service.

Technical Analysis

The skill mandates public hosting of user-submitted photographs without specifying access controls, URL expiration, metadata removal, retention limits, deletion procedures, approved hosting providers, or informed consent.

Jewelry photographs can unintentionally contain sensitive information such as faces, reflections, receipts, addresses, location metadata, unique possessions, or details about valuable property. A public URL creates an unnecessary disclosure boundary and may permit access by hosting-provider personnel, anyone who obtains or guesses the URL, automated crawlers, logs, analytics systems, or downstream recognition services.

This is an insecure workflow configuration rather than embedded malicious behavior. No credential theft, local privilege escalation, or code execution was identified.

Attack Path

  1. A user submits a jewelry image for authentication.
  2. The agent follows the skill instruction and uploads the image to a publicly accessible hosting service.
  3. The hosting service retains the image or exposes it through a persistent URL.
  4. The URL is disclosed through logs, browser history, service analytics, referrer headers, sharing, weak URL entropy, or indexing.
  5. An unauthorized party retrieves the image and extracts personal, property, or location-related information.

Impact Assessment

The issue can compromise the confidentiality of submitted images and associated metadata. Exposure is limited to data uploaded through this workflow; the finding does not grant ...[truncated 224 chars]

Remediation
View remediation

Remediation Suggestions

  1. Replace public URLs with authenticated, private object storage or direct binary transfer to the image-recognition service.
  2. Use short-lived, single-purpose signed URLs with the minimum practical expiration period.
  3. Strip EXIF and other metadata before transmission.
  4. Obtain explicit user consent before sending images to any third party and identify the recipient and retention policy.
  5. Warn users to remove faces, receipts, addresses, identifying reflections, and unrelated background details.
  6. Disable public indexing, directory listing, and anonymous reuse of uploaded objects.
  7. Delete the uploaded image immediately after analysis and document failure-handling deletion procedures.
  8. Avoid placing full image URLs in persistent logs; redact access tokens and query parameters.

other

Error
Location
references/turquoise-identification.md:38
Finding

Hazardous and Destructive At-Home Authentication Tests

Content
View full analysis

Vulnerability Details

File Location: references/turquoise-identification.md, lines 38-56
Vulnerability Type: Unsafe physical and chemical testing instructions
Risk Level: High

Complete Source Snippet

markdown
### 2.5 擦拭法
- 蘸氨水布擦拭 → 天然不变色,染色品会掉色

### 2.6 热针法
- 烧红针刺隐蔽处:天然松石无味或轻微松香味;注胶品有刺激性塑料焦味
- ⚠️ 有损测试,谨慎使用

### 2.7 刀刮法
- 天然高瓷松石莫氏硬度5-6,锋利刀具划过不留痕
- 注胶品易出刮痕,厚胶处轻刮会起皮

### 2.8 划玻璃
- 天然松石硬度足以在玻璃上留痕
- 仿制品划后出现明显划痕

### 2.9 火烧法
- 天然松石轻烧后变黑,擦除不留痕,冷水清洗光洁如新
- 注胶品遇火 → 火焰加大发蓝 + 刺鼻气味 + 表面发黄发黑
- ⚠️ 过火会损伤松石,仅适合轻微测试

The instructions recommend ammonia wiping, a red-hot needle, a sharp knife, scratching glass, and direct flame as authentication methods.

Technical Analysis

These tests expose users to corrosive or irritating chemicals, burns, puncture and laceration injuries, broken glass, fire, and fumes from unidentified polymers, dyes, adhesives, coatings, or composite materials. Deliberately heating an unknown material to observe odor or flame behavior is particularly unsafe because the chemical composition is not known in advance.

The brief warnings only mention possible damage to the object. They do not adequately address ventilation, eye and skin protection, fire controls, toxic fumes, safe chemical handling, disposal, thermal shock, or the risk of destroying a valuable artifact. The parent skill also lists hot-needle testing as a supplemental verification method, making it plausible that these instructions will be presented directly to end users.

These procedures are also technically unreliable as standalone authentication tests. Surface coatings, prior treatments, material variation, tool hardness, and user technique can produce false positives or false negatives.

Attack Path

  1. A user asks the agent to authenticate an unknown jewelry item.
  2. The agent loads this reference and recommends one or more listed tests.
  3. The user applies ammonia, heats a needle, uses a sharp ...[truncated 895 chars]
Remediation
View remediation

Remediation Suggestions

  1. Remove open-flame, hot-needle, knife, glass-scratching, and household-ammonia tests from end-user guidance.
  2. State explicitly that users should not heat, burn, puncture, cut, chemically wipe, or scratch unknown jewelry materials.
  3. Prioritize non-destructive methods such as visual inspection under magnification, documented density measurement, spectroscopy, and review by an accredited gemological laboratory.
  4. Present ultraviolet fluorescence only as a screening observation, not a conclusive test, and warn that treatments may produce false negatives or positives.
  5. Recommend certification by an accredited testing institution when authenticity or value materially affects a purchase or sale.
  6. Clearly distinguish observational screening from laboratory confirmation and communicate the uncertainty of image-only assessments.
  7. If any chemical or destructive procedure must be documented for professional reference, restrict it to trained laboratory personnel operating under an approved safety procedure with ventilation, protective equipment, and fire controls.
  8. Add a prominent disclaimer that destructive testing can reduce value and should never be performed on potentially collectible or historically significant objects.
Vulnerability Patterns
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • 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
Findings (4)

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

The skill is written only in Chinese without declaring a language or locale boundary, which can lead to misrouting, user misunderstanding, and incorrect execution when invoked in other languages or regions. In a skill that provides valuation and authenticity guidance, language mismatch can materially degrade accuracy and cause unsafe or misleading conclusions.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The trigger scope is overly broad because it expands from specific gemstone authentication into a catch-all for 'other collectible jewelry authentication needs,' which can cause the skill to activate outside its validated domain. That increases the chance of unreliable advice, unsupported analysis paths, and inappropriate tool use for items the skill does not actually cover well.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The guide recommends multiple risky at-home tests such as hot-needle, knife-scrape, glass-scratch, fire exposure, ammonia wiping, and prolonged water immersion. Although some steps include local caution notes, the document lacks a prominent overall warning to avoid destructive testing and to prefer professional gemological appraisal first, which could lead users to damage valuable items or expose themselves to fumes and sharp/hot tools.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
95% confidence
Finding

All instructional content is presented in Chinese, and there is no indication that the skill is intentionally limited to Chinese-speaking users or a China-specific context. Under the policy, language-specific behavior should either provide user choice or clearly justify the locale restriction.

Content

No source excerpt is available for this finding.