Pyspector Security Audit
ParzivalHack/PySpector
Run a full Python codebase security audit using PySpector (https://github.com/ParzivalHack/PySpector), a Rust-core SAST scanner.
Security review of the current branch against its merge base — sandbox escapes, memory errors, panics and resource-limit bypasses.
$ npx skills add pydantic/monty --skill review-security -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install pydantic/monty review-security --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/pydantic/monty.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/review-security .claude/skills/review-security && 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 "review-security" agent skill from https://github.com/pydantic/monty/tree/main/.agents/skills/review-security into .claude/skills/review-security/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "review-security", 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/pydantic/monty/tree/main/.agents/skills/review-securityType 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 pydantic/monty --skill review-security -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install pydantic/monty review-security --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/pydantic/monty.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/review-security .agents/skills/review-security && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "review-security" agent skill from https://github.com/pydantic/monty/tree/main/.agents/skills/review-security into .agents/skills/review-security/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "review-security", 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 pydantic/monty --skill review-security -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install pydantic/monty review-security --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/pydantic/monty.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/review-security .cursor/skills/review-security && 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 "review-security" agent skill from https://github.com/pydantic/monty/tree/main/.agents/skills/review-security into .cursor/skills/review-security/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "review-security", 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/pydantic/monty.git --path .agents/skills/review-security--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 pydantic/monty --skill review-security -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install pydantic/monty review-security --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/pydantic/monty.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/review-security .gemini/skills/review-security && 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 "review-security" agent skill from https://github.com/pydantic/monty/tree/main/.agents/skills/review-security into .gemini/skills/review-security/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "review-security", 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 pydantic/monty review-securityInstalls 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 pydantic/monty --skill review-security -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/pydantic/monty.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/review-security .github/skills/review-security && 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 "review-security" agent skill from https://github.com/pydantic/monty/tree/main/.agents/skills/review-security into .github/skills/review-security/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "review-security", 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 pydantic/monty --skill review-security -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install pydantic/monty review-security --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/pydantic/monty.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/review-security .opencode/skills/review-security && 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 "review-security" agent skill from https://github.com/pydantic/monty/tree/main/.agents/skills/review-security into .opencode/skills/review-security/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "review-security", 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.
review-securitySecurity review of the current branch against its merge base — sandbox escapes, memory errors, panics and resource-limit bypasses.
Review Security is an agent skill from pydantic/monty, published by the product's own GitHub organization. Security review of the current branch against its merge base — sandbox escapes, memory errors, panics and resource-limit bypasses. Use when reviewing changes for security risk, or before merging anything touching the heap/ module, pathsecurity.rs, the wire protocol or the pool.
Its SKILL.md is about 850 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. It works with Python and Rust. The repository describes itself as: A minimal, secure Python interpreter written in Rust for use by AI. The licence is MIT.
Read from SKILL.md and the folder at commit 5915273. 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:
gitFrom 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.
Review Security loads about 852 tokens when it runs. Until then it costs about 74 tokens; SKILL.md has 416 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 pydantic/monty at commit 5915273, republished under its MIT licence (© pydantic). 416 words, ~852 tokens.
.claude/skills/review-security/SKILL.md (or your agent's skills folder).Monty runs untrusted, potentially malicious Python. Review this branch on that basis.
git diff origin/main...HEADUse a subagent to run .agents/skills/fix-pr-comments/pr-threads.sh (from the
fix-pr-comments skill) for security findings already raised on the PR, and confirm
each is properly addressed.
Cover the changes and any code they touch — a caller made unsafe by a changed callee is in scope even if it isn't in the diff. Ask:
unsafe, refcount errors causing use-after-free or
double-free, unchecked indexing, aliasing violations, integer overflow feeding a
length or index.ResourceTracker (String
without StringBuilder), loops with no fuel check, small input → huge allocation.unwrap/expect reachable from sandboxed input, unbounded
recursion hitting a stack-overflow abort.Weight both classes by where they land. In a pool worker the process dies, the parent
replaces the child and raises an exception — contained. Nothing else is: in host/parent
code (monty-pool, monty-proto decoding, monty-fs, the bindings), or in a Rust
embedder calling the monty crate in-process, the same bug takes down the application.
Scrutinise those hardest, especially anything handling a frame from a child.
The crates/monty/src/heap/ module and crates/monty-fs/src/path_security.rs are
security-critical; any change to either needs careful justification. Also check the
public API: could a pydantic_monty or @pydantic/monty user misuse this to expose
their host?
Per finding: the attack, file:line, the sandboxed Python or hostile frame that triggers
it, and the impact. Demonstrate with python-playground rather than asserting where you
can. Say which areas you checked and found clean — coverage matters as much as findings.
Report only, unless the user asks for fixes.
© pydantic, 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 .agents/skills/review-security of pydantic/monty.
Open the folder on GitHubat commit 5915273
Review Security 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 |
|---|---|---|---|---|---|---|
| Review Security this skillpydantic/monty | 8.6k | — | ~852 | Automated safety check: Pass | MIT | |
| Pyspector Security AuditParzivalHack/PySpector | 151 | — | ~3.5k | Automated safety check: Notes | Apache-2.0 | |
| Security AuditTheDecipherist/claude-code-mastery | 550 | — | ~1.3k | Automated safety check: Notes | MIT | |
| Security Reviewgithub/awesome-copilot | 40k | 1 repos | ~2.3k | Automated safety check: Notes | MIT | |
| Hardenathola/claude-night-market | 341 | — | ~2.7k | Automated safety check: Pass | MIT | |
| Common Security AuditHoangNguyen0403/agent-skills-standard | 571 | — | ~977 | Automated safety check: Pass | MIT |
ParzivalHack/PySpector
Run a full Python codebase security audit using PySpector (https://github.com/ParzivalHack/PySpector), a Rust-core SAST scanner.
TheDecipherist/claude-code-mastery
Checks a codebase for hardcoded secrets, vulnerable dependencies, weak input handling, weak authentication and unsafe transport settings before deployment or merge.
github/awesome-copilot
AI-powered codebase security scanner that reasons about code like a security researcher — tracing data flows, understanding component interactions, and catching vulnerabilities that pattern-matching…
athola/claude-night-market
Applies NIST/CWE security hardening to Python and Rust code.
HoangNguyen0403/agent-skills-standard
Probe for hardcoded secrets, injection surfaces, unguarded routes, business logic flaws, and platform-specific weaknesses across backend (Node, Go, Java, Python, Rust), frontend (React, Angular…
andrew-yangy/gru-ai
Provides comprehensive code review guidance for React 19, Vue 3, Rust, TypeScript, Java, Python, and C/C++.
pydantic/monty
Read the review comments left by the known agent reviewers on the current PR, resolve and reply.
pydantic/monty
Run and test Python code in a dedicated playground directory.
pydantic/monty
Review the current branch against its merge base for bugs, CPython divergence, sandbox escapes, resource-limit escapes, performance regressions, verbose comments and missing ./limitations/ or docs/…
pydantic/monty
How to write prose that reads like human technical documentation rather than LLM output.
pydantic/monty
Check whether the common Python code an LLM would plausibly write still works on this branch, testing real cases in ./playground against CPython.
pydantic/monty
Fetch coverage diff from Codecov for the current branch or a specific PR.
Categories
Security review of the current branch against its merge base — sandbox escapes, memory errors, panics and resource-limit bypasses. Review Security is an agent skill from pydantic/monty, published by the product's own GitHub organization. Security review of the current branch against its merge base — sandbox escapes, memory errors, panics and resource-limit bypasses.
Review Security fits situations like: reviewing changes for security risk; before merging anything touching the heap/ module; pathsecurity.rs; the wire protocol.
Run `npx skills add pydantic/monty --skill review-security -a claude-code`. Or copy the skill folder (.agents/skills/review-security in pydantic/monty) into .claude/skills/review-security in your project. Claude Code loads it when a task matches its description.
Run `npx skills add pydantic/monty --skill review-security -a codex`. Or copy the skill folder (.agents/skills/review-security in pydantic/monty) into .agents/skills/review-security 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 pydantic/monty --skill review-security -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/review-security, .gemini/skills/review-security, .github/skills/review-security and .opencode/skills/review-security in your project.
Going by SKILL.md and its folder, Review Security needs the command-line tools its instructions call (git). Our summary lists: Python 3.
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.
Review Security is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 852 tokens (SKILL.md is roughly 3.4k 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 Review Security: Pyspector Security Audit (ParzivalHack/PySpector, 151 stars), Security Audit (TheDecipherist/claude-code-mastery, 550 stars), Security Review (github/awesome-copilot, 40k stars) and Harden (athola/claude-night-market, 341 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
pydantic (a GitHub organization, an official publisher) maintains it in pydantic/monty, which has 8,607 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on October 9, 2026.
Source: pydantic/monty on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.