harness

agent
Guvenlik Denetimi
Uyari
Health Uyari
  • License — License: MIT
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Low visibility — Only 5 GitHub stars
Code Gecti
  • Code scan — Scanned 12 files during light audit, no dangerous patterns found
Permissions Gecti
  • Permissions — No dangerous permissions requested

Bu listing icin henuz AI raporu yok.

SUMMARY

Safety rails for Claude Code: block destructive commands and secrets, keep dependencies current with a cooldown, pinned security skills, Joern code graph.

README.md

harness logo

harness

Safety rails for Claude Code.
Stop the destructive command, keep secrets off disk, keep dependencies current without letting a poisoned release in.

ci security version MIT license Claude Code plugin

The guard blocking a force push and a secret, the graph listing what a change affects, and Renovate PRs

The problem

An agent runs commands with your permissions. One bad rm, one force push or one API key pasted into a file is enough to lose work or leak a credential. Meanwhile dependencies drift, and the newest release of a package is exactly where supply-chain attacks land, usually caught within days. The skills and plugins you install change under you too.

harness is one plugin that handles all three, with plain files and no server.

Install

/plugin marketplace add Pierry/harness
/plugin install harness@harness
/harness:setup

/harness:setup adds renovate.json, a security workflow and pinned plugins to your repo, showing every diff. Then install the Renovate app and require CI on your default branch.

What you get

Guard Blocks rm -rf ~, force push, git reset --hard, downloads piped into a shell, credential uploads, and any write containing an API key, token or private key.
Safe updates Renovate preset: patch and minor merge on green CI after a 3-day cooldown, majors wait for you, security fixes skip the wait, actions pinned to SHAs.
Pinned skills Cloudflare's and Trail of Bits' security skills, locked to a reviewed commit. Updates arrive as a PR, never automerged.
Security CI TruffleHog, Semgrep, zizmor and OSV-Scanner. No account, no token.
Reviews /harness:secure-review reports only findings it can trace from attacker input to the sink. /harness:skill-audit vets a plugin before you install it. /harness:deps triages update PRs.
Code graph /harness:graph uses Joern to list callers, the impact of a diff and the tests to run, in any language Joern parses.

Code graph

Optional. Needs brew install joern (other platforms).

graph.py build                  # about 10 s for a small repo
graph.py impact --diff main     # changed methods, their callers, the tests that cover them
graph.py callers charge -d 3
graph.py dead                   # candidates, not verdicts

It sees static calls only. Reflection, dependency injection, routes and calls from other services are invisible, so impact is a lower bound.

Quality

70 tests run in CI: the guard against commands that must and must not be blocked, the graph against a real Joern export, the scanner against a malicious plugin, and every pin in the repo. The plugin is validated with claude plugin validate --strict and the preset with renovate-config-validator --strict. Two eval cases run with claude plugin eval.

License

MIT. Report vulnerabilities privately, see SECURITY.md.

Yorumlar (0)

Sonuc bulunamadi