Back to skill

Security audit

udi-db-submission-check

Security checks for vulnerabilities and agentic risk

Overview

The skill appears to be a UDI compliance checker, but it requests shell, file-write, and web access that its own documentation does not clearly need.

Review before installing. The skill's compliance-checking content is coherent, but the publisher should remove or precisely justify Bash, Write, and WebFetch, including what data is read, what files may be written, and when network access occurs. Treat its regulatory output as decision support, not legal advice.

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
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (8)

Hidden Instructions

High
Category
Prompt Injection
Confidence
60% confidence
Finding

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

Content

Scanner excerpt · README.md (reported line 1)May include surrounding context.

md
# udi-db-submission-check · UDI 数据库提交合规判定器

[![LGD](https://img.shields.io/badge/LGD-Governance-blue)](https://github.com/zhaoxinghua09-cell/lgd-theory)

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
77% confidence
Finding

The title and primary descriptive content are presented in Chinese for a broadly described compliance skill, and the file does not state that the skill is limited to Chinese-speaking users or a China-only deployment context. Under the policy, a language or locale constraint should either be optional for users or explicitly justified.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The skill is described as a zero-dependency, deterministic rule checker, but it declares operational capabilities including Bash, Write, and WebFetch that exceed that stated scope. This increases the attack surface and creates a mismatch that could enable unnecessary command execution, network access, or file modification if the skill is later invoked or extended unsafely.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

Write permission is broader than necessary for a tool that primarily returns JSON to stdout, and unnecessary write access can be abused to alter local files, leave artifacts, or overwrite user data. While lower risk than shell or network access, it still violates least privilege and broadens consequences of prompt misuse or implementation mistakes.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

Write permission is broader than necessary for a tool that primarily returns JSON to stdout, and unnecessary write access can be abused to alter local files, leave artifacts, or overwrite user data. While lower risk than shell or network access, it still violates least privilege and broadens consequences of prompt misuse or implementation mistakes.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The documentation repeatedly claims zero-dependency and rule-determination-only behavior, while the risk rationale explicitly contemplates API calls, file I/O, and local execution. This inconsistency can mislead reviewers and users about the true trust boundary, causing them to approve or invoke the skill under a weaker threat model than its permissions warrant.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
77% confidence
Finding

The primary display_name is set in Chinese while English is secondary, and the document presents Chinese branding and a full Chinese section without stating any user language selection behavior. This can conflict with language/locale policy expectations when users have not opted into Chinese as the default presentation language.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Low
Category
Not specified by scanner
Confidence
82% confidence
Finding

Write permission is broader than necessary for a tool that primarily returns JSON to stdout, and unnecessary write access can be abused to alter local files, leave artifacts, or overwrite user data. While lower risk than shell or network access, it still violates least privilege and broadens consequences of prompt misuse or implementation mistakes.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.