Back to skill

Security audit

OC Code Review

Security checks for vulnerabilities and agentic risk

Overview

This skill is a coherent code-review helper with read-only analysis behavior and no evidence of hidden persistence, exfiltration, or destructive actions.

Install this if you want a mostly Chinese-language code-review workflow. Invoke it specifically for code, PRs, diffs, repositories, or files, and be aware that reviewing GitHub PRs or local repositories may involve reading the relevant code and metadata through the available tools.

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

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The trigger list includes generic everyday terms such as "review" and "审查", which can cause the skill to activate in many unrelated contexts. Over-broad activation can route user requests into this skill unexpectedly, increasing the chance of inappropriate tool use (such as reading files, fetching web content, or invoking exec for git/gh commands) and causing unintended data exposure or unsafe behavior.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The module docstring is entirely in Chinese and the usage/help text presented to users is also Chinese, which imposes a specific language on user-facing interactions. The file does not offer any language choice or explain a justified region-specific requirement, so it conflicts with the language/locale policy criteria.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

This markdown file contains only Chinese-language checklist content, which may force a specific language on users without opt-in. The policy requires flagging language or locale constraints unless the skill offers a choice or clearly documents a justified regional limitation.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

This markdown template is entirely presented in Chinese, beginning with a Chinese-only title, and provides no indication that the language is optional or limited to a region-specific context. That creates a natural-language locale constraint without user opt-in, which matches the policy-violation category.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

This markdown file uses a single fixed language throughout, which can violate a language/locale policy when no opt-in or justification is provided. The content does not mention that Chinese is required, optional, or intended for a specific locale or audience.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
0% confidence
Finding

No natural-language policy violation is actually present in the file. The document is bilingual and does not require a specific language without user opt-in.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
97% confidence
Finding

The module docstring and usage text are written only in Chinese, and the script's runtime output also uses Chinese labels and assessments. For a general-purpose code utility, this imposes a specific language on users without opt-in or justification, which matches the locale-policy violation criteria.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
95% confidence
Finding

All user-visible report headings, change summaries, assessments, and usage errors are emitted in Chinese only. Because the file is a general CLI script and does not present a language/locale choice or a documented regional constraint, this is a natural-language policy concern.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
95% confidence
Finding

This markdown template presents its title and instructions only in Chinese, which imposes a specific language on users without any opt-in or indication that the skill is intentionally limited to a Chinese-speaking context. The policy for SQP-3 flags language or locale constraints when they are forced without user choice or clear justification.

Content

No source excerpt is available for this finding.