003-ai-ethics-compliance

003-ai-ethics-compliance is a cursor rule for Cursor from phuoctrung-ppt/ai-sdlc-workflow. It costs 379 tokens per session, scanned A, original, MIT.

An example set of rules for handling AI ethics and compliance, including the EU AI Act, privacy law, human review, explanations, consent, and bias checks.

In plain words
What is it for?
Use it as a template for defining AI-related compliance rules, or replace it with requirements that match the actual project.
Why use it?
It shows how compliance requirements can be written for agents, but the file explicitly says its hiring and recruiting examples do not apply to the current project.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/. Also seen: mentions AGENTS.md.

Good fit Use it as a template for defining AI-related compliance rules, or replace it with requirements that match the actual project.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/phuoctrung-ppt/ai-sdlc-workflow/003-ai-ethics-compliance
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/phuoctrung-ppt/ai-sdlc-workflow

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for 003-ai-ethics-compliance

README.md
[![agentmods](https://agentmods.dev/badge/rules/phuoctrung-ppt/ai-sdlc-workflow/003-ai-ethics-compliance/github.svg)](https://agentmods.dev/rules/phuoctrung-ppt/ai-sdlc-workflow/003-ai-ethics-compliance)
Your own site
<a href="https://agentmods.dev/rules/phuoctrung-ppt/ai-sdlc-workflow/003-ai-ethics-compliance"><img src="https://agentmods.dev/badge/rules/phuoctrung-ppt/ai-sdlc-workflow/003-ai-ethics-compliance/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for 003-ai-ethics-compliance

Your own site · 80×15
<a href="https://agentmods.dev/rules/phuoctrung-ppt/ai-sdlc-workflow/003-ai-ethics-compliance"><img src="https://agentmods.dev/badge/rules/phuoctrung-ppt/ai-sdlc-workflow/003-ai-ethics-compliance.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 379 This file is loaded in full into every session.
When invoked 379 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00379 $0.00379
Opus 5 $0.00189 $0.00189
Sonnet 5 $0.00076 $0.00076
Haiku 4.5 $0.00038 $0.00038

Measured 9d ago against content hash b6f2a35f6a36, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

003-ai-ethics-compliance scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/rules/003-ai-ethics-compliance.mdc · 37 lines

What it actually says

AI Ethics & Compliance

⚠️ EXAMPLE DOMAIN (AI hiring/recruiting) — NOT this project's rules. This file is a portable example of how to encode AI-ethics compliance. Its specifics (hire/reject, CV/biometric consent, bias/HR) do not describe the current project. Agents: ignore the domain specifics below until this file is replaced with real compliance rules for <PROJECT> (see AGENTS.md §6). Delete or rewrite on port.

Details: AGENTS.md §6.

Human-in-the-Loop (mandatory)

  • AI cannot auto-reject or auto-hire; HR approval required for Rejected/Hired
  • Reject/hire endpoints need ?confirm=true; without it → 202 + pending_human_review
  • Override reason required when HR disagrees with AI; 48h SLA or escalation

Explainable AI

Every AI decision returns explanation: confidence, factors[], counterfactuals[], model card link.

  • Consent screen before CV upload; separate explicit consent for video/voice
  • Check consents.granted=true for biometric before processing; else 403 ConsentRequired
  • Auto-delete raw video after transcription; never store facial/voice embeddings

Bias & Audit

  • Run BiasDetectionService.check() before match scores; flag bias_alert if disparate impact
  • Log every AI decision to audit_logs with ai_model_version, ai_confidence; 7yr retention for hiring
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 37 lines · 379 tokens per session scan A b6f2a35f6a36

Subscribe to this mod's changes

003-ai-ethics-compliance is a cursor rule published in the GitHub repository phuoctrung-ppt/ai-sdlc-workflow (2 stars, last pushed 2d ago), licensed MIT. It adds 379 tokens to every session, about $0.0019 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.