pharon

agent
Security Audit
Fail
Health Warn
  • License — License: Apache-2.0
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Low visibility — Only 7 GitHub stars
Code Fail
  • rm -rf — Recursive force deletion command in openai/build.sh
  • process.env — Environment variable access in pharon-plugin/lib/cache.test.mjs
  • process.env — Environment variable access in pharon-plugin/lib/check.mjs
Permissions Pass
  • Permissions — No dangerous permissions requested

No AI report is available for this listing yet.

SUMMARY

Claude Code plugin, CLI and GitHub Action for Pharon: alerts you when a compromised package, exploited vulnerability, vendor breach or end-of-life date reaches your stack. Your code stays on your machine.

README.md

Pharon

The warning light for your stack. Pharon keeps an inventory of every package, container image, GitHub Action, runtime and cloud service you run, and alerts you within minutes when a compromised release, an exploited vulnerability, a vendor breach or an end-of-life deadline reaches it. Scans run on your machine; your code never leaves it.

This repository holds the parts that run on your side: the Claude Code plugin, the zero-dependency pharon CLI it uses, and the GitHub Action. You need a Pharon account (sign up), Claude Code and Node.js 18 or later.

Install the Claude Code plugin

/plugin marketplace add getpharon/pharon
/plugin install pharon@pharon

Then open Claude Code in a repository and run /pharon:setup. It logs you in, links the repo, scans the stack locally and shows exactly what will be uploaded before anything is sent.

In Claude Code What it does
/pharon:setup Connect a repo, or review and repair its setup
/pharon:status Last sync and open incidents for this repo
/pharon:show Exactly what is uploaded for this repo
/pharon:check-incident <id> Check whether this machine was affected, and which secrets to rotate. Free, no account needed

Full guide: getpharon.com/docs.

The warning light in your status line

Once the plugin is installed, this repo's open notices show in Claude Code's status line as 🔦 high · 2 open, and a new critical or high one pops up. It reads the notices the CLI already caches on your machine, so it makes no network calls of its own.

It is built on Claude Code's plugin hooks modules, an early-access API, so it needs a recent Claude Code.

Install guard

Off until you turn it on (/pharon:setup offers it, or run pharon guard on). Then, before Claude Code installs or runs an npm or PyPI package (npm i, pnpm add, npx, pip install, uv add, uvx and the like), Pharon checks it:

  • A compromised or malicious version is stopped, from Pharon's signed notices and OSV.dev's malicious-package advisories.
  • A package first published under 30 days ago needs your OK. AI tools sometimes invent package names, and attackers register them.
  • A version published inside your cooldown needs your OK (2 days by default; pharon guard on --cooldown 7, or 0 for none), unless it fixes a known vulnerability, so security fixes go straight through.

The checks go to the public npm or PyPI registry and OSV.dev. Nothing about the packages goes to Pharon, and no account is needed. Lockfile installs (npm ci, npm install with no package) aren't checked. Try it without installing anything: pharon guard check "npm i some-package".

GitHub Action

Keeps the inventory current from CI and checks pull requests for components with an open incident. Create a CI token on the project page in Pharon, store it as the secret PHARON_TOKEN, and add:

on: { push: { branches: [main] }, pull_request: {}, schedule: [{ cron: "17 3 * * *" }] }
jobs:
  pharon:
    runs-on: ubuntu-latest
    permissions: { contents: read, pull-requests: write }
    steps:
      - uses: actions/checkout@<sha>
      - uses: getpharon/pharon@<sha>
        with: { token: "${{ secrets.PHARON_TOKEN }}", fail-on: high }

What leaves your machine

Only an inventory: component names, versions and the paths of stack files. Source code, file contents and secret values never do, and /pharon:show prints the exact upload. Redaction rules (pharon redact add '<glob>' [--hash]) drop or hash matching names and paths first; a matching branch name is hashed, and a matching git remote is never sent (the project gets a name you choose instead). Every incident notice is signed with Ed25519; the CLI rejects unsigned or tampered notices and never runs anything from one. Details: what we see.

Where data goes:

  • getpharon.com, Pharon's API, and nowhere else. The plugin's commands and its session start and end hooks upload the inventory there, along with the repo's git remote (as the project's identity), hashed cloud account ids and the machine's name as the label of the CLI login. They download signed incident notices from the same API.
  • api.github.com, only from the GitHub Action, to comment on the pull request with the repository's own token.
  • Your cloud provider, only if you turn on cloud scanning: Pharon runs your own aws, gcloud or az CLI with an allowlist of read-only describe and list commands. Those calls go from your machine to your provider, as they would if you ran them yourself.

The current inventory is kept while the project exists; inventory history for 30 to 365 days (90 by default), as each organization chooses. Details: privacy policy.

Links

Pharon is part of Gitmore. The code in this repository is licensed under the Apache License 2.0.

Reviews (0)

No results found