Fix Scan Finding
malloydata/publisher
Fix a CRITICAL Trivy finding that is failing CI in this repo (a vulnerability, misconfiguration, or secret from security-scan.yml or image-scan.yml), or add, review, or retire an entry in…
Perform a security review of a diff, branch, or pull request — assessing what the change introduces, weakens, or exposes, with a triage-first workflow and false-positive discipline.
$ npx skills add trilwu/secskills --skill reviewing-code-changes -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install trilwu/secskills reviewing-code-changes --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/trilwu/secskills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/secskills-core/skills/reviewing-code-changes .claude/skills/reviewing-code-changes && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "reviewing-code-changes" agent skill from https://github.com/trilwu/secskills/tree/main/secskills-core/skills/reviewing-code-changes into .claude/skills/reviewing-code-changes/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "reviewing-code-changes", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/trilwu/secskills/tree/main/secskills-core/skills/reviewing-code-changesType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add trilwu/secskills --skill reviewing-code-changes -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install trilwu/secskills reviewing-code-changes --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/trilwu/secskills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/secskills-core/skills/reviewing-code-changes .agents/skills/reviewing-code-changes && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "reviewing-code-changes" agent skill from https://github.com/trilwu/secskills/tree/main/secskills-core/skills/reviewing-code-changes into .agents/skills/reviewing-code-changes/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "reviewing-code-changes", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add trilwu/secskills --skill reviewing-code-changes -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install trilwu/secskills reviewing-code-changes --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/trilwu/secskills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/secskills-core/skills/reviewing-code-changes .cursor/skills/reviewing-code-changes && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "reviewing-code-changes" agent skill from https://github.com/trilwu/secskills/tree/main/secskills-core/skills/reviewing-code-changes into .cursor/skills/reviewing-code-changes/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "reviewing-code-changes", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/trilwu/secskills.git --path secskills-core/skills/reviewing-code-changes--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add trilwu/secskills --skill reviewing-code-changes -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install trilwu/secskills reviewing-code-changes --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/trilwu/secskills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/secskills-core/skills/reviewing-code-changes .gemini/skills/reviewing-code-changes && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "reviewing-code-changes" agent skill from https://github.com/trilwu/secskills/tree/main/secskills-core/skills/reviewing-code-changes into .gemini/skills/reviewing-code-changes/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "reviewing-code-changes", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install trilwu/secskills reviewing-code-changesInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add trilwu/secskills --skill reviewing-code-changes -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/trilwu/secskills.git skills-src && mkdir -p .github/skills && cp -r skills-src/secskills-core/skills/reviewing-code-changes .github/skills/reviewing-code-changes && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "reviewing-code-changes" agent skill from https://github.com/trilwu/secskills/tree/main/secskills-core/skills/reviewing-code-changes into .github/skills/reviewing-code-changes/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "reviewing-code-changes", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add trilwu/secskills --skill reviewing-code-changes -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install trilwu/secskills reviewing-code-changes --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/trilwu/secskills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/secskills-core/skills/reviewing-code-changes .opencode/skills/reviewing-code-changes && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "reviewing-code-changes" agent skill from https://github.com/trilwu/secskills/tree/main/secskills-core/skills/reviewing-code-changes into .opencode/skills/reviewing-code-changes/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "reviewing-code-changes", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
reviewing-code-changesPerform a security review of a diff, branch, or pull request — assessing what the change introduces, weakens, or exposes, with a triage-first workflow and false-positive discipline.
Reviewing Code Changes is an agent skill from trilwu/secskills. Perform a security review of a diff, branch, or pull request — assessing what the change introduces, weakens, or exposes, with a triage-first workflow and false-positive discipline. Use when asked to security review a PR or branch, check a diff before merge or commit, or assess whether a change is safe to ship.
Its SKILL.md is about 2.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Security, covering Security review and Pull requests. The repository describes itself as: Transform Claude Code into your personal security engineer. The licence is MIT.
3 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit ca53957. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
gitrgterraformFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Reviewing Code Changes loads about 2.3k tokens when it runs. Until then it costs about 84 tokens; SKILL.md has 950 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from trilwu/secskills at commit ca53957, republished under its MIT licence (© trilwu). 950 words, ~2,280 tokens.
.claude/skills/reviewing-code-changes/SKILL.md (or your agent's skills folder).Reviewing a diff is not auditing a codebase in miniature. The diff shows you what changed but hides what the change means — the caller that now receives untrusted data, the check that used to run, the assumption that no longer holds. Reviewing only the added lines is the standard way to miss the bug.
auditing-code-for-vulnerabilitiesauditing-supply-chain# Against the actual merge base, not against whatever HEAD happens to be
BASE=$(git merge-base HEAD origin/main)
git diff --stat $BASE...HEAD
git diff $BASE...HEAD
# Rename and whitespace noise hides real changes
git diff -M -C -w $BASE...HEAD
# Files changed most, and by whom — where to spend attention
git diff --numstat $BASE...HEAD | sort -rn | head -20Three things to establish before reading code:
Not all diffs deserve equal time. Rank hunks by what they touch:
| Priority | Signals |
|---|---|
| Critical | Auth/authz logic, session handling, crypto, input parsing on an untrusted boundary, SQL/command/template construction, file path handling, deserialization, CI/CD workflows, IAM/security-group config, dependency additions |
| High | New endpoints or routes, new tool/RPC surface, error handling on security paths, logging of user data, tenant scoping, cache keys, rate limits |
| Medium | Business logic that consumes validated input, refactors that move security-relevant code |
| Low | Tests, docs, formatting, comments — but read test deletions |
# Fast triage of a large diff
git diff $BASE...HEAD --name-only | rg 'auth|login|session|crypto|password|token|admin|permission|\.github/workflows|Dockerfile|terraform|policy'
git diff $BASE...HEAD -U10 | rg -n '^\+.*(eval\(|exec\(|system\(|innerHTML|pickle|yaml\.load|Sprintf.*SELECT|shell=True|verify=False|InsecureSkipVerify)'The most dangerous diffs delete things. Search the removed lines specifically:
git diff $BASE...HEAD | rg '^-' | rg -i 'auth|verify|valid|check|sanitiz|escape|permission|assert|csrf|limit'TODO: add authz that was never done and is now shippingstrict mode, a security header, or a CSP directive relaxedApply the bug-class hunting from auditing-code-for-vulnerabilities, but
scoped to the changed paths: injection sinks, authorization on new object
lookups, SSRF in new outbound calls, path handling on new file operations,
deserialization, secrets, weak randomness, unsafe defaults.
The two questions that catch most real issues in a diff:
Does new untrusted data reach an old sink? Does old untrusted data reach a new sink?
Both require reading outside the diff.
Read the whole function for every non-trivial hunk. Then check callers:
# Who calls the changed function, and do they still satisfy its assumptions?
rg -n 'changedFunctionName\s*\(' --type <lang>
# What else in the codebase uses the pattern this change introduced?
git log -1 --format=%H $BASE # anchor, then compare behaviour before/afterSpecifically check whether the change alters an invariant that other code relies on: a function that used to sanitize and now does not, a return value whose meaning flipped, a nullable that became non-null, an ordering guarantee that was dropped.
git diff $BASE...HEAD -- '*.yml' '*.yaml' '*.tf' 'Dockerfile*' '.github/**' '*.json'auditing-supply-chain.)pull_request_target added, unpinned actions"*"Machine-written diffs fail in characteristic ways: plausible-looking validation that does not actually constrain, error handling that swallows security-relevant failures, invented API usage that silently no-ops, and copied patterns applied where the surrounding assumptions differ. For a large generated diff, sample the security-relevant hunks and verify against the real library behaviour rather than reading for plausibility.
Diff review generates false positives faster than any other review mode, because the missing context is exactly what makes a hunk look wrong. Before raising a finding:
Then state the finding with a concrete failure scenario: the input, the path, and the result. "This could be unsafe" is not a review comment; it is a request for someone else to do the analysis.
Separate what blocks the merge from what does not:
## Security review — PR #482
**Blocking**
1. `api/reports.go:214` — export handler drops the tenant predicate present on
the list path. Any authenticated user can export another tenant's report by
ID. Add `AND tenant_id = ?` to the lookup.
**Non-blocking, should fix**
2. `api/reports.go:190` — report IDs are sequential, making enumeration
trivial once (1) is fixed. Consider opaque IDs.
**Notes / pre-existing**
3. The `findByID` pattern without scoping appears in 14 other handlers and
predates this PR. Filed as ISSUE-991 rather than blocking here.
**Reviewed but clear**
- New `/webhooks/stripe` route: signature verified before body parse, replay
window enforced. No finding.
- Dependency bump `lodash 4.17.20 → 4.17.21`: patch for CVE-2021-23337, no
API change.
**Not covered**
- The React changes under `web/` were not reviewed for XSS in depth; the diff
touches 40 components.Stating what you reviewed and found clean is as useful as the findings — it tells the next reviewer where not to spend time, and it makes the coverage of the review honest.
auditing-code-for-vulnerabilities — full audit methodology and bug classesauditing-supply-chain — dependency and workflow changes in the diffsecuring-ai-systems — reviewing changes to LLM/agent featuresreporting-security-findings — severity and write-up when a finding leaves the PR© trilwu, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in secskills-core/skills/reviewing-code-changes of trilwu/secskills.
Open the folder on GitHubat commit ca53957
Reviewing Code Changes next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Reviewing Code Changes this skilltrilwu/secskills | 156 | — | ~2.3k | Automated safety check: Pass | MIT | |
| Fix Scan Findingmalloydata/publisher | 116 | — | ~5.1k | Automated safety check: Pass | MIT | |
| Claude Securityanthropics/claude-plugins-official | 37k | — | ~1.4k | Automated safety check: Pass | Apache-2.0 | |
| Trailmark Review Gatetrailofbits/skills | 7.4k | — | ~1.1k | Automated safety check: Notes | CC-BY-SA-4.0 | |
| Differential Security Reviewtrailofbits/skills | 7.4k | — | ~1.8k | Automated safety check: Notes | CC-BY-SA-4.0 | |
| Security Review PRwarpdotdev/oz-for-oss | 313 | 1 repos | ~2k | Automated safety check: Notes | MIT |
malloydata/publisher
Fix a CRITICAL Trivy finding that is failing CI in this repo (a vulnerability, misconfiguration, or secret from security-scan.yml or image-scan.yml), or add, review, or retire an entry in…
anthropics/claude-plugins-official
Scans a whole codebase or a set of changes for security issues, and turns findings into verified patch files that you apply yourself.
trailofbits/skills
Compares before and after Trailmark graphs of a branch, pull request or release diff to flag new entry points, tainted paths, removed validation and other structural security regressions.
trailofbits/skills
Reviews a pull request, commit or diff for security problems, using git history, caller counts and test coverage, and writes a markdown report.
warpdotdev/oz-for-oss
Audit a pull request diff for common security concerns (input validation, sanitization, authentication and authorization, secrets management, unsafe dependencies, and related risks) and fold…
CoWork-OS/CoWork-OS
A skill your agent uses when the user asks for a security review of a pull request, commit, branch diff, working-tree patch, or other Git-backed change set.
trilwu/secskills
Audit source code for exploitable vulnerabilities using threat-model-driven review, taint tracing, invariant checking, and variant analysis.
trilwu/secskills
Perform OSINT, subdomain enumeration, port scanning, web reconnaissance, email harvesting, and cloud asset discovery for initial access.
trilwu/secskills
Assess and harden LLM applications and agentic systems against prompt injection, tool misuse, excessive agency, memory poisoning, RAG data leakage, and model supply-chain risk, mapped to the OWASP…
trilwu/secskills
Reverse engineer compiled binaries, firmware, and mobile app packages using triage, static disassembly, decompilation, and dynamic instrumentation.
trilwu/secskills
Reverse engineer Go binaries by recovering function names and types from pclntab and moduledata using GoReSym, redress, and IDA/Ghidra Go plugins, and by reading Go's non-standard calling…
trilwu/secskills
Analyze iOS applications at the binary level — decrypting FairPlay-protected IPAs with frida-ios-dump or bagbak, inspecting Mach-O load commands, recovering Objective-C headers with class-dump, and…
Categories
Perform a security review of a diff, branch, or pull request — assessing what the change introduces, weakens, or exposes, with a triage-first workflow and false-positive discipline. Reviewing Code Changes is an agent skill from trilwu/secskills. Perform a security review of a diff, branch, or pull request — assessing what the change introduces, weakens, or exposes, with a triage-first workflow and false-positive discipline.
Reviewing Code Changes fits situations like: asked to security review a PR; check a diff before merge; assess whether a change is safe to ship.
Run `npx skills add trilwu/secskills --skill reviewing-code-changes -a claude-code`. Or copy the skill folder (secskills-core/skills/reviewing-code-changes in trilwu/secskills) into .claude/skills/reviewing-code-changes in your project. Claude Code loads it when a task matches its description.
Run `npx skills add trilwu/secskills --skill reviewing-code-changes -a codex`. Or copy the skill folder (secskills-core/skills/reviewing-code-changes in trilwu/secskills) into .agents/skills/reviewing-code-changes in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add trilwu/secskills --skill reviewing-code-changes -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/reviewing-code-changes, .gemini/skills/reviewing-code-changes, .github/skills/reviewing-code-changes and .opencode/skills/reviewing-code-changes in your project.
Going by SKILL.md and its folder, Reviewing Code Changes needs the command-line tools its instructions call (git, rg and terraform).
SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Reviewing Code Changes is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.3k tokens (SKILL.md is roughly 9.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Reviewing Code Changes: Fix Scan Finding (malloydata/publisher, 116 stars), Claude Security (anthropics/claude-plugins-official, 37k stars), Trailmark Review Gate (trailofbits/skills, 7.4k stars) and Differential Security Review (trailofbits/skills, 7.4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
trilwu (a GitHub user) maintains it in trilwu/secskills, which has 156 GitHub stars. The repository holds 50 skills in this directory. The repository was last updated on September 4, 2026.
Source: trilwu/secskills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.