🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@openparachute/scope-guard

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@openparachute/scope-guard - npm Package Compare versions

Comparing version
0.1.0-rc.1
to
0.1.0
+4
-3
dist/validate.d.ts
import { type JwksGetter, type JwksOptions } from "./jwks";
/**
* Hub-issued JWT validation, factored out of vault/scribe/paraclaw's
* Hub-issued JWT validation, factored out of vault/scribe/parachute-agent's
* near-identical implementations.

@@ -52,4 +52,5 @@ *

* function form lets consumers layer their own env-var precedence (e.g.
* paraclaw's `PARACLAW_HUB_ORIGIN` over `PARACHUTE_HUB_ORIGIN`). Trailing
* slashes are stripped so the canonical form matches what the hub mints.
* parachute-agent's `PARACHUTE_AGENT_HUB_ORIGIN` over
* `PARACHUTE_HUB_ORIGIN`). Trailing slashes are stripped so the canonical
* form matches what the hub mints.
*/

@@ -56,0 +57,0 @@ hubOrigin: string | (() => string);

{
"name": "@openparachute/scope-guard",
"version": "0.1.0-rc.1",
"description": "Hub-issued JWT validation for Parachute resource servers (vault, scribe, paraclaw, third-party modules).",
"version": "0.1.0",
"description": "Hub-issued JWT validation for Parachute resource servers (vault, scribe, parachute-agent, third-party modules).",
"license": "AGPL-3.0",

@@ -6,0 +6,0 @@ "type": "module",

# @openparachute/scope-guard
Hub-issued JWT validation for Parachute resource servers (vault, scribe, paraclaw, third-party modules).
Hub-issued JWT validation for Parachute resource servers (vault, scribe, parachute-agent, third-party modules).

@@ -46,3 +46,3 @@ The Parachute hub mints OAuth access tokens as RS256 JWTs and publishes its public keys at `/.well-known/jwks.json`. This library is the consumer-side mirror: every resource server uses the same verifier so the trust kernel doesn't drift between modules.

See [`parachute-hub/docs/design/2026-04-29-scope-guard-library.md`](https://github.com/ParachuteComputer/parachute-hub/blob/main/docs/design/2026-04-29-scope-guard-library.md) for full rationale, alternatives considered, and the migration sequence (vault → scribe → paraclaw).
See [`parachute-hub/docs/design/2026-04-29-scope-guard-library.md`](https://github.com/ParachuteComputer/parachute-hub/blob/main/docs/design/2026-04-29-scope-guard-library.md) for full rationale, alternatives considered, and the migration sequence (vault → scribe → parachute-agent).

@@ -49,0 +49,0 @@ The lib lives as a sub-package of `parachute-hub` because the hub owns the JWT-issuance side and the scope vocabulary. It's published independently to npm as `@openparachute/scope-guard`.