Build a Delegated Data-Access Consent Revocation and Agent Audit Monitor
Track data access requests from delegated third-party consumer agents against dynamic user consent registries. Enforce instant revocation signals, verify purpose limitations, and log non-compliant data access attempts for supervisory review.
What you are building
The core problem, expected build, and operating context for this challenge.
Track data access requests from delegated third-party consumer agents against dynamic user consent registries. Enforce instant revocation signals, verify purpose limitations, and log non-compliant data access attempts for supervisory review.
Data protection compliance officer
Capture data query callbacks containing Beckn transaction context identifiers and requested user profile fields.
Cross-reference query timestamps against user consent registry status records including active revocations.
Flag unauthorized data harvesting attempts where the requested scope exceeds the approved transaction purpose.
Generate structured compliance alert records and automated revocation enforcement notifications.
Consent audit console displaying active consents, revocation timestamps, data request streams, and policy breaches.
Create synthetic consent registry entries and corresponding agent API access log streams locally. Starter examples below are synthetic. They are not downloaded records.
Beckn protocol specifications Utilizes Beckn protocol packet context fields (context.action, context.bap_id, context.timestamp) to audit consent scopes.
anthropic-claude, pydantic, pytest. Claude provides rigorous contextual reasoning over legal data sharing boundaries and structured compliance outputs. Hosted Claude API for evaluating complex privacy policies and structured audit report creation.
Submit runnable source, pinned dependencies, setup commands, a working interface, example outputs, and a recorded end-to-end demo. Include tests and an action log.
Instantly flags and denies agent data queries submitted after a consent revocation timestamp.
Detects out-of-scope attribute queries (e.g., requesting full contact book for grocery delivery).
Emits compliant Beckn NACK response frames citing specific data governance violation codes.
```json [ { "input": { "consent_status": { "consent_id": "c_901", "user_id": "u_33", "status": "REVOKED", "revocation_timestamp": "2025-05-10T14:30:00Z", "permitted_purposes": [ "delivery_coordination" ] }, "access_attempt": { "bap_id": "external-buyer-app.mock", "timestamp": "2025-05-10T15:00:00Z", "requested_fields": [ "phone_number", "delivery_address" ], "purpose": "delivery_coordination" } }, "expected_output": { "decision": "DENIED", "violation_code": "CONSENT_REVOKED", "audit_message": "Access denied because consent c_901 was revoked at 2025-05-10T14:30:00Z.", "beckn_ack": "NACK" } }, { "input": { "consent_status": { "consent_id": "c_902", "user_id": "u_44", "status": "ACTIVE", "revocation_timestamp": null, "permitted_purposes": [ "delivery_coordination" ] }, "access_attempt": { "bap_id": "external-buyer-app.mock", "timestamp": "2025-05-11T10:00:00Z", "requested_fields": [ "financial_bank_details", "pan_card" ], "purpose": "credit_profiling" } }, "expected_output": { "decision": "DENIED", "violation_code": "PURPOSE_MISMATCH", "audit_message": "Purpose 'credit_profiling' and requested financial fields exceed authorized scope 'delivery_coordination'.", "beckn_ack": "NACK" } } ] ```
Operates strictly on synthetic consent metadata; no real citizen private information or biometric data is handled. Use mock external writes. Require human review before any real deployment.
Participation guide
Operates strictly on synthetic consent metadata; no real citizen private information or biometric data is handled. Use mock external writes and human review.
How work is evaluated
Instantly flags and denies agent data queries submitted after a consent revocation timestamp. Detects out-of-scope attribute queries (e.g., requesting full contact book for grocery delivery). Emits compliant Beckn NACK response frames citing specific data governance violation codes.
Runnable source, pinned dependencies, setup commands, working interface, example outputs, recorded demo, tests, and action logs.
Challenge datasets
Public datasets, plus the private datasets you have access to.
How submissions are scored
These dimensions define what the evaluator checks and which criteria separate a passable run from a strong one.
Complete workflow
Capture data query callbacks containing Beckn transaction context identifiers and requested user profile fields. Cross-reference query timestamps against user consent registry status records including active revocations. Flag unauthorized data harvesting attempts where the requested scope exceeds the approved transaction purpose. Generate structured compliance alert records and automated revocation enforcement notifications.
Missing or incorrect.
Partly complete, with documented gaps.
Complete, with reproducible evidence.
Correctness and evidence
Instantly flags and denies agent data queries submitted after a consent revocation timestamp. Detects out-of-scope attribute queries (e.g., requesting full contact book for grocery delivery). Emits compliant Beckn NACK response frames citing specific data governance violation codes.
Missing or incorrect.
Partly complete, with documented gaps.
Complete, with reproducible evidence.
Review interface
Consent audit console displaying active consents, revocation timestamps, data request streams, and policy breaches.
Missing or incorrect.
Partly complete, with documented gaps.
Complete, with reproducible evidence.
Safe execution
Operates strictly on synthetic consent metadata; no real citizen private information or biometric data is handled.
This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.
What you should walk away with
Capture data query callbacks containing Beckn transaction context identifiers and requested user profile fields.
Cross-reference query timestamps against user consent registry status records including active revocations.
Flag unauthorized data harvesting attempts where the requested scope exceeds the approved transaction purpose.
Generate structured compliance alert records and automated revocation enforcement notifications.
Reference links and supporting material
Create synthetic consent registry entries and corresponding agent API access log streams locally. Supplied starter examples are synthetic, not source extracts.
Challenge setup
Configuration summary for this challenge.
Challenge input
Input details are not configured.
Anthropic Claude
LLM for code generation & more
Evaluated output
No output checks are configured.
- Capture data query callbacks containing Beckn transaction context identifiers and requested user profile fi...
- Instantly flags and denies agent data queries submitted after a consent revocation timestamp. Detects out-o...
- Consent audit console displaying active consents, revocation timestamps, data request streams, and policy b...
- 2 public reference cases
- 1 configured tool
Summary shows the first task, up to three tools, and up to three evidence items. Open the technical recipe to view all configured items.
View technical recipe
Configured tools
- Anthropic Claude · Optional
Evaluation contract
- Complete workflow · Weight 40
- Correctness and evidence · Weight 30
- Review interface · Weight 20
- Safe execution · Weight 10
Reference cases
- 2 public reference cases
Workflow tasks
No workflow tasks are configured.
Recipe freeze marker
No recipe freeze time is recorded.