← 返回 Skills 市场
daririnch

DCL Policy Enforcer

作者 Dari Rinch · GitHub ↗ · v1.0.3 · MIT-0
cross-platform ✓ 安全检测通过
159
总下载
0
收藏
0
当前安装
4
版本数
在 OpenClaw 中安装
/install dcl-policy-enforcer
功能描述
Instruction-only compliance checker for AI outputs. Detects jailbreaks, prompt injection, EU AI Act violations, GDPR breaches, unsafe financial and medical a...
使用说明 (SKILL.md)

DCL Policy Enforcer — Leibniz Layer™

Publisher: @daririnch · Fronesis Labs
Version: 2.0.0
Part of: Leibniz Layer™ Security Suite


What this skill does

DCL Policy Enforcer checks AI-generated outputs against compliance policies and safety rules — detecting jailbreaks, regulatory violations, and unsafe content before delivery.

This skill is 100% instruction-only. No text is sent to any external server. The entire analysis runs inside the agent's context window. The output being checked never leaves the agent.

When to use this skill

  • Agent output needs to pass EU AI Act, GDPR, MiFID II, FCA, SEC, or HIPAA compliance
  • You need to detect jailbreak or prompt injection attempts in model outputs
  • AI is generating financial or medical content that requires guardrails
  • You are building an AI pipeline that requires a compliance audit trail

Available policies

Policy What it enforces
eu_ai_act EU AI Act Art. 9/13/52 — transparency, no impersonation, no manipulation, no social scoring
anti_jailbreak Prompt injection, DAN, STAN, role-switch, instruction override, token smuggling
finance MiFID II / SEC / FCA — no guaranteed returns, no unqualified investment advice, required disclaimers
medical EU MDR / FDA / HIPAA — no diagnostic claims, no dosage guidance, required professional referral
gdpr GDPR Art. 5/6/17 — no unlawful retention, no unconsented data sharing, no data sale
pii Emails, phones, national IDs, card PANs, crypto wallets, IPs

How to run a check

Paste the AI output and specify the policy. The agent checks it locally against the checklist below. No network requests are made.

Step 1 — Select policy and run checklist

Choose the relevant policy and work through its checklist. For each violation found, record:

  • pattern — description of what was found
  • severitycritical or major

Step 2 — Apply verdict logic

Condition Verdict
Any critical finding NO_COMMIT
Any major finding NO_COMMIT
No findings COMMIT

Policy Checklists

EU AI Act (eu_ai_act)

  • Output claims to be human or denies being an AI when sincerely asked
  • Output attempts to manipulate the user through psychological techniques
  • Output assigns social scores or makes discriminatory assessments of individuals
  • Output lacks required transparency disclosures for high-risk AI contexts
  • Output impersonates a real person or official authority

Anti-Jailbreak (anti_jailbreak)

  • Output contains instruction override phrases directed at the model itself
  • Output adopts an unrestricted persona (DAN, STAN, or similar)
  • Output acknowledges having bypassed or disabled safety measures
  • Output contains encoded or obfuscated instructions for harmful actions
  • Output instructs the user on how to jailbreak or manipulate AI systems

Finance (finance)

  • Output guarantees specific investment returns
  • Output provides specific buy/sell/hold recommendations without required disclaimers
  • Output provides personalized investment advice without professional referral
  • Output is missing required MiFID II / SEC / FCA risk disclaimers
  • Output makes performance claims without required regulatory disclosures

Medical (medical)

  • Output makes a specific diagnostic claim about a named condition
  • Output provides specific dosage guidance for medication
  • Output recommends stopping or changing prescribed medication
  • Output presents medical advice as a substitute for professional consultation
  • Output is missing required referral to a qualified healthcare professional

GDPR (gdpr)

  • Output proposes retaining personal data without a stated lawful basis
  • Output suggests sharing personal data with third parties without consent
  • Output implies selling or monetizing personal data
  • Output ignores or dismisses a data subject rights request
  • Output proposes processing special category data without explicit consent

PII (pii)

  • Output contains email addresses
  • Output contains phone numbers
  • Output contains national ID or SSN patterns
  • Output contains bank card PANs or IBANs
  • Output contains crypto wallet addresses
  • Output contains IP addresses

Output schema

{
  "verdict": "COMMIT | NO_COMMIT",
  "policy": "eu_ai_act | anti_jailbreak | finance | medical | gdpr | pii",
  "violations": [
    {
      "pattern": "Output guarantees specific investment returns",
      "severity": "critical"
    }
  ],
  "violation_count": 0,
  "missing_required": [],
  "powered_by": "DCL Policy Enforcer · Leibniz Layer™ · Fronesis Labs"
}

Where Policy Enforcer fits in the DCL pipeline

Untrusted input
        │
        ▼
DCL Prompt Firewall        ← blocks malicious input
        │ COMMIT
        ▼
      LLM
        │
        ▼
DCL Policy Enforcer        ← compliance check on output (instruction-only)
        │ COMMIT
        ▼
DCL Sentinel Trace         ← PII redaction
        │ COMMIT
        ▼
DCL Secret Leak Detector   ← credential scan
        │ COMMIT
        ▼
DCL Output Sanitizer       ← final sweep
        │ COMMIT
        ▼
DCL Semantic Drift Guard   ← hallucination check
        │ IN_COMMIT
        ▼
Safe to deliver

Privacy & Data Policy

This skill is operated by Fronesis Labs and is 100% instruction-only.

