Skip to content

Releases

PYA 2.0.0

Choose a tag to compare

@AgriciDaniel AgriciDaniel released this 23 Oct 13:17
416c17f

Renamed to PYA (Protect Your Ass). The command is now /pya, and the plugin name is pya. The repository moved from AgriciDaniel/claude-cybersecurity to AgriciDaniel/pya; GitHub redirects the old URL.

Migration from v1

  • Install as a plugin: /plugin install pya --marketplace AgriciDaniel/pya.
  • The old skill at ~/.claude/skills/cybersecurity keeps answering to /cybersecurity until you remove it with rm -rf ~/.claude/skills/cybersecurity.
  • Flags are unchanged: --scope, --focus and --compliance. New: --online, --focus agentic, --compliance cra.

Added

  • Agentic auditor (agent 9). Covers agent configs, MCP servers and clients, skills, hooks, AI agents in GitHub Actions, and LLM application code. Maps findings to OWASP LLM Top 10 2025, Agentic Top 10 2026, MCP Top 10 and ATT&CK v20.
  • Verifier. One pass per CRITICAL or HIGH finding, using six gates. Dropped findings appear under "Filtered Findings".
  • Enforced tool limits. Every specialist is a plugin agent in agents/ with tools: Read, Grep, Glob.
  • Deterministic scripts in skills/pya/scripts/: inventory, feed_match, ioc_scan, run_tools, score, update_kev and validate_feed.
  • Dated threat feed. skills/pya/feed/2026-10.json is built from the verified October 2026 digest, and every entry cites its source.
  • Optional offline scanners. osv-scanner, trufflehog, zizmor and semgrep run when installed.
  • Response-order playbook. Findings say when the order of the fix matters, for example removing a wiper before revoking tokens.
  • New detections:
    • Python startup-hook persistence (.pth, sitecustomize.py);
    • token-revocation wipers;
    • .user.ini prepend backdoors;
    • vendored CA bundles that still trust emSign;
    • Next.js use cache and SVG image issues;
    • Math.random tokens;
    • npm v12 install-script settings;
    • persist-credentials and pull_request_target head checkouts.
  • Evals for claude plugin eval, plus a pytest suite and make check.
  • Manifests and icon: marketplace manifest, plugin icon, SHA-pinned CI with zizmor, and an eval workflow on release tags.

Changed

  • Standards.

    Standard From To
    OWASP Top 10 2021 2025
    CWE Top 25 2024 2025
    MITRE ATT&CK v15 v20

    Also added: ASVS 5.0.0, PCI DSS 4.0.1, NIST SP 800-53 Release 5.2.0, and EU CRA reporting duties.

  • Scoring moved into score.py.

    • A failed agent is "unreviewed", not a neutral 50.
    • Agents that do not apply have their weight redistributed.
    • The grade is capped at C for a confirmed critical, a KEV match, coverage below 75%, or too many failed agents. Agents skipped on purpose (quick scope, --focus) do not count as failures.
  • SKILL.md. Cut from 986 to under 300 lines. Agent prompts moved to agents/.

  • Install path. install.sh now installs through Claude Code's plugin system. The self-referential checksum file is removed.

Fixed

  • user-invokable was misspelled. Claude Code ignored it; the field is now user-invocable.
  • OWASP IDs. The taxonomy used several wrong 2025 IDs, and SKILL.md still cited 2021.
  • GitHub Actions example. The "safe" example interpolated a secret directly into run:.
  • Incident dates. The Shai-Hulud and Nx facts in the references were dated and attributed incorrectly.
  • CI pins. CI pinned actions by tag; they are now pinned to full SHAs, with persist-credentials: false.
  • Unverifiable statistics were removed from the reference files.

v1.1.0 — Security Remediation + Marketplace Compliance

Choose a tag to compare

@AgriciDaniel AgriciDaniel released this 15 Apr 09:44

Security Remediation

Self-audit identified 22 findings (Grade C, 61/100). All 15 planned fixes applied, raising the projected score to 85-92/100 (Grade A/B).

Critical Fixes

  • Prompt injection defense: CRITICAL SAFETY RULE added to all 8 agent dispatches — treats scanned code as untrusted data, flags injection attempts as CRITICAL findings (CWE-94, MITRE T1059)
  • WebFetch/WebSearch removed: Eliminated unnecessary data exfiltration surface from allowed-tools
  • Per-agent tool restrictions: Each of 8 agents now operates with least-privilege (Read/Grep/Glob only; Agent 5 adds Bash for IaC)

High-Priority Fixes

  • Install integrity verification: checksums.sha256 with SHA-256 hashes for all 23 skill files, verified during installation
  • File exclusion hardening: .claude/, .cursor/, AGENTS.md, SKILL.md in scanned repos treated as data, not instructions
  • Permission path fix: Corrected settings.local.json path mismatch (claude-cybersecurity → cybersecurity)
  • Removed phantom install.ps1 references from README and SECURITY.md

Medium-Priority Fixes

  • Evidence redaction: Secret values masked in reports (first 4 + last 4 chars: AKIA****WXYZ)
  • Agent failure handling: Step 2.5 validation — score bounds, format compliance, missing agent fallback (score 50), minimum threshold (6/8)
  • Citation corrections: OWASP Top 10:2025 → 2021 (official), removed unsubstantiated statistics
  • CI/CD pipeline: shellcheck, markdownlint, checksum verification, cross-reference validation

Marketplace Compliance

  • plugin.json updated to Anthropic schema: author object format, 10 keywords, repository field
  • Plugin installation method added to README (claude plugin install cybersecurity)
  • Badges aligned (14 languages, OWASP 2021)

New Files

  • CHANGELOG.md — release tracking
  • checksums.sha256 — file integrity verification
  • .github/workflows/ci.yml — automated validation pipeline
  • .github/ISSUE_TEMPLATE/config.yml — security-focused issue routing
  • SECURITY-AUDIT-2026-04-15.md — full audit report

Full Audit Report

See SECURITY-AUDIT-2026-04-15.md for the complete 22-finding audit with attack chain analysis.


Skill Quality Score: 82/100 (skill-creator evaluation)
Plugin Validation: 15/15 checks pass
Checksums: 23/23 files verified