Deterministic prompt-injection scanner (PITAX rules): scan repositories, documents and untrusted text for AI-assistant hijacking patterns — invisible Unicode, trojan source, instruction overrides, encoded payloads. Zero dependencies, zero network, zero model calls; everything stays on your machine.
Part of CodeRisk Arcanum (https://github.com/a9320/arcanum-spark). Source / issues: https://github.com/a9320/arcanum-spark
# scan a repository (or a single file) — reports land in ./pitax-report codeark-pitax ./your-repo --formats html,json --out ./pitax-report # CI gate: exit 3 when anything at or above `high` is found codeark-pitax ./your-repo --fail-on high Exit codes (CI gating) Code Meaning 0 scan finished, nothing at/above the threshold 1 bad arguments, or the target path does not exist 3 findings at/above the threshold (--fail-on / --fail-on-findings) --formats json,sarif,markdown,html writes report artifacts; sarif is accepted by GitHub code scanning. Nothing is uploaded and no model is called.
# .github/workflows/pitax.yml - run: pip install "codeark-pitax>=0.2.3" - run: codeark-pitax . --fail-on high --formats sarif,json - uses: github/codeql-action/upload-sarif@v3 if: always() with: { sarif_file: pitax-report/report.sarif } Boundary: a rule match is a report, not a confirmed attack. Output is advisory and the tool never modifies or deletes files. Directory scans never follow symlinks or junctions and are bounded (file count / depth / total bytes), and a partial scan declares what stopped it.
The PITAX rule set is derived from the Prompt Injection Taxonomy v1.6.1 by Jason Haddix / Arcanum (CC BY 4.0).
License: MIT (same as arcanum-spark).
prompt-injection security static-analysis llm pitax ai-safety code-review
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
None of the files in this release were uploaded with provenance metadata.
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.
Nov 21, 2026 1 release file No provenance
Nov 9, 2026 1 release file No provenance
Nov 8, 2026 1 release file No provenance
Nov 3, 2026 1 release file No provenance
Nov 1, 2026 1 release file No provenance
Oct 31, 2026 1 release file No provenance




