Back to skill

Security audit

Parallel Code Review

Security checks for vulnerabilities and agentic risk

Overview

This is a read-only code review skill that inspects repository diffs and files to produce review findings, with no evidence of hidden execution, persistence, or data exfiltration.

Before installing, understand that saying "review" may trigger a branch-level code review and cause the agent to read changed files and relevant context in the repository. Use an explicit range such as "review origin/main..HEAD" if you want tighter scope.

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
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (6)

Vague Triggers

High
Category
Not specified by scanner
Confidence
97% confidence
Finding

The documented triggers are broad enough that common conversation like 'review' or 'code review' could invoke the skill unintentionally. In an agent environment, unexpected activation can cause the agent to inspect repository state or launch subagents without explicit user intent, increasing the chance of unintended data access or disruptive behavior.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
84% confidence
Finding

The usage text hard-codes a non-English trigger phrase ("审查") alongside English triggers without explaining language selection or user preference handling. This can create a locale-policy concern if the skill assumes or enforces specific language triggers without explicit opt-in or language choice.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The skill says it triggers when the user says "review" or after completing a feature, both of which are broad enough to overlap with common conversation and many contexts unrelated to code review. Although some exclusions are provided, the trigger scope is still not specific enough to clearly distinguish when the skill should or should not activate.

Content

No source excerpt is available for this finding.

File System Enumeration

Medium
Category
Data Exfiltration
Confidence
88% confidence
Finding

The instruction to 'scan key files' in combination with default branch-wide review and git-diff resolution encourages broad repository inspection beyond the minimum necessary user-scoped input. In an agent setting, this can lead to unnecessary file system enumeration and exposure of sensitive code, configs, or secrets present elsewhere in the working tree when the user's request did not explicitly authorize that breadth.

Content

Scanner excerpt · SKILL.md (reported line 73)May include surrounding context.

md
### Phase 1: Rapid Scan (read diff surface → Overview)

Read the diff summary for the resolved range, scan key files. Form an opinion on:
- **What actually changed** vs what was planned
- **Design alignment**: do class hierarchies make sense? does DI flow consistently?
- Any obvious red flags from the diff alone

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
75% confidence
Finding

The description explicitly includes the Chinese trigger term "审查" alongside English triggers, which constitutes a language-specific activation rule. The file does not explain locale scope, user opt-in, or whether multilingual behavior is optional, so this can be a language/locale policy concern.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Low
Category
Not specified by scanner
Confidence
81% confidence
Finding

Line L082 states the subagents 'share no state', but later lines L108-L110 describe coordinated execution and post-processing of both outputs into a merged issues list. While the underlying review remains read-only, the documentation overstates isolation in a way that conflicts with the actual described workflow.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.