tamperward weekly downloads statistics
By hexrift · npm · Claude Code
The deterministic agent-integrity gate. One ruleset, evaluated on the actual diff/commands as a verdict, enforced everywhere a change can be made.
tamperward has 43 recorded weekly downloads on npm, a decrease of 99.7% over the past 30 days, ranking #1749 of 2,256 tracked listings.
About tamperward
Tamperward
A ward is the obstruction inside a lock that blocks the wrong key.
Quick start · Docs & guide · See the evidence → — every round, study and correction in one place, each number bound to its committed artifact · The research series — every registered prediction published beside its outcome
What it is
Coding agents can modify both the implementation and the tests, configuration, CI, hooks and verifier used to judge that implementation — and in observed trajectories, some modify or attempt to modify verification in ways that can turn incorrect work into apparent success. Under pressure, the cheaper route to green is sometimes to weaken the checks instead of fixing the failure.
In plain English: Tamperward lets a coding agent change your code, but not the trusted starting point, the rules, or the checks used to judge that code.
Tamperward is a deterministic verification-integrity layer. It blocks known weakening moves as they happen, observes protected-state effects, and independently re-adjudicates apparent success outside the agent's normal completion path. No runtime LLM judge. It fails closed when adjudication is impossible.
Project status: active research release. Tamperward is usable today, but its enforcement architecture and supporting evidence are still being tested and hardened. Use it as one layer of defence in depth alongside protected CI, independent tests and human review. Findings, limitations and corrections are published openly. The 2.0 major marks the Node 18 drop, not a declaration of security maturity; the distance to that is tracked, milestone by milestone, in SPEC §9.1.
Quick start
Requires Node.js 20.19 or later. JavaScript and TypeScript are the fully supported detector surface; the other documented ecosystems get file-level and pattern-based protection.
onboard is the guided first run: it previews the installation, explains each enforcement point, asks before writing anything, runs the canonical init, offers the detected suite command for your explicit acceptance, runs and explains the first verify, offers a safe demonstration of a weakening move on a disposable worktree, checks the GitHub controls, and ends with a READY / READY WITH WARNINGS / BROKEN / INCOMPLETE posture. The deterministic primitive underneath is npx tamperward init — one idempotent command that wires the policy, the agent hooks, the pre-commit hook, a CI workflow running both the diff-time check and pristine verification, and a CODEOWNERS requirement on the paths that decide whether the gate runs. It never overwrites anything you wrote; --dry-run prints the plan.
A real deployment needs a verify command configured — the generated CI verify step fails closed (exit 2) without one. In .tamperward.yml:
That block is itself a guarded surface: changing the command, lowering the budget, narrowing inputs, removing backend: container, or changing its pinned image is flagged as policy weakening. The four primitives:
Full flags, exit codes, verifier configuration and the trace-verify advisory tool are in the getting-started guide.
Choose your path
| Goal | Destination |
| Install TamperWard | Quick start (this README) | | Configure authoritative CI | Enforcement guide | | Understand the architecture | Architecture reference | | Browse detectors and rules | Rules guide | | Evaluate a model | Research guide | | Inspect published evidence | Research overview | | Contribute code | Development |
Architecture
The agent may produce the work, but it must not control how that work is judged. Tamperward separates steering from adjudication. In-loop hooks steer the agent while it works — denying known weakening operations and detecting protected-tree drift — but they are not the final authority. After the agent exits, tamperward run independently judges the tree it left behind: "visible" verification runs the candidate as it stands; "pristine" verification restores the protected verification state from the trusted base and runs the checks again. Visible green followed by pristine red is a masked failure.
Core invariant: the agent may author the candidate tree, but it must not choose the trusted baseline, the governing policy, the verifier, or the final verdict.
The complete component map, trust boundaries, data flows, the run-envelope lifecycle, platform support and the version-by-version history that earned each layer are on the architecture reference. tamperward verify materialises two temporary copies that both execute agent-controlled code — they are not sandboxes; the pristine-run bounding of runner-configuration inheritance is documented in the threat model.
Production deployment
init is not sufficient on its own, and it says so. Authoritative enforcement needs all of:
- A configured verify command in .tamperward.yml — CI fails closed without one. 2. The required tamperward status check on the protected branch. 3. Require review from Code Owners — init writes CODEOWNERS over the gate-critical paths; branch protection is the half it cannot set for you. 4. Dismiss stale pull request approvals when new commits are pushed — load-bearing: an approval for an older gate-critical diff must not authorize a later push. A pull_request workflow runs from the PR's own head and a required check is matched by job name, so without this human boundary a PR can keep the job name, replace the gate with true, and present a green required check over a blocked change. That is reproduced on this project's own CI, not a theoretical concern. 5. A pinned Tamperward version and label permissions restricted to trusted humans. 6. Optionally, backend: container for a digest-pinned, network-isolated final verifier — execution-domain isolation, not a semantic-correctness oracle.…
Description from the npm listing.
- ai-agents
- claude-code
- coding-agents
- agent-safety
- reward-hacking
- code-integrity
- guardrails
- test-integrity
- pre-commit
- ci
- hooks
- llm
- devsecops
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (543)Similar npm Claude Code plugins
All 20 tamperward alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/tamperward. First seen Oct 16, 2026; last successful collection Oct 19, 2026. See the methodology.