Skip to content
Back to skills

Consent Negotiation Compliance

ASecurity

Title: Consent Negotiation Compliance Keywords: consent-negotiation, epd-5-3, gdpr, ieee-7012, myterms, gpc, ccpa, cpra, bilateral-receipt, revocation-outbox, coarse-interests, fail-closed Agents: privacy-engineer, backend, api, security, code-review, test When to use: When implementing, modifying, or auditing agentic consent negotiation, ePD Art. 5(3) Disclosure Manifests, IEEE 7012-2025 MyTerms, W3C GPC / CCPA opt-out handling, Ed25519 bilateral receipts, or x402 pay-for-access consent isol...

  • 4 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 5, 2026
ai-agentsgocode-reviewapibackendsecurity

Works with

  • api
  • mcp

Security analysis

A100/100

Scanned December 5, 2026

npx -y skills add ronnikc/agent-os-protocol --skill consent-negotiation-compliance --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Consent Negotiation Compliance?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Consent Negotiation Compliance
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ronnikc-consent-negotiation-compliance/badge)](https://www.skillsdirectory.com/skills/ronnikc-consent-negotiation-compliance)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
Title: Consent Negotiation Compliance
Keywords: consent-negotiation, epd-5-3, gdpr, ieee-7012, myterms, gpc, ccpa, cpra, bilateral-receipt, revocation-outbox, coarse-interests, fail-closed
Agents: privacy-engineer, backend, api, security, code-review, test
When to use: When implementing, modifying, or auditing agentic consent negotiation, ePD Art. 5(3) Disclosure Manifests, IEEE 7012-2025 MyTerms, W3C GPC / CCPA opt-out handling, Ed25519 bilateral receipts, or x402 pay-for-access consent isolation in `@agent-os/consent-negotiation`.
Version: 1.0.0
Last updated: 2026-12-05

Enforce legal-tech compliance invariants for `@agent-os/consent-negotiation`: fail-closed pre-storage gating, strict ePD Art. 5(3) disclosure specificity, IEEE 7012-2025 MyTerms agreement semantics, hard W3C GPC / CCPA opt-out precedence, bounded coarse interest profiles, Ed25519 bilateral receipts, and instant revocation.

---

## Workflow

### Step 1 — Validate ePD Art. 5(3) Disclosure Manifest specificity
Inspect every `DisclosureManifest` passed to `evaluateConsentNegotiation`:
- Require explicit purpose IDs, data categories, retention periods, and storage endpoints.
- Reject vague recipient strings (`"partners"`, `"third parties"`, `"various"`, `"affiliates"`).
- Confirm undeclared third-party vendors trigger escalation (`requires_human_confirmation` or reject), never silent acceptance.

### Step 2 — Verify W3C GPC & CCPA/CPRA opt-out precedence
Confirm that `Sec-GPC: 1` (or `navigator.globalPrivacyControl === true`) and CCPA opt-out flags take hard precedence:
- Sale/sharing and cross-context behavioral targeting MUST be denied regardless of site defaults or agent preferences.
- Opt-out signals must never be overridden by bundled consent prompts.

### Step 3 — Verify IEEE 7012-2025 MyTerms & coarse interest bounds
- Validate MyTerms agreement identifiers and unilateral-withdrawal semantics (`PDC-AI`, `SD-BY`, etc.).
- Confirm user interest profiles stay bounded to the low-cardinality coarse taxonomy (at most 5 coarse tags; zero raw behavioral identifiers or fingerprinting fields).

### Step 4 — Verify bilateral receipts, revocation, and x402 isolation
- Sign and verify every accepted agreement with `createBilateralReceipt` and `verifyBilateralReceipt` (Ed25519 over canonical payload).
- Exercise `ConsentNegotiationSessionStore` and the idempotent revocation outbox to prove instant withdrawal invalidates active sessions.
- When paired with x402 PLT pay-for-access, prove payment settlement NEVER bundles or implies marketing/tracking consent (strict consent isolation).

### Step 5 — Run compliance verification suites
Run `npm run verify-consent` and `npm run verify-phase4-showcase` and record pass counts.

---

## Input Schema

```yaml
input:
  target_files:
    type: array
    required: true
    description: "Source or manifest paths implementing consent negotiation"
  jurisdiction_profile:
    type: string
    required: false
    enum: [eu_epd_gdpr, us_ccpa_gpc, dual]
    default: dual
  includes_x402_paywall:
    type: boolean
    required: false
    default: false
```

## Output Schema

```yaml
output:
  manifest_valid: { type: boolean }
  gpc_precedence_verified: { type: boolean }
  receipt_crypto_verified: { type: boolean }
  revocation_verified: { type: boolean }
  x402_consent_isolated: { type: boolean }
  verify_consent_passed: { type: boolean }
```

## Quality Gate

- Fail-closed default: zero non-essential storage or vendor calls before verified receipt.
- `Sec-GPC: 1` / CCPA opt-out cannot be overridden under any negotiation branch.
- Coarse interest taxonomy strictly bounded (max 5 items, no high-entropy identifiers).
- Ed25519 bilateral receipts verify cleanly and tamper checks fail closed.
- `npm run verify-consent` (22/22) and `npm run verify-phase4-showcase` (7/7) pass.

## Chain Metadata

```yaml
chain_metadata:
  skill_slug: "consent-negotiation-compliance"
  stage: "S4"
  suggested_next:
    - slug: "aesirx-cmp-setup"
      stage: "S4"
      reason: "Wire verified consent policies into target web repos via aesirx-cmp-mcp"
    - slug: "x402-concordium-commerce"
      stage: "S1"
      reason: "Verify pay-for-access payment flows stay strictly isolated from tracking consent"
```

## Error Handling

- Undeclared third-party vendor encountered → escalate for human review or fail closed; never auto-approve.
- Receipt signature mismatch or expired nonce → reject session grant and emit audit record.
- Revocation delivery failure → keep entry in idempotent revocation outbox with bounded retry and fail-closed local state.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.