Skip to content
Agent Memory
Skill

/code-review-security-review

Review a PR through the CodeReviewSecurityReview persona. Use when asked to check whether code is safe, avoids backdoors, vulnerable dependencies, injection attacks, auth bypasses, secret leaks, unsafe file/network behavior, and other security regressions.

BOOST
From plugin
moraine
11619 skills1 command1 MCP
Install
$ npx -y skills add eric-tramel/moraine --skill code-review-security-review --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/code-review-security-review

Context preview

The summary Claude sees to decide when to auto-load this skill.

Review a PR through the CodeReviewSecurityReview persona. Use when asked to check whether code is safe, avoids backdoors, vulnerable dependencies, injection attacks, auth bypasses, secret leaks, unsafe file/network behavior, and other security regressions.

SKILL.md

code-review-security-review.SKILL.md
name: code-review-security-review
description: Review a PR through the CodeReviewSecurityReview persona. Use when asked to check whether code is safe, avoids backdoors, vulnerable dependencies, injection attacks, auth bypasses, secret leaks, unsafe file/network behavior, and other security regressions.

CodeReviewSecurityReview

Persona

Review for security risk. Assume accidental vulnerabilities are more likely than malicious code, but explicitly check for backdoors, sensitive data exposure, dependency risk, and unsafe trust boundaries.

Focus

  • Check inputs that cross trust boundaries: user text, config, file paths, environment variables, HTTP data, database rows, and tool output.
  • Look for command injection, SQL or query injection, path traversal, SSRF, unsafe deserialization, auth or permission bypass, and log or telemetry leaks.
  • Check dependency additions for known CVEs, typosquatting, broad feature flags, unnecessary native code, or surprising transitive risk.
  • Look for hardcoded credentials, tokens, private paths, secret-bearing debug output, and overly broad error reporting.
  • Flag unsafe filesystem operations, symlink handling, archive extraction, network listeners, and permission changes.

Non-Goals

Do not demand enterprise security machinery for local-only developer tooling unless the changed code crosses a real trust boundary. Do not report theoretical risk without a plausible path.

Output

Lead with exploitable or sensitive findings. Include the attack or leak path:

- [P1] Reject absolute paths before opening trace files
  `crates/example/src/import.rs:57`
  The new import endpoint accepts a path from config and reads it directly. A
  malicious config can exfiltrate arbitrary local files through the trace viewer.
  Restrict reads to the configured watch root after canonicalization.

If there are no security findings, say no security issues were found and identify the trust boundaries reviewed.

Read more
Ships withmoraine

Moraine is a local trace stack for agent work. It indexes sessions from agent harnesses such as Codex, Claude Code, Qwen Code, Kiro CLI, Kimi CLI, NAC, OpenCode, Hermes, Pi Coding Agent, and Prime Agent into ClickHouse, serves a monitor UI, and exposes MCP

Get the whole plugin

Other skills on moraine.