Index of every page on this site: llms.txt
All skills
eagerworks avatar

/audit-hipaa

@4e2af20
by eagerworkseagerworks/skills16 stars
Run it yourself

Audits a codebase and its infrastructure config for HIPAA Security Rule compliance — locates PHI in data models, logs, error trackers, analytics, and outbound LLM/API calls, then reports findings graded against §164.312's technical safeguards with file:line evidence. Use when the user asks to audit an app for HIPAA, wants to know if they're HIPAA compliant, is building or onboarding a healthtech product, mentions PHI, ePHI, covered entity, business associate, Business Associate Agreement (BAA), the Security Rule, or the Privacy Rule, asks whether patient data is being handled safely, got a question about HIPAA on a security questionnaire, or says things like "we're starting to handle patient data" or "is PHI leaking into our logs?" — even if they don't name HIPAA directly.

Use this Skill: https://skilld.dev/gh/eagerworks/skills/audit-hipaa

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

README.md

≈989 tokens on demand. Your agent reads this file only when SKILL.md points to it.

hipaa

A portable agent skill that audits a codebase and its infrastructure config against the HIPAA Security Rule — locating PHI in data models, logs, error trackers, analytics, and outbound LLM/API calls, then grading findings with file:line evidence. Works with Claude Code, Cursor, GitHub Copilot, Codex, Amp, and any agentic coding tool that can read markdown files.

What it covers

  • Scoping the engagement first: covered entity vs. business associate vs. out of scope entirely, and locating every place PHI enters, rests, or leaves
  • The 18 Safe Harbor identifiers, PHI vs. PII vs. legally de-identified data, and the Safe Harbor vs. Expert Determination distinction
  • §164.312 technical safeguards — access control, audit controls, integrity, authentication, transmission security — mapped to concrete Rails and Node/TypeScript implementations
  • The highest-yield audit surface: PHI in application logs, exception trackers, analytics/telemetry SDKs, LLM prompts and embeddings, URLs, notifications, and seed/fixture data
  • Audit-control depth: read access (not just writes), the 6-year retention rule, tamper resistance, and the trap of an audit log that duplicates the PHI it's watching over
  • Infrastructure: BAA-eligible service lists for AWS/GCP/Azure, encryption verification commands, network isolation, and common third-party vendor BAA gaps
  • A severity-graded audit report (🔴 Blocker / 🟡 Risk / ⚪ Needs a human / 🟢 Pass), written to a dated file in the audited repo
  • A dedicated reference routing administrative and legal obligations (BAAs, training, risk analysis, breach notification) to a human, with an explicit not-legal-advice disclaimer

Scope and limits

This is a static, read-only audit — it reads source and config, never inspects live traffic, and never runs a mutating cloud or infrastructure command. It is not legal advice, not a substitute for a formal risk analysis or counsel, and there is no such thing as "HIPAA certified" — HIPAA is a set of legal obligations, not a certification to earn. Administrative and physical safeguards (BAAs, training, breach notification) are outside what code can verify and are always routed to a human rather than guessed at — see references/administrative-and-legal.md.

BAA-eligible service lists and other cited facts change; the reference files date volatile information and flag it for re-verification rather than treating it as permanent.

Layout

SKILL.md                            # hub: scoping gate, severity rubric, routing table, gotchas (agent entrypoint)
references/
  phi-identification.md             # the 18 Safe Harbor identifiers, de-identification paths, scope boundary
  technical-safeguards.md           # §164.312 walked through with Rails + Node/TS implementations
  phi-in-code.md                    # logs, error trackers, analytics, LLM calls, seeds — the highest-yield surface
  audit-controls.md                 # §164.312(b) in depth: reads, retention, tamper resistance
  infrastructure.md                 # BAA-eligible services per cloud, encryption/network verification
  audit-workflow.md                 # the 6-phase audit procedure + exact commands + report-writing step
  administrative-and-legal.md       # BAAs, training, risk analysis, breach notification — routed to a human
assets/
  audit-report.md                   # the graded report template — the audit's output shape
  gap-matrix.csv                    # spreadsheet-importable safeguard gap tracker
  phi-inventory.md                  # fillable PHI data-flow inventory

The agent loads SKILL.md up front and opens the matching references/ file on demand, so the entrypoint stays lean while the full knowledge base is always available.

Install

See the collection README. In short:

npx skills add eagerworks/skills --skill hipaa

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts2mo3 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    The skill is a comprehensive HIPAA auditing framework designed to analyze codebases and infrastructure configurations locally. It uses read-only commands for inspection and generates reports within the audited repository. No security risks or malicious behaviors were identified.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: LOW · No issues

Signed by skilld at 4e2af20. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last month.

Steadyupdated 2 months ago
metadata
{
  "author": "eagerworks",
  "version": "1.0.0"
}

README badge

README badge for eagerworks/skills/audit-hipaa