Back to skill

Security audit

unisound-med-synonym

Security checks for vulnerabilities and agentic risk

Overview

The skill performs a disclosed medical LLM task, but it can send medical questions and the bearer API key to any caller-supplied API URL without validation.

Install only if you trust the operator and endpoint configuration. Do not pass real patient identifiers, prefer the documented HTTPS endpoint, avoid untrusted `--api-url` values, and treat the command-line API key as sensitive because it is forwarded to the configured endpoint.

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

T09 · Insecure Skill Coding Practices

Error
Location
scripts/run.py:65
Finding

Arbitrary API Endpoint Allows Bearer Credential and Medical Data Disclosure

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • System Prompt LeakageDirect Leakage, Indirect Extraction, Tool-Based Exfiltration
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (4)

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
92% confidence
Finding

The skill documentation exposes capabilities that imply local file access, file output, and outbound network calls, but it does not declare any explicit tool scope or permissions boundary. This is dangerous because integrators and users may invoke the skill without understanding that provided inputs can be read from arbitrary paths and transmitted to an external API, weakening least-privilege and review controls.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill instructs callers to send medical question content to an external model API but does not give a clear warning that the content leaves the local environment or that sensitive medical data may be exposed in transit or at the third-party service. In a medical context, this is especially risky because prompts may contain protected health information or other regulated data, and the current wording only gives a general compliance note rather than explicit transmission and privacy disclosure.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The default system prompt is hard-coded entirely in Chinese and instructs the model how to answer, effectively imposing a specific language/locale behavior on all requests unless the caller overrides it. This is a natural-language policy concern because the file does not offer an explicit user language choice or opt-in for Chinese output.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

This skill sends user-supplied medical questions directly to a remote API endpoint, and medical prompts may contain protected health information or other sensitive data. Because the script provides no explicit warning, consent step, redaction, or minimization before transmission, operators can unintentionally disclose sensitive medical content to an external service.

Content

No source excerpt is available for this finding.