🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

agent-release-auditor

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

agent-release-auditor

Deterministic release gate for AI-written code and coding agents.

latest
Source
npmnpm
Version
0.1.4
Version published
Maintainers
1
Created
Source

Agent Release Auditor

Agent Release Auditor is a deterministic release gate for AI-written code.

It gives coding agents a deterministic way to ask:

Is this patch safe enough to ship?

It runs locally, needs no repository tokens, and makes no model calls.

Why

Coding agents are good at making changes. They are less reliable at knowing when a change is release-ready.

This tool gives agents a small, boring gate before they claim a patch is ready:

  • require test evidence
  • flag sensitive paths
  • flag possible secrets
  • flag common standalone provider tokens
  • warn on large changes
  • warn on missing rollback notes
  • return stable JSON and Markdown

The project is intentionally self-contained. It can later become a paid MCP tool, hosted API, GitHub Action, or CLI.

Self-Contained Development

This repository must not depend on private workspace internals, runtime state, secrets, or local machine paths. It is safe to develop, publish, and monetize independently.

Run the local boundary check before publishing or adding integrations:

npm run safety

The safety check fails if project files contain protected local paths, environment coupling, or unsafe symlinks into a private workspace.

Target

Autonomous coding agents with delegated authority to prepare, review, or merge code.

The human buyer is the budget holder, but the product surface is designed for agents:

  • structured JSON inputs
  • deterministic blocking rules
  • machine-readable risk output
  • concise next actions
  • Markdown output for PR comments

First Product

agent-release-auditor starts as a CLI that reads an audit request JSON file and returns a release-readiness report.

Future surfaces:

  • MCP server exposing release_audit
  • HTTP API for paid usage
  • GitHub Action for PR checks
  • Pro policy packs sold as digital files

Production Policy Pack

The free CLI proves the local release gate works.

For stricter production and MCP-server release rules, see the early-access $5 Production Release Policy Pack.

The paid pack includes production release policies, MCP security checklists, PR comment templates, Codex instructions, and passing/failing examples.

Automated card checkout is temporarily disabled while payout setup is verified. See buying status.

Agent-native payment: x402 + USDC setup

Quick Start

npm install -g agent-release-auditor
agent-release-auditor --version
agent-release-auditor --init > audit-request.json
agent-release-auditor audit-request.json

Run a production-style example with fuller test, security, review, and rollback evidence:

agent-release-auditor examples/production-release-request.json

Create a starter request for your own patch:

agent-release-auditor --init > audit-request.json

For a practical walkthrough from git diff --numstat to a complete request, see the audit request guide.

Passing output:

{
  "mergeReady": true,
  "riskLevel": "low",
  "blockingIssues": [],
  "warnings": []
}

For local development without a build step:

npm install
npm run dev -- examples/basic-request.json

Markdown output for PR comments:

npm run dev -- --format markdown examples/basic-request.json

Version check:

npm run dev -- --version

Starter request template:

npm run dev -- --init

Failing demo:

npm run dev -- examples/failing-request.json

Expected result: the failing demo exits with code 1 and reports missing tests, a sensitive path change, a possible secret, missing rollback evidence, and a large-change warning.

For a copy-paste validation path with expected results, see the 60 second demo.

GitHub Action usage:

- uses: veyndrasystems/agent-release-auditor@v0.1.4
  with:
    request: .agent-release-audit/request.json
    format: markdown

MCP server usage:

npm install -g agent-release-auditor
agent-release-auditor-mcp

See the MCP server guide for client configuration.

Exit codes:

  • 0: audit completed and mergeReady is true
  • 1: audit completed and blocking issues were found
  • 2: invalid CLI usage, JSON, or request shape

Request Shape

Minimum input:

{
  "summary": "Describe the patch.",
  "changedFiles": [
    {
      "path": "src/example.ts",
      "additions": 10,
      "deletions": 2
    }
  ],
  "evidence": {
    "tests": ["npm test"],
    "rollbackPlan": "Revert the patch."
  }
}

The CLI validates the request before auditing and prints actionable validation errors when the JSON shape is wrong.

Current Status

This is an early deterministic local CLI with no external model calls.

Repository Layout

src/
  auditor.ts       Core scoring and blocking checks
  cli.ts           CLI entrypoint
  types.ts         Shared request/response types
schemas/
  audit-request.schema.json
  audit-result.schema.json
examples/
  basic-request.json
  production-release-request.json
docs/
  PLAN.md
  MONETIZATION.md
  AGENT_CONTRACT.md

More Docs

Keywords

ai-agents

FAQs

Package last updated on 23 May 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts