
Security News
Deno Goes the Way of the Dinosaur
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.
@stlw/warden-hook-server
Advanced tools
HTTP hook server for Claude Code, Codex CLI, and Copilot SDK integration
Local HTTP hooks that apply Warden policy to Claude Code, Codex CLI, and Copilot SDK tool calls. The server handles session lifecycle, prompt submission, pre-tool decisions, post-tool output tagging, and an auditable ledger.
npm install @stlw/warden-hook-server @stlw/warden
startHookServer reads your PolicyConfig, defaults to port 7429, and returns the server handle:
import { startHookServer } from "@stlw/warden-hook-server";
import type { PolicyConfig } from "@stlw/warden";
const config: PolicyConfig = {
version: "2",
meta: { environment: "development", sessionApprovalRequired: false },
policies: [
{
id: "allow-reads",
description: "Allow read tools during development",
match: { tools: ["read_file", "list_directory"], environment: ["development"] },
action: "ALLOW",
},
],
};
startHookServer({ config, dbPath: ".warden/ledger.db", port: 7429 });
Set WARDEN_AUTH_TOKEN (or pass authToken) to require X-Warden-Auth on hook requests. /health remains available for readiness checks:
curl http://localhost:7429/health
For Claude Code, point its HTTP hooks at http://localhost:7429/hooks/... and include the shared-secret header. The CLI configures the same server with warden start; use that for the quickest setup.
See the public manual for the complete Claude Code settings example and OpenCode integration.
FAQs
HTTP hook server implementing Warden's local decision contract
The npm package @stlw/warden-hook-server receives a total of 217 weekly downloads. As such, @stlw/warden-hook-server popularity was classified as not popular.
We found that @stlw/warden-hook-server demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.

Security News
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.

Security News
Anthropic’s free OSS Scanner uses Mythos and other Claude models to find open source vulnerabilities and send maintainers reports with proposed fixes.

Security News
On Front Lines’ Early Adopters: CISO podcast, Andrew Becherer shares lessons from Datadog, weighs the long-term costs of AI-built tools, and explains how founders can actually gain a CISO’s trust.