PublishedProject_id: shadowguard
shadowguard
Audit-first authorization wrapper with off, log, and enforce modes.
TypeScriptNode.js
01.
Overview
A control layer for rolling out authorization safely before hard enforcement.
shadowguard uses staged execution modes so policy changes can be audited, tuned, and enforced gradually.
02.
Problem Solved
Authorization and policy systems are risky to roll out when teams cannot observe impact before turning them into hard gates.
03.
Install
install.sh
$ npm install @krazybean/shadowguard04.
Usage Example
Quick start
import { shadowguard } from "@krazybean/shadowguard";
const policy = shadowguard({ mode: "log" });05.
Key Design Decisions
Key Design Decisions
Audit First
Policy behavior can be observed before teams move into hard enforcement.
Rollout Safety
Log Mode
Decision output stays visible while applications continue normal execution.
Visibility
Enforce Mode
The same policy surface can transition into active access control.
Authorization
06.