返回顶部
🇺🇸 English
🇨🇳 简体中文
🇨🇳 繁體中文
🇺🇸 English
🇯🇵 日本語
🇰🇷 한국어
🇫🇷 Français
🇩🇪 Deutsch
🇪🇸 Español
🇷🇺 Русский
c

consensus-permission-escalation-guard

Pre-execution governance for IAM and permission escalation changes. Use when an agent or workflow proposes granting, expanding, or assuming higher privileges and you need deterministic ALLOW/BLOCK/REQUIRE_REWRITE decisions with strict schema validation, idempotency, and board-native audit artifacts.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 0.1.13
安全检测
已通过
480
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

consensus-permission-escalation-guard

# consensus-permission-escalation-guard `consensus-permission-escalation-guard` is the final safety gate before privilege elevation is applied. ## What this skill does - validates escalation requests against a strict input schema (reject unknown fields) - evaluates hard-block and rewrite policy flags for IAM risk patterns - runs persona-weighted voting (or aggregates external votes) - returns one of: `ALLOW | BLOCK | REQUIRE_REWRITE` - writes decision artifacts for replay/audit ## Decision policy shape Hard-block examples: - wildcard permissions (`*`, `: *`, broad owner/admin jumps) - missing ticket reference when required - break-glass escalation without incident reference - separation-of-duties conflicts (e.g., create + approve authority) Rewrite examples: - weak or non-actionable justification - temporary duration exceeds policy limit - production escalation requires explicit human confirmation gate ## Runtime and safety model - runtime binaries: `node`, `tsx` - network behavior: none in deterministic guard logic - environment config read by this package: `CONSENSUS_STATE_FILE`, `CONSENSUS_STATE_ROOT` - filesystem writes: consensus board/state artifacts under configured state path ## Invoke contract - `invoke(input, opts?) -> Promise<OutputJson | ErrorJson>` Modes: - `mode="persona"` (default): uses local deterministic persona defaults for internal voting - `mode="external_agent"`: consume `external_votes[]`, then aggregate and enforce policy deterministically ## Install ```bash npm i consensus-permission-escalation-guard ``` ## Quick start ```bash node --import tsx run.js --input ./examples/input.json ``` ## Tests ```bash npm test ``` Test coverage includes schema rejection, hard-block paths, rewrite paths, allow paths, idempotent retries, and external-agent aggregation behavior. Note: this skill depends on `consensus-guard-core` for aggregation/state helpers; review that package alongside this one for full runtime auditability. See also: `SECURITY-ASSURANCE.md` for threat model, runtime boundaries, and deployment hardening guidance.

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 consensus-permission-escalation-guard-1776288515 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 consensus-permission-escalation-guard-1776288515 技能

通过命令行安装

skillhub install consensus-permission-escalation-guard-1776288515

下载

⬇ 下载 consensus-permission-escalation-guard v0.1.13(免费)

文件大小: 23.96 KB | 发布时间: 2026-4-16 16:44

v0.1.13 最新 2026-4-16 16:44
Bumped consensus-guard-core dependency to ^1.1.15 and rolled forward release.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部