New:Microsoft Teams Notifications Are Now Available in Socket.Learn more →
Get Started

@stlw/warden

Package Overview
Dependencies
Maintainers
2
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stlw/warden

Deterministic policy engine for autonomous agent tool enforcement

Source
npmnpm
Version
0.2.1
Version published
Weekly downloads
432
-7.1%
Maintainers
2
Weekly downloads
 
Created
Source

Warden

@stlw/warden is a deterministic, fail-closed authorization runtime for AI agent actions.

npm install @stlw/warden
import { createWarden, definePolicy } from "@stlw/warden";

const warden = createWarden();
const decision = await warden.evaluate(
  definePolicy({ id: "allow-read", version: 1, rules: [{ id: "allow", effect: "ALLOW" }] }),
  { subject: { id: "agent-1" }, action: "read", resource: { id: "doc-1" } },
);

Unmatched rules and evaluation errors deny by default. See the Warden repository for full documentation.

Keywords

agent-security

FAQs

Package last updated on 02 Sep 2026

Related posts