npx skills add ...
npx skills add nvidia/nemoclaw --skill nemoclaw-maintainer-security-code-review
Perform a requested security review of a NemoClaw PR or a PR linked to an issue. Use for vulnerability or trust-boundary assessment.
npx skills add nvidia/nemoclaw --skill nemoclaw-maintainer-security-code-review
Review the changes in a GitHub PR for security. An issue input must identify one open linked PR. Report a verdict for each category.
gh (GitHub CLI) must be installed and authenticated.git must be available.If the user gives a PR or issue URL, extract the owner, repository, and number. Otherwise, ask for the URL.
Supported URL formats:
https://github.com/OWNER/REPO/pull/NUMBERhttps://github.com/OWNER/REPO/issues/NUMBERFor a PR URL, verify the number before Step 2:
For an issue URL, list its open closing PRs:
Continue only when this returns one PR number, and verify that number with gh pr view.
If it returns zero or more than one, stop and ask for the PR URL.
Use the verified PR number in each later command.
Compare gh repo view --json nameWithOwner -q .nameWithOwner with the URL.
If the repositories match, check out the verified PR:
If the repositories do not match, clone the target to a temporary directory:
List all files changed from the base branch:
If the PR targets another branch, use that branch as the base. Check it with:
Read each changed file. Read its diff:
If a PR changes more than 30 files, review them in this order:
Read the canonical Security Rubric. Independently evaluate the completed change against every category, including its trust-boundary questions and expected evidence. Do not rely on planning or implementation conclusions as review evidence.
For each of the nine categories, assign a verdict:
Structure the output as follows:
One paragraph summarizing the risk and whether the PR is safe to merge.
One row per finding:
| # | Category | Severity | File:Line | Description | Recommendation |
|---|
If there are no findings, state that the review found none.
For each category, give its PASS, WARNING, or FAIL verdict and reason.
List every file analyzed.