Back to skill

Security audit

数据库锁分析与死锁检测

Security checks for vulnerabilities and agentic risk

Overview

The skill is a coherent database lock-analysis helper, but it includes transaction termination without a clear confirmation or safety boundary, so it should be reviewed before use.

Install only if you intend agents to inspect database locks through `dbskiter`. Treat any transaction-kill recommendation as a privileged database operation: require a human confirmation, verify the database name and transaction ID, and avoid using it against production systems without an incident procedure.

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
95% confidence
Finding

Natural-language content throughout the file forces a specific language/locale for interaction and documentation. The policy allows locale constraints only when users are given a choice or when the restriction is explicitly documented and justified, neither of which appears here.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The trigger phrases are broad natural-language terms like '看锁', '死锁', and '阻塞', which can plausibly appear in ordinary troubleshooting conversation and may cause the skill to activate when the user did not intend to run database lock-analysis actions. In this skill, accidental activation is more dangerous because the documented workflow can progress from read-only inspection to recommending or invoking a destructive action such as killing a transaction.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.