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

@obep/enforcement

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@obep/enforcement

OBEP client-side permission engine: default-deny per-action checks, sensitive-surface blocklist, capture policy, playbook linter. Apache-2.0.

latest
Source
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

@obep/enforcement

The client-side permission engine of OBEP — the default-deny checks that decide whether a single browser action is allowed to run under a playbook's fence. Apache-2.0.

npm install @obep/enforcement

Given a signed playbook's permissions, it enforces, per action: the domain allowlist, the allowed action set, the allowed credential-key references, the capture policy (screenshots / DOM), and the sensitive-surface blocklist. It also ships lintPlaybook, the authoring-time validator (schema + danger flags) used by @obep/cli.

import { lintPlaybook } from "@obep/enforcement";

This is the engine the extension runs locally before every action, so a compromised relay can never widen what executes. Most developers don't import it directly — reach for it when building a conformant runner or your own tooling. See the repo.

Keywords

obep

FAQs

Package last updated on 18 Jun 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