Skip to content
PharenITPublic

About

AI security audits and white-box pentests for your own code: desktop app (Rust, Tauri), Claude Code plugin and agent skills for Codex. Security, scalability, AI slop, reliability and GDPR basics.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

Pharen Security

AI security audits and white-box pentests for your own code – as a native desktop app, a Claude Code plugin and agent skills for Codex.

Deutsch · Website · by Pharen

Pharen Security reads your repository, never changes it, and hands you a report your developers and your management can both act on: every endpoint, every finding with file and line, and the steps to verify and fix it. It runs on the AI subscription you already have (Claude Code or Codex): no API keys, and no additional service that receives your code.

Overview of open findings by severity

All screenshots show demo data.

What it checks

Check What you get
Pentest White-box security review: authentication, access control and tenant isolation, input handling, secrets, configuration, CI/CD and containers. Findings with CVSS 4.0.
Security audit The same pipeline driven by the attack classes and evidence rules of Cloudflare's security-audit skill.
Scalability N+1 queries, missing indexes, unbounded lists, slow work inside requests. Rates every endpoint.
AI slop Dead, duplicated and half-finished code that looks plausible but is not wired up.
Reliability Missing timeouts, unsafe retries, races, swallowed errors, jobs that can run twice.
Data protection Where personal data is stored, logged and passed on – the technical basis for GDPR work. Not legal advice.
Code review Scheduled scans with bundled open-source scanners: Semgrep, Ruff, Gitleaks, Hadolint, actionlint, zizmor and ast-grep rules for Django, DRF, Vue and Compose.

Built for Django, Vue, Python, TypeScript, CI/CD and containers; the AI checks work on any stack.

The app

A native desktop app (Rust and Tauri) for macOS, with a Windows build script.

  • Deep Scan splits a large repository into areas and reviews several at once. A run that stops – rate limit, closed laptop, changed model – continues where it was instead of starting over.
  • Live view of the plan, the areas, every endpoint found and each finding the moment it is proven.
  • Endpoint inventory and map: every route with who may call it, its security verdict and its scalability verdict.
  • Reports as a readable document with summary, scope, coverage and findings in detail; an interim report at any point of a run.
  • Findings from all checks in one list, with triage, retest and export.
  • Projects: everything is scoped to a project; nothing leaves your machine except the calls your AI client makes.
A deep scan with runtime, tokens, areas and findings Endpoint table with security and scalability verdicts
Map of endpoints by security and scalability All findings with severity and status

Build from source

Requires Rust, Python 3 and macOS on Apple silicon. The first build downloads the scanners from their upstream releases at pinned versions and verifies their checksums.

git clone https://github.com/PharenIT/Security.git && cd Security
sh scripts/package-mac.sh
open "bundles/Pharen Security.app"

Then pick a project folder and connect Claude Code or Codex under Einstellungen → KI-Zugang. The app's interface is German.

The skills

The briefs the app runs are plain agent skills in skills/:

  • pharen-audit – the read-only review with the five topics above.
  • security-audit – Cloudflare's six-phase audit workflow, shipped unmodified.

Claude Code plugin

/plugin marketplace add PharenIT/Security
/plugin install pharen-security@pharen

Then ask for an audit, or call a skill directly: /pharen-security:pharen-audit or /pharen-security:security-audit.

Codex and other agents

Codex reads skills from .agents/skills in your repository or your home folder:

git clone https://github.com/PharenIT/Security.git && mkdir -p ~/.agents/skills && cp -R Security/skills/* ~/.agents/skills/

Or with the skills CLI, for any agent it supports:

npx skills add PharenIT/Security

How a check works

  1. Overview – the agent maps routes, views, jobs and the frontend and lists every endpoint.
  2. Plan – it writes a review plan from what it found, not from a fixed list.
  3. Review – it works through the plan and reports a finding only when the code proves it.
  4. Report – summary, three improvements, scope, endpoint inventory, coverage, findings with verification steps and fix.

The agent runs read-only: Claude Code with the tools Read, Grep and Glob only, Codex in its read-only sandbox. Verification steps say which call reaches which code path and which check is missing; the reports contain no ready-made attacks.

Use it only on code you own or are authorised to review.

Development

The tests use the bundled scanners. Fetch them once; the build script above does the same.

python3 scripts/prepare-scanners.py macos
cargo test --locked -p pharen-security
node scripts/preview.cjs

The preview serves the interface with demo data at http://localhost:4173. scripts/ui-smoke.cjs is the interface test and scripts/screenshots.cjs regenerates the images above; both need Playwright.

Credits

  • skills/security-audit is the security-audit skill by Cloudflare, Inc., MIT licence, see its LICENSE.
  • The bundled scanners keep their own licences; the build copies each licence text into the app bundle. PDF rendering uses PDF.js (Apache 2.0).

Licence

Pharen Security is source-available under the PolyForm Noncommercial License 1.0.0: free for private and other non-commercial use. Using it in a business requires a commercial licence for a one-time €100 – contact Pharen.

skills/security-audit stays under its MIT licence, and the bundled scanners keep their own.

Made by Pharen

We build Pharen Security for our own projects and share it.

  • Pharen – AI agency from Leipzig: agents, automation and workshops.
  • Pharen Hub – the AI workspace for your whole company.

About

AI security audits and white-box pentests for your own code: desktop app (Rust, Tauri), Claude Code plugin and agent skills for Codex. Security, scalability, AI slop, reliability and GDPR basics.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages