Skip to content

AAK-HEALTHCARE-AI-004: Healthcare context without explicit AI-disclosure to user

Severity
MEDIUM
Category
Legal Compliance (legal-compliance)
Scanner
agent_audit_kit/scanners/healthcare_ai.py
Auto-fixable
No.
SARIF name
HealthcareAiNoDisclosure

What it detects

Text mentions patient / clinical / mental-health / therapy / diagnosis but the tool never explicitly says the responder is an AI. Multiple 2026 state laws (TN, WA, UT) expect clear AI disclosure in clinical interactions.

How to fix

Add a visible 'You are talking to an AI; this is not medical advice and is not a substitute for licensed care' disclosure.

To confirm the finding is gone, report only this rule:

agent-audit-kit scan . --rules AAK-HEALTHCARE-AI-004

Limitations

Reads .md, .json, .yaml, .yml and .txt files. Healthcare context is one of nine words (patient, clinical, medical, mental health, therapy, diagnosis, symptom, treatment, medication) or its plural, except diagnoses, which is also a verb, and symptoms: on the 892-repo instruction-file slice its only match was engineering prose. A persona about a nurse, a prescription or a dosage is skipped, as is one that names only diagnoses or symptoms. The file must also read as a conversational surface, which is one word or phrase anywhere in it (assistant, companion, persona, system prompt, chatbot, conversational, you are a, I am a and a few more), with nothing tying it to the healthcare word, so engineering prose passes both: all 19 findings on that slice were developer instructions, a debugging diagnosis or a bug's symptom (16 of them) in a file that also mentions a coding assistant, a companion tool or a system prompt, not an AI talking to a patient. That is a known false-positive shape.

References

No external references are recorded for this rule.


All rules. This page is generated from the rule registry when the documentation is built; to change it, change the rule in agent_audit_kit/rules/builtin.py. To give the rule a hand-written write-up, add docs/rules/AAK-HEALTHCARE-AI-004.md: the page then shows that text, with the registry reference appended under it.