Secrets
A service-role key in the browser
It bypasses every row-level policy. If it ships in your bundle, every table is readable.
NEXT_PUBLIC_SUPABASE_SERVICE_ROLE_KEY=eyJhbGciOi…For health-tech companies selling to hospitals, payers, or straight to patients. We find and fix the HIPAA gaps in your code and infrastructure, then keep building your roadmap without opening new ones.
Fixed fee. No retainer required. You'll leave the call with the first three things to fix.
Security Risk Analysis · Acme Health · v1.2
| ID | Finding | Safeguard | Severity | Status |
|---|---|---|---|---|
| R-01 | Service-role key shipped in client bundle web/.env → NEXT_PUBLIC_* | §164.312(a)(1) Access control | Critical | Verified |
| R-02 | Visit notes sent to LLM provider without a BAA api/summarize.ts | §164.308(b)(1) BA contracts | Critical | Fixing |
| R-03 | RLS checks login, not record ownership db/policies/visits.sql | §164.312(a)(1) Access control | High | Fixing |
| R-04 | No audit trail for chart views api/patients/[id] | §164.312(b) Audit controls | High | Open |
| R-05 | Backups enabled, restore never tested infra/db | §164.308(a)(7) Contingency plan | Medium | Open |
When teams call us
01
A hospital, payer, or partner wants your risk analysis, your BAA, and answers to 200 questions. Nothing moves until you have them.
02
A scribe, a chatbot, an agent. The model provider, the prompts, and the logs are now in scope.
03
Ad pixels and analytics SDKs on pages where patients book, pay, or log in. Regulators have acted against health apps for exactly this.
04
You need features shipped by engineers who won't open the next compliance gap while they do it.
Services and pricing
A document you can hand to procurement, and a fix list your engineers can start on Monday.
Founding price for our first 2 clients, in exchange for a case study.
What you get
Fee credited in full toward any plan or remediation booked within 30 days.
Stay review-ready as you grow
$2,000/mo
Ship your roadmap without new gaps
$4,500$6,000/mo
Locked for 6 months
Two roadmaps moving at once
$10,000/mo
Monthly plans have a 3-month minimum, then month to month. Need gaps fixed without an ongoing plan? We quote a fixed-price remediation sprint straight from your findings.
Fig. 2In production since 2020
Paul Ruales built ProFile, a HIPAA EMR for aesthetic practices, from its first commit: records, scheduling, payments, iOS and web. It has run in production since 2020. Our recommendations come from building and running a live HIPAA product.
Built for teams using AI
AI tools write working code quickly. They also write these four patterns quickly. We look for them first.
Secrets
It bypasses every row-level policy. If it ships in your bundle, every table is readable.
NEXT_PUBLIC_SUPABASE_SERVICE_ROLE_KEY=eyJhbGciOi…Access control
Any signed-in user can read any patient's visits. One of the most common serious gaps in fast-built apps.
create policy "read" on visits for select
using (auth.role() = 'authenticated');Vendors
Every vendor that touches PHI needs a business associate agreement — including your LLM API.
await llm.chat({ messages: [{ role: 'user',
content: visit.notes }] })Storage
One guessable URL away from a breach notification.
storage.from('intake-forms')
.getPublicUrl(patientId + '.pdf')Engineers, not binders
| Policy-only consulting | Emergent Labs | |
|---|---|---|
| What you receive | A policy binder | A risk register, and the fixes in your code |
| Who does the work | A compliance generalist | Engineers who run a HIPAA EMR in production |
| How they assess | Questionnaires and interviews | Your code, your infrastructure, your vendor list |
| Pricing | Hourly, open-ended | Fixed fee, written scope |
| AI on PHI | Often: “don't” | BAA-covered models and PHI-safe architecture |
| After the audit | You find someone to build it | The same team ships your roadmap |
Questions
Not legal advice. HIPAA obligations depend on whether you're a covered entity or a business associate.
We give you a start date on the first call. A short SOW, a BAA if we'll see PHI, and we begin.
Read-only access to your repository and cloud console, or a guided screen-share if you prefer. We minimize the PHI we ever see.
Yes. Start with the risk analysis, then keep us on to ship features: AI on patient data, patient and provider apps, scheduling, payments. Same team, so new work doesn't reopen old gaps.
Yes, on your code. We don't run AI coding tools on PHI. Agents work against your repository and synthetic or staging data, each client is isolated, and an engineer reviews every change. Anything touching authentication, PHI access, payments, or infrastructure gets senior review before it merges.
It depends on whether you're a covered entity or work on behalf of one. Telehealth, therapy, and direct-to-patient care companies usually are in scope. Pure wellness apps often aren't, but they're covered by the FTC's Health Breach Notification Rule, which treats sharing health data with third parties like ad platforms without authorization as a breach, and by state laws such as Washington's My Health My Data Act. The engineering work is largely the same; your counsel decides which rules apply, and we work alongside them.
It can be part of a HIPAA-compliant setup. Supabase signs a BAA on the Team plan and above with its HIPAA add-on, and requires specific project settings — PITR, SSL enforcement, network restrictions, connection logging, MFA. Signing the BAA is the start, not the finish: row-level security, secrets, audit logs, and every other vendor are still on you.
Vercel offers BAAs to Pro teams. As of October 2026 we found no BAA offered by Lovable or Replit — confirm with the vendor. Until one exists, keep PHI in a backend you control under a signed BAA.
Yes. If our work involves access to PHI, we sign a business associate agreement before we start.
No one can. HHS doesn't recognize any HIPAA certification. We find gaps, fix them, and document the work so you can show a buyer or an auditor exactly what you've done.
No. Questions like covered-entity status or breach notification belong with counsel. We work alongside yours.
Paul Ruales, a former startup CTO who built and maintains ProFile. You talk to the person doing the work.
Twenty minutes. You'll leave with the first three things to fix, whether or not you hire us.