review-security
Skill8.6k starsChanged 3 months agoMITView on GitHub
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, path_security.rs, the wire protocol or the pool.
12 other projects use a version of this.
Trending
Quiet since September.about the whole repository
Most recently taken up by
- JameMy0001/antigravity-skills-hubtheir own version, first seen Oct 2, 2026
- mgiovani/cc-arsenaltheir own version, first seen Sep 25, 2026
- gtrabanco/agentic-workflowtheir own version, first seen Sep 22, 2026
- nielsmadan/skillstheir own version, first seen Sep 5, 2026
- Phelan164/codex-howtotheir own version, first seen Aug 17, 2026
- paultyng/skill-issuetheir own version, first seen Aug 5, 2026
Who's talking about pydantic/monty
- A Hacker News story“Monty: A minimal, secure Python interpreter written in Rust for use by AI”Hacker News · Feb 6, 2026 · 323 points
- @sungkim.bsky.social“Pydantic's Monty A minimal, secure Python interpreter written in Rust for use by AI. github.com/pydantic/monty”Bluesky · Feb 6, 2026 · 66 likes
- A Hacker News story“Monty: A minimal, secure Python interpreter written in Rust for use by AI”Hacker News · Feb 6, 2026 · 25 points
- pydantic/pydantic-ai“CodeExecutionToolset with Code Mode support + ExecutionEnvironmentToolset, for local env, Monty, Docker, E2B”GitHub · Jan 31, 2026 · 12 reactions
- @michaelmclean.me“We are in the golden age of open source software. Holy shit. New python implementation, 100% rust, …”Bluesky · Feb 6, 2026 · 7 likes
The biggest 5 of 40 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 40
Talked about on Bluesky, GitHub and Hacker News (40 times).
On Bluesky · 28
- Feb 6, 2026Pydantic's Monty A minimal, secure Python interpreter written in Rust for use by AI. github.com/pydantic/monty — @sungkim.bsky.social66 likes and reposts · 1 reply
- Feb 6, 2026We are in the golden age of open source software. Holy shit. New python implementation, 100% rust, microsecond startup, no host access 🤩… — @michaelmclean.mesays it tested it7 likes and reposts
- Feb 8, 2026They’re working on it — @gracekind.net6 likes and reposts · 2 replies
- Feb 22, 2026Rust実装のPythonインタプリタ。サードパーティのライブラリは敢えて使えない仕様で、AIが利用することを想定したminimal実装と。なるほど。モンティーパイソンだからmontyか。 — @matsuu.bsky.social5 likes and reposts
- Feb 7, 2026Monty - Run #Python code generated by #LLM safely in a secure #sandbox environment by @pydantic.dev MIT lic #OpenSource #AI #Agents… — @qdrddr.bsky.social4 likes and reposts
23 more on Bluesky
- Feb 6, 2026Python interpréteur en Rust. "Startup extremely fast (<1μs to go from code to execution result), and has runtime performance that is… — @lea-linux.org4 likes and reposts · 1 reply
- Jul 8, 2026Another one but more agent sandbox shaped github.com/pydantic/monty — @jbott.social2 likes and reposts
- Mar 1, 2026📦 pydantic / monty ⭐ 5,838 (+33) 🗒 Rust A minimal, secure Python interpreter written in Rust for use by AI — @github-trending-rs.bsky.social2 likes and reposts
- Feb 26, 2026kind of the idea for this github.com/pydantic/mon... — @jmsdnns.bsky.social2 likes and reposts
- Feb 18, 2026Monty: A minimal, secure Python interpreter written in Rust for use by AI https://github.com/pydantic/monty — @pythonhub.dev2 likes and reposts
- Feb 8, 2026Monty: AI向けにRustで書かれた、最小限で安全なPythonインタプリタ Monty: A minimal, secure Python interpreter written in Rust for use by AI 🔺 316 💬 37 🔗 HN Post… — @hacker-news-jp.bsky.social2 likes and reposts · 1 reply
- Sep 24, 2026pydantic / monty: A minimal, secure Python interpreter written in Rust for use by AI ★8266 https://github.com/pydantic/monty — @rusttrending.bsky.social1 likes and repost
- Jul 21, 2026pydantic / monty: A minimal, secure Python interpreter written in Rust for use by AI ★7911 https://github.com/pydantic/monty — @rusttrending.bsky.social1 likes and repost
- Apr 3, 2026pydantic / monty: A minimal, secure Python interpreter written in Rust for use by AI ★6646 https://github.com/pydantic/monty — @rusttrending.bsky.social1 likes and repost
- Feb 10, 2026These instructions for Mole by pydantic made me laugh more than they should have. github.com/pydantic/monty — @mirkolenz.com1 likes and repost
- Feb 9, 2026Glad to see this type of thinking. github.com/pydantic/monty — @itsdavesanders.com1 likes and repost
- Feb 8, 2026https://github.com/pydantic/monty Montyは、AIエージェント向けにRustで書かれた軽量かつ安全なPythonインタプリタです。 LLMが生成したコードを、高速かつホスト環境から隔離されたサンドボックスで実行します。… — @topickapp.bsky.social1 likes and repost
- Feb 7, 2026Monty: A minimal, secure Python interpreter written in Rust for use by AI View Article | Join the HN Conversation Summary of HN discussion… — @hncompanion.com1 likes and repost · 1 reply
- Feb 6, 2026Monty: A minimal, secure Python interpreter written in Rust for use by AI https://github.com/pydantic/monty… — @betterhn20.e-work.xyz1 likes and repost
- Feb 6, 2026Monty: A minimal, secure Python interpreter written in Rust for use by AI | Discussion — @hackernewsbot.bsky.social1 likes and repost
- Feb 6, 2026Monty: A minimal, secure Python interpreter written in Rust for use by AI https://github.com/pydantic/monty — @mm-hacker-news.bsky.social1 likes and repost
- Feb 6, 2026Monty Repo: github.com/pydantic/monty — @filtra.bsky.social1 likes and repost
- Feb 6, 2026monty: A minimal, secure Python interpreter written in Rust for use by AI https://lobste.rs/s/8rnhnq #vibecoding — @lobsters-feed.bsky.social1 likes and repost
- Feb 22, 2026This is interesting, a 'safe' Python interpreter for use by AI agents. I guess because the LLMs know Python better than Rune or RHAI?… — @coverfire.com0 likes and reposts · 2 replies
- Feb 16, 2026secure python interpreter in rust for running ai-generated code. no container needed, microsecond startup #dailytools — @maheu.co0 likes and reposts · 1 reply
- Feb 9, 20263. The Rust nerds at Pydantic open-sourced monty, a Python tool, written in Rust, that lets LLMs run code without touching the host.… — @rustaceans.bsky.social0 likes and reposts · 1 reply
- Feb 8, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 pydantic / monty ⭐ 2,222 (+442) 🗒 Rust A minimal, secure Python interpreter written in Rust for… — @github-trending.bsky.social0 likes and reposts · 1 reply
- Feb 8, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 pydantic / monty ⭐ 2,222 (+442) 🗒 Rust A minimal, secure Python interpreter written in Rust for… — @github-trending-rs.bsky.social0 likes and reposts · 1 reply
On GitHub · 8
- Jan 31, 2026CodeExecutionToolset with Code Mode support + ExecutionEnvironmentToolset, for local env, Monty, Docker, E2B — pydantic/pydantic-ai12 reactions · 9 comments
- Sep 25, 2026Run the embed Checker inline instead of on a rayon pool — facebook/pyrefly1 reaction · 4 comments
- Sep 14, 2026chore(deps): bump the backend-everything-else group across 1 directory with 15 updates — vstorm-co/agenticos1 reaction · 1 comment
- Sep 14, 2026chore(deps): bump the backend-everything-else group in /backend with 13 updates — vstorm-co/agenticos1 reaction · 2 comments
- Apr 23, 2026chore(deps-dev): bump pydantic-monty from 0.0.16 to 0.0.17 — PrefectHQ/fastmcp1 reaction · 2 comments
3 more on GitHub
- Apr 20, 2026chore(deps-dev): bump pydantic-monty from 0.0.14 to 0.0.16 — PrefectHQ/fastmcp1 reaction
- Apr 15, 2026chore(deps-dev): bump pydantic-monty from 0.0.11 to 0.0.12 — PrefectHQ/fastmcp1 reaction
- Apr 10, 2026chore(deps-dev): bump pydantic-monty from 0.0.9 to 0.0.10 — PrefectHQ/fastmcp1 reaction · 1 comment
On Hacker News · 4
- Feb 6, 2026Monty: A minimal, secure Python interpreter written in Rust for use by AI323 points · 164 comments
- Feb 6, 2026Monty: A minimal, secure Python interpreter written in Rust for use by AI25 points · 1 comment
- Feb 6, 2026Monty – A minimal, secure Python interpreter written in Rust for use by AI4 points
- Jan 31, 2026Pydantic Monty: A minimal, secure Python interpreter (in Rust) for use by AI3 points
Used with
Projects with it also use review-perf, create-rule and 3 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
chrisallenlaneSkillreview-perf
Performance review. Detects project type and dispatches compute and/or web performance reviewers. Advisory only — no changes made.
Also in 4 projects that use this
32103210Skillcreate-rule
Create Cursor rules for persistent AI guidance. Use when you want to create a rule, add coding standards, set up project conventions, configure file-specific patterns, create RULE.md files, or asks about .cursor/rules/ or AGENTS.md.
Also in 3 projects that use this
andrewvaughanSkillreview-code
Run a comprehensive multi-perspective code review on current changes. Activates the Review Council (security, quality, documentation, domain review) and runs automated security scanning. Use before creating a pull request or when you want a thorough review of your work.
Also in 5 projects that use this
JetBrainsSkillreview-plan
Manually re-run the autonomous plan review (Phase 2 — consistency + structural). The same review runs automatically as the first phase of /execute-tracks; this command is for re-runs after inline replanning or whenever the plan needs explicit re-validation. TRIGGER when: user asks to re-validate the plan after inline replanning; user requests explicit plan review outside /execute-tracks. SKIP: /execute-tracks already running State 0 in this session (autonomous Phase 2 path will fire) — do not double-run.
Also in 3 projects that use this
ElasticSkillcreate-skill
Interactively create a new Claude Code skill and add it to the elastic-docs-skills catalog. Use when the user wants to generate a new skill, scaffold a slash command, or build automation for docs tasks.
Also in 3 projects that use this
Other versions12 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 12
- suleimanodetoro/skills★ 788same name
- gtrabanco/agentic-workflow★ 21same name
- chrisallenlane/claude-swe-workflows★ 18same name
- Phelan164/codex-howto★ 12same name
- borkweb/skills★ 8same name
- mgiovani/cc-arsenal★ 8same name
- paultyng/skill-issue★ 8same name
- AlizHarb/agent-skills★ 1same name
- JameMy0001/antigravity-skills-hub★ 1same name
- nielsmadan/skills★ 1same name
2 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository12 other files it gives its agents.
- AGENTS.mdAGENTS.md
- docs/limitations/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- crates/monty/src/modules/CLAUDE.mdCLAUDE.md
- coverageSkill
- fastmodSkill
- fix-pr-commentsSkill
- python-playgroundSkill
- review-generalSkill
- review-usabilitySkill
- review-verbositySkill
- writing-styleSkill
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 12 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 14
Use a subagent to run .agents/skills/fix-pr-comments/pr-threads.sh (from the fix-pr-comments skill) for security findings already raised on …
“Common” is measured: kept by at least 6 in 10 of the 12 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Security review
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:
- Sandbox escape? Filesystem access outside a mount, path traversal, symlinks resolving out of bounds, network, subprocesses, import-system abuse, callback misuse, leaks through error messages or timing.
- Memory errors? Worse than panics: nothing stops, state is silently corrupt, and it
can become arbitrary execution.
unsafe, refcount errors causing use-after-free or double-free, unchecked indexing, aliasing violations, integer overflow feeding a length or index. - Resource limits bypassed? Allocations dodging the
ResourceTracker(StringwithoutStringBuilder), loops with no fuel check, small input → huge allocation. - Untrusted input still untrusted? Wire frames from a child are hostile: decoding and proto→Rust conversion must validate everything and never panic. Snapshot provenance and integrity are the host's responsibility. Invalid snapshots may panic, abort, hang or produce wrong results, but must not cause UB; do not require semantic validation solely for tampered snapshots. Keep checks needed for memory safety or transport compatibility.
- Panics or aborts?
unwrap/expectreachable from sandboxed input, unbounded recursion hitting a stack-overflow abort. - Mount escapes? Any behaviour that allows sandbox code to escape a filesystem mount and read or alter files outside the mount point. This is particularly severe since mounts are run on the host/client connecting to a sandbox - accessing that environment is a very serious breach of the sandbox and security issue.
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?
Report
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.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

