Back to skill

Security audit

将 MySQL SQL(尤其是建表 DDL)转换为 Oracle SQL。用户提到“转为oracle”或“转换oracle”,或明确要求把 MySQL 语句改成 Oracle 语句时必须使用此技能。转换时强制执行类型、默认值和主键约束命名规则。

Security checks for vulnerabilities and agentic risk

Overview

This is a simple SQL-conversion skill with no executable code, persistence, credential access, or hidden behavior.

Installers should treat this as a prompt-only SQL conversion helper. Review generated Oracle SQL before running it against a real database, especially because it enforces custom default-value and primary-key constraint naming rules.

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
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (2)

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The natural-language content is entirely in Chinese and states mandatory behavior for using the skill, but it does not offer any language or locale choice to the user. Under the policy, forcing a specific language without opt-in is a natural-language policy concern.

Content

No source excerpt is available for this finding.

Vague Triggers

Low
Category
Not specified by scanner
Confidence
85% confidence
Finding

The description says the skill must be used when the user mentions phrases like “转为oracle” or “转换oracle”, or when they explicitly ask to convert MySQL statements to Oracle. While the domain is somewhat specific, the activation guidance does not define boundaries or negative examples, so similar casual mentions could ambiguously trigger the skill.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.