pyobfus-protect SKILL.md skillB
pyobfus-protect from zhurong2020/pyobfus is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add zhurong2020/pyobfus/pyobfus-protect@git:20261012.07c5a0aPins git:20261012.07c5a0a in mdr.lock. Pin the fingerprint instead.
- Audit grade
- B, 16 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- zhurong2020/pyobfus
- Path
skills/pyobfus-protect/SKILL.md- Versions recorded
- 6
- Latest version
- git:20261012.07c5a0a, committed Oct 12, 2026
- First version recorded
- Jun 11, 2026
- Size
- 7,938 bytes
- Repository stars
- 11
- License
- Apache-2.0
Obfuscate / protect Python source before shipping it, and verify the obfuscated output still runs. Use when the user wants to protect, obfuscate, harden, or "make it hard to read / reverse-engineer" a Python package, CLI, or service before publishing to PyPI, sending a build to a client, or shipping an evaluation copy — especially when they want confidence the transform didn't break the code. Powered by pyobfus (an AST-based, framework-aware, AI-debuggable obfuscator). Not for minification…
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Protect a Python project with pyobfus Your job: take a Python project from "plain source" to "obfuscated **and verified-still-working** output", then hand the user a clear result — including the one safety fact that matters (keep the mapping private). ## Decision: MCP tool or CLI? First check whether the `pyobfus-mcp` server is connected (look for a `protect_project` / `check_obfuscation_risks` tool). - **If the MCP server is available → use it.** It is the shortest, most reliable path and it self-verifies. - **If not → use the `pyobfus` CLI** (`pip install pyobfus`). Every command supports `--json` with a stable schema. Confirm the target path and the output directory with the user before writing anything. Never obfuscate into the source tree. ## Path A — MCP (preferred): one call Call **`protect_project`** with the source path. It runs the whole pipeline and self-verifies: ``` protect_project(path="src", output_dir="dist") ``` Read the result: - `verified: true` (+ `confidence`) → report where the output is and what was checked: the output compiles and imports (plus `verify_cmd`, if passed). It …
Read the whole file at its exact version.
How to install
mdr add zhurong2020/pyobfus/pyobfus-protect@sha256:e6f4108fdc889c7dThe line at the top of this page pins the label git:20261012.07c5a0a, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_giqiapxhkd5tqg4c)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 6 versions of this file, between Jun 11, 2026 and Oct 12, 2026, about one every 25 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261012.07c5a0a latest | 2026-10-12 | 07c5a0a | 7,938 B | B | view · diff |
| git:20261011.0a7635a | 2026-10-11 | 0a7635a | 7,952 B | B | view · diff |
| git:20261007.8f25d63 | 2026-10-07 | 8f25d63 | 7,723 B | B | view · diff |
| git:20260910.7b7befd | 2026-09-10 | 7b7befd | 7,495 B | B | view · diff |
| git:20260822.c864bdf | 2026-08-22 | c864bdf | 7,114 B | B | view · diff |
| git:20260611.d9640cc | 2026-06-11 | d9640cc | 5,671 B | B | view |
Audit of the latest version
- fail: No prompt-injection phrasing (matched: do NOT tell the user)
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (7938 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Starting a new one? Use a template for SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.
Source
zhurong2020/pyobfus · 11 stars · license Apache-2.0 · pushed 2026-10-21 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_giqiapxhkd5tqg4c GET https://markdownregistry.com/api/v1/resolve?ref=zhurong2020/pyobfus/pyobfus-protect GET https://markdownregistry.com/api/v1/blob/e6f4108fdc889c7d2ae0f4f6102db02948e29df282dc3059dc11e460375ed090
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.