Back to skill

Security audit

AI Code Review Expert

Security checks for vulnerabilities and agentic risk

Overview

ClawScan marked this skill benign because most checks were OK, but a partial scan reported a possible mismatch between its code-review purpose and database access.

The verdict is benign with medium confidence, not a guarantee of safety. Before installing, consider whether the reported database access fits your needs; the scan covered the listed skill file but left some local references unresolved, so evidence is incomplete.

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
  • 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
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (1)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The supplied function performs application-level database access, not code review or analysis. No review functionality is shown, nor is database access connected to a supporting review task. Directly concatenating user_id into SQL also creates a potential SQL-injection vulnerability, although that vulnerability is separate from the purpose mismatch.

Content

No source excerpt is available for this finding.