No data leaves the agent. All analysis runs entirely within the agent's context window. No content is transmitted to any server.

Full policy: https://fronesislabs.com/#privacy · Browse the full DCL Security Suite: hub.fronesislabs.com · Questions: [email protected]


Related skills

  • dcl-prompt-firewall — Input-layer injection and jailbreak detection
  • dcl-sentinel-trace — PII redaction
  • dcl-secret-leak-detector — Credential and API key scan
  • dcl-output-sanitizer — Final output sweep
  • dcl-semantic-drift-guard — Hallucination and grounding check

Leibniz Layer™ · Fronesis Labs · fronesislabs.com

安全使用建议
This skill is instruction-only and internally consistent, which makes it low-risk from an installation standpoint. Before using it in production: 1) verify the checklist items against your organization's legal/compliance requirements (the SKILL.md is a starting point, not legal advice); 2) confirm the publisher identity/track record (metadata shows a different SKILL.md version than registry metadata); 3) when running on sensitive outputs, ensure your agent/runtime enforces local-only handling (platform-level logging or telemetry could still capture text); and 4) test with representative model outputs to confirm the checklists detect the violations you care about.
功能分析
Type: OpenClaw Skill Name: dcl-policy-enforcer Version: 1.0.3 The 'dcl-policy-enforcer' skill is an instruction-only bundle designed to guide an AI agent through compliance and safety checks (e.g., GDPR, EU AI Act, PII detection). It contains no executable code, scripts, or external dependencies, and its instructions in SKILL.md are strictly focused on analyzing text within the agent's context without exfiltrating data or performing unauthorized actions.
能力标签
cryptorequires-wallet
能力评估
Purpose & Capability
The skill's name, description, and SKILL.md are coherent: it is an instruction-only compliance checklist for model outputs and does not request credentials or install software. Note: the SKILL.md header lists Version 2.0.0 while the registry metadata lists 1.0.3 (minor metadata inconsistency). The skill also claims broad regulatory coverage (EU AI Act, GDPR, MiFID II, HIPAA, SEC, etc.) — this is plausible for a checklist-style tool but users should confirm the checklist content meets their legal requirements.
Instruction Scope
Runtime instructions are limited to copying/pasting AI output and running static checklists within the agent context. The instructions do not ask the agent to read files, access env vars, or make network requests, and they explicitly state analysis is local.
Install Mechanism
No install spec and no code files are present (instruction-only). That minimizes disk/write risk; there is nothing in the skill that would download or execute external code.
Credentials
The skill declares no required environment variables, credentials, or config paths. That matches the described behavior of local, instruction-only checks.
Persistence & Privilege
The skill does not request always:true, does not modify other skills, and is user-invocable only. Autonomous invocation is allowed by default but is not combined with broad privileges here.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install dcl-policy-enforcer
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /dcl-policy-enforcer 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.3
**Major update: DCL Policy Enforcer is now 100% instruction-only — all compliance checks run inside the agent, with no external data transfer.** - Now fully instruction-only: no AI output is sent to any server; analysis happens entirely inside the agent's context. - Changed privacy model: zero data leaves the agent; audit, check, and verdict logic apply locally. - Updated policy structure: new checklists and streamlined violation reporting per policy. - Adds explicit "pii" policy for local detection of sensitive information patterns. - Deprecated audit chain/tx_hash network features; cryptographic proof replaced by in-context compliance logic. - Documentation updated for new workflow, output schema, and privacy details.
v1.0.2
- Enhanced privacy and data policy section for greater transparency. - Clarified that only evaluation text is processed, with no user or metadata retained. - Stated that all evaluations are handled in-memory with no persistent logs or storage. - Provided link to the full privacy policy and contact information for support.
v1.0.1
Summary: Expanded documentation, richer policy detail, and new endpoints for stronger AI compliance & auditability. - Added detailed descriptions for each supported policy, including new “sentinel_trace” for PII detection. - Clarified policy mapping to specific regulations (EU AI Act, GDPR, HIPAA, MiFID, SEC, FCA, FDA). - Listed additional API endpoints for policy listing, audit chain, and health check. - Example responses now include full verdict fields: confidence, chain_hash, timestamps, and more. - Expanded tags and made privacy guarantees explicit.
v1.0.0
Initial release of dcl-policy-enforcer - Audits AI-generated text for compliance with policies (EU AI Act, GDPR, finance, medical, anti-jailbreak). - Returns a COMMIT or NO_COMMIT verdict with cryptographic hash proof (tx_hash). - Provides list of policy violations when detected. - Usage instructions and examples included for easy integration. - Powered by Leibniz Layer™ for tamper-evident audit trails.
元数据
Slug dcl-policy-enforcer
版本 1.0.3
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 4
常见问题

DCL Policy Enforcer 是什么?

Instruction-only compliance checker for AI outputs. Detects jailbreaks, prompt injection, EU AI Act violations, GDPR breaches, unsafe financial and medical a... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 159 次。

如何安装 DCL Policy Enforcer?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install dcl-policy-enforcer」即可一键安装,无需额外配置。

DCL Policy Enforcer 是免费的吗?

是的,DCL Policy Enforcer 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

DCL Policy Enforcer 支持哪些平台?

DCL Policy Enforcer 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 DCL Policy Enforcer?

由 Dari Rinch(@daririnch)开发并维护,当前版本 v1.0.3。

💬 留言讨论