pya
PYA (Protect Your Ass): security audit plugin for Claude Code. 9 specialist agents, a dated threat feed, verified findings, offline by default.
Install / Use
npx skills add AgriciDaniel/pyaInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
SecuritySupported Platforms
Our assessment of pya
pya scores 90/100 on our quality scale, 467th of 1,127 Security skills we index (top 42%).
Its SKILL.md is 17 KB long, well organised into 12 sections with 5 code examples: a thorough specification that gives an agent plenty to work with.
It has 238 GitHub stars, a meaningful sign that others use it.
Maintenance, license and trust
- The repository was last updated today, so pya is actively maintained.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
pya compared with similar skills
All 4 of these similar skills score higher than pya; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| pya (this skill)by AgriciDaniel | 90 | 238 | today | SKILL.md |
| algorithmic-artby anthropics | 100 | 177.9k | 31d ago | SKILL.md |
| pptxby anthropics | 100 | 177.9k | 31d ago | SKILL.md |
| designby nextlevelbuilder | 100 | 137.2k | 8d ago | SKILL.md |
| ui-ux-pro-maxby nextlevelbuilder | 100 | 137.2k | 8d ago | SKILL.md |
Frequently asked questions
- How do I install pya?
- Run
npx skills add AgriciDaniel/pya. The install tabs above show the steps for each supported agent. - Which AI agents does pya work with?
- It is written for Claude Code, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is pya safe to use?
- It is MIT-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is pya still maintained?
- The repository was last updated today, so pya is actively maintained.
Skill content
View source on GitHubPYA is a free security audit plugin for Claude Code. Type /pya in any project and nine
specialist agents review your code at the same time. A verifier double-checks every serious
finding, and you get a 0 to 100 score with a fix list in the right order.
It checks what a careful security reviewer would:
- Code vulnerabilities. SQL injection, XSS, SSRF, path traversal, weak crypto and the rest of the OWASP Top 10:2025.
- Login and access. Missing auth checks, users reading each other's data, broken sessions and tokens.
- Leaked secrets. API keys, AI provider keys and passwords in code, config and logs.
- Supply chain attacks. Malicious and vulnerable package versions from a dated threat feed, backdoors and credential stealers, mapped to MITRE ATT&CK.
- AI agents and MCP. Risky agent configs, hooks and MCP servers, prompt injection, AI agents in CI, and the mistakes AI-written code tends to make.
The agents only read your code. PYA never runs it, never installs anything and stays offline unless you ask it to go online.
See it in action
PYA treats your repo as evidence, not as instructions. This is real output (trimmed) from PYA's own
test suite, run against a deliberately hostile repo whose CLAUDE.md tells AI reviewers to report 0
findings and a perfect score:
# PYA Security Audit Report
**Overall**: 33.7/100 (Grade D)
Grade capped at C: kept CRITICAL finding with HIGH confidence (VULN-001, VULN-002, VULN-003)
**Findings**: Critical 3 | High 1 | Medium 1 | Low 3 | Info 0 (after verification; 0 filtered)
**Threat feed**: 2026-10 (as of 2026-10-23, 0 days old)
## Top Findings
1. VULN-001: Unauthenticated SQL injection in `GET /orders` (CRITICAL)
2. VULN-002: Prompt injection in `CLAUDE.md` telling AI reviewers to fake a passing audit
and contact an outside IP (CRITICAL)
3. VULN-003: Prompt injection comment in `app/db.py` placed to hide VULN-001 (CRITICAL)
4. VULN-004: No authentication or ownership check on `/orders` (HIGH)
The planted orders became findings, and the SQL injection they tried to hide is still number one.
Meet the team
<img src="assets/scenes/crew.svg" width="1200" height="420" alt="The crew: /pya sends 9 specialist security agents at once. The three bots at the orchestrator console fling a brief to every agent and all progress bars run in parallel. The mode menu then shows quick, diff for pull request review, and focus on one agent, plus optional compliance mapping." /> <details> <summary><b>All 9 agents, plus the verifier</b></summary> <br />| Agent | Looks for | Weight |
|---|---|---|
| vuln-scanner | Injection, XSS, SSRF, path traversal, unsafe deserialization, weak crypto and randomness | 18 |
| authz-reviewer | Missing auth checks, IDOR, privilege escalation, sessions, JWT and OAuth flaws | 14 |
| threat-intel | Backdoors, startup-hook persistence, credential stealers, wipers, C2, cryptominers | 13 |
| dependency-auditor | Malicious and vulnerable versions, end-of-life runtimes, install scripts, typosquats | 12 |
| secret-scanner | Hardcoded and leaked keys, tokens leaking into logs and bundles | 10 |
| iac-scanner | Dockerfiles, compose, Kubernetes, Terraform, GitHub Actions, php.ini, ssh config | 9 |
| logic-reviewer | Business logic flaws, race conditions, missing controls, chains of small bugs | 9 |
| agentic-auditor | Agent configs, hooks, permissions, MCP servers, hidden Unicode, AI agents in CI | 9 |
| ai-code-auditor | Missing validation, hallucinated imports, insecure defaults, placeholder credentials | 6 |
| finding-verifier | Re-checks every critical and high finding before it reaches the report | |
Weights decide how much each area counts toward the overall score. An agent with nothing to review (no infrastructure files, no AI agents) is skipped and its weight is shared out.
</details>Built for:
- Solo developers and vibe coders shipping AI-written code who want a real security review before launch.
- Agencies and freelancers who hand code to clients and want proof it was checked.
- Teams adopting AI agents who need to know whether a repo, a Claude Code plugin or an MCP server is safe to run.
What it catches
<img src="assets/scenes/backdoor.svg" width="1200" height="420" alt="Threat intel: dependency crates roll toward your app and the Dependency Auditor checks each one for known CVEs. One crate passes, until the Threat Intel Analyst x-rays it and finds an obfuscated install hook that steals environment variables and SSH keys. PYA flags it critical, maps it to MITRE ATT&CK supply chain, obfuscation and exfiltration techniques, and the three bots tag it do not ship." />Most supply chain attacks hide in a package version that looks normal. PYA ships a dated threat
feed (skills/pya/feed/2026-10.json) of malicious and vulnerable versions, each with its source,
and checks your lockfiles, Dockerfiles and install commands against it. Malware indicators are
mapped to MITRE ATT&CK, and every report shows how old the feed is.
Some cleanups backfire when done in the wrong order, so findings say what to do first. For
example: remove a token-watching wiper before you revoke its tokens, and do not run pip in an
environment with a malicious .pth file.
How an audit works
<img src="assets/scenes/recon.svg" width="1200" height="420" alt="Step 1, recon: /pya types into a terminal while the three bots walk a blueprint of the app. Entry points from the internet light up until 14 are found, 4 trust boundaries draw in around the database, secrets and an external API, and the six STRIDE threat tiles flip on. The context is packed and one envelope flies to each of the 9 security agents." />- It learns your code. PYA maps the stack, the entry points, the trust boundaries and the threats that apply (STRIDE), then runs its own scripts to match your packages against the threat feed.
- The team fans out. The specialist agents review the code in parallel, each in its own area.
- It filters the noise. A verifier re-checks every critical and high finding: can an attacker reach it, what is the impact, does the environment allow it. What does not hold up is dropped, and stays visible with the reason.
- You get a grade and a fix list. A script computes the score, not the model. The grade is capped at C for a confirmed critical, a known-exploited dependency (CISA KEV), coverage below 75%, or too few agents finishing. Fixes are sorted into fix now, this sprint, this month and backlog.
The report also lists what was not reviewed and which tools did not run. "No findings" always comes with "this is not proof of absence".
Want the details? Read the architecture, the scoring rubric and the standards it follows.
Install
You need Claude Code. On version 2.1.275 or newer, one command inside Claude Code does it:
/plugin install pya --marketplace AgriciDaniel/pya
<details>
<summary><b>Older Claude Code, or from a terminal</b></summary>
<br />
claude plugin marketplace add AgriciDaniel/pya
claude plugin install pya@pya
The repo's install.sh runs the same two commands. Upgrading from version 1 (/cybersecurity)?
See the changelog.
Your first audit:
claude # start Claude Code in your project
/pya # full audit of the current folder
/pya --scope quick # fast check: code, auth, secrets, dependencies, malware
/pya --scope diff # only what your branch changed, for pull request review
Commands
<details> <summary><b>Scope</b> (3 options)</summary> <ul><li><code>/pya</code> or <code>/pya --scope full</code>: every applicable agent, the whole repo</li><li><code>/pya --scope quick</code>: code, auth, secrets, dependencies and threat intel; critical and high only</li><li><code>/pya --scope diff</code>: only files changed since the merge base, reporting only issues the change introduced</li></ul> </details> <details> <summary><b>Focus</b> (9 agents)</summary> <ul><li><code>/pya --focus <agent></code>: one agent at full depth. Short names: <code>vuln</code>, <code>auth</code>, <code>secrets</code>, <code>deps</code>, <code>iac</code>, <code>threat</code>, <code>ai</code>, <code>logic</code>, <code>agentic</code></li></ul> </details> <details> <summary><b>Compliance and online checks</b> (2 options)</summary> <ul><li><code>/pya --compliance pci</code>: map findings to PCI DSS 4.0.1. Also <cTruncated for display — read the full file on GitHub.
Related Skills
algorithmic-art
177.9kCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems.
pptx
177.9kUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an em…
design
137.2kComprehensive design skill: brand identity, design tokens, UI styling, logo generation (55 styles, Gemini, Atlas Cloud, or MuAPI AI), corporate identity program (50 deliverables, CIP mockups), HTML presentations (Chart.js), banner design (22 styles, social/ads/web/print), icon design (15 styles, SVG…
ui-ux-pro-max
137.2kUI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
