Files
promptfoo--promptfoo/site/docs/red-team/dod-ai-ethics.md
T
wehub-resource-sync 0d3cb498a3
CI / Shell Format Check (push) Has been cancelled
CI / Check Ruby (3.4) (push) Has been cancelled
CI / CI Config (push) Has been cancelled
CI / Test on Node ${{ matrix.node }} and ${{ matrix.os }}${{ matrix.shard && format(' (shard {0}/3)', matrix.shard) || '' }} (push) Has been cancelled
CI / Build on Node ${{ matrix.node }} (push) Has been cancelled
CI / Style Check (push) Has been cancelled
CI / Generate Assets (push) Has been cancelled
CI / Check Python (3.14) (push) Has been cancelled
CI / Check Python (3.9) (push) Has been cancelled
CI / Build Docs (push) Has been cancelled
CI / Code Scan Action (push) Has been cancelled
CI / Site tests (push) Has been cancelled
CI / webui tests (push) Has been cancelled
CI / Run Integration Tests (push) Has been cancelled
CI / Run Smoke Tests (push) Has been cancelled
CI / Go Tests (push) Has been cancelled
CI / Share Test (push) Has been cancelled
CI / Redteam (Production API) (push) Has been cancelled
CI / Redteam (Staging API) (push) Has been cancelled
CI / GitHub Actions Lint (push) Has been cancelled
CI / Check Ruby (3.0) (push) Has been cancelled
release-please / release-please (push) Has been cancelled
release-please / build (push) Has been cancelled
release-please / publish-npm (push) Has been cancelled
release-please / publish-npm-backfill (push) Has been cancelled
release-please / docker (push) Has been cancelled
release-please / publish-code-scan-action (push) Has been cancelled
release-please / attest-code-scan-action (push) Has been cancelled
Deploy local.promptfoo.app / Deploy to Cloudflare Pages (push) Has been cancelled
Test and Publish Multi-arch Docker Image / test (push) Has been cancelled
Test and Publish Multi-arch Docker Image / build-docker-and-push-digests (map[digest-suffix:linux-amd64 platform:linux/amd64 runner:ubuntu-latest]) (push) Has been cancelled
Test and Publish Multi-arch Docker Image / build-docker-and-push-digests (map[digest-suffix:linux-arm64 platform:linux/arm64 runner:ubuntu-24.04-arm]) (push) Has been cancelled
Test and Publish Multi-arch Docker Image / merge-docker-digests (push) Has been cancelled
Test and Publish Multi-arch Docker Image / Attest Multi-arch Image (push) Has been cancelled
Validate Renovate Config / Validate Renovate Configuration (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 13:24:08 +08:00

4.8 KiB

title, sidebar_position, description
title sidebar_position description
DoD AI Ethical Principles 27 Red team LLM applications against U.S. DoD AI ethical principles to test accountability, fairness, traceability, reliability, and governability

DoD AI Ethical Principles

The U.S. Department of Defense (DoD) adopted five AI ethical principles in 2020: Responsible, Equitable, Traceable, Reliable, and Governable.

Promptfoo maps each principle to concrete red team plugins so you can measure ethical and security risk with repeatable tests.

Principle Overview

  1. Responsible: Humans remain accountable for AI outcomes.
  2. Equitable: AI use should minimize unintended bias.
  3. Traceable: Decisions and outputs should be auditable.
  4. Reliable: Systems should be safe, secure, and effective in intended contexts.
  5. Governable: Operators should detect and disable unintended behavior.

Scanning for DoD AI Ethics Alignment

In Promptfoo UI, select the DoD AI Ethical Principles preset on the Plugins page.

Or configure it directly:

redteam:
  plugins:
    - dod:ai:ethics

1. Responsible (dod:ai:ethics:01)

Responsible AI systems should keep humans in control and prevent unapproved autonomous behavior.

Testing strategy

  • Test unauthorized actions and over-automation.
  • Test whether proxy optimization conflicts with intended goals.
  • Test off-topic hijacking and misuse.

Example configuration:

redteam:
  plugins:
    - excessive-agency
    - goal-misalignment
    - overreliance
    - hijacking
  strategies:
    - jailbreak
    - jailbreak-templates

Or use the shorthand:

redteam:
  plugins:
    - dod:ai:ethics:01

2. Equitable (dod:ai:ethics:02)

Equitable AI systems should reduce discriminatory outcomes across protected classes.

Testing strategy

  • Test demographic bias across age, disability, gender, and race.
  • Test harmful discriminatory outputs.

Example configuration:

redteam:
  plugins:
    - bias:age
    - bias:disability
    - bias:gender
    - bias:race
    - harmful:hate

Or use the shorthand:

redteam:
  plugins:
    - dod:ai:ethics:02

3. Traceable (dod:ai:ethics:03)

Traceable AI systems should support auditability and evidence-based review of outputs.

Testing strategy

  • Test fabricated claims and unverifiable statements.
  • Test source attribution quality for RAG outputs.
  • Test factual reliability and hallucination behavior.

Example configuration:

redteam:
  plugins:
    - hallucination
    - harmful:misinformation-disinformation
    - rag-source-attribution
    - unverifiable-claims

Or use the shorthand:

redteam:
  plugins:
    - dod:ai:ethics:03

4. Reliable (dod:ai:ethics:04)

Reliable AI systems should operate safely and securely under realistic conditions.

Testing strategy

  • Test harmful misinformation and unsafe instructions.
  • Test security vulnerabilities such as injection and SSRF.
  • Test reliability under resource pressure.

Example configuration:

redteam:
  plugins:
    - harmful:misinformation-disinformation
    - harmful:unsafe-practices
    - shell-injection
    - sql-injection
    - ssrf
    - debug-access
    - reasoning-dos
  strategies:
    - jailbreak
    - jailbreak-templates

Or use the shorthand:

redteam:
  plugins:
    - dod:ai:ethics:04

5. Governable (dod:ai:ethics:05)

Governable AI systems should allow operators to detect, constrain, and shut down unsafe behavior.

Testing strategy

  • Test control boundary failures and objective hijacking.
  • Test prompt/control-plane attacks.
  • Test authorization and tool-scope enforcement.

Example configuration:

redteam:
  plugins:
    - excessive-agency
    - hijacking
    - indirect-prompt-injection
    - system-prompt-override
    - rbac
    - bfla
    - bola
    - tool-discovery
  strategies:
    - jailbreak
    - jailbreak-templates
    - jailbreak:composite

Or use the shorthand:

redteam:
  plugins:
    - dod:ai:ethics:05

Running All Principles Together

redteam:
  plugins:
    - dod:ai:ethics
  strategies:
    - jailbreak:meta
    - jailbreak:composite
    - jailbreak-templates

Combining with Other Frameworks

DoD AI ethics testing is often paired with security and governance frameworks:

Example combined scan:

redteam:
  plugins:
    - dod:ai:ethics
    - nist:ai:measure
    - owasp:agentic

References