Skip to main content

Security Compliance Audit — HIPAA · SOC 2 Type II · FedRAMP Moderate

Date: 2026-03-19 Audited by: Internal engineering review Codebase: Nometria monorepo (backendPy/, backend/, apps/base44-downloader/, lib/, supabase/) Overall status:NOT COMPLIANT with any of the three frameworks

How to Read This Document

Each requirement lists:
  • The exact control and its regulatory citation
  • Status: ✅ Met · ⚠️ Partial · ❌ Not Met
  • Evidence: What was found in the code (file + line)
  • Risk: What breaks if this is not fixed
  • Fix: The specific remediation
Severity labels: 🔴 Critical · 🟠 High · 🟡 Medium · 🔵 Low

PART I — HIPAA Technical Safeguards

45 CFR Part 164, Subpart C

2025 NPRM note: HHS published proposed amendments on Jan 6, 2025 that would make all “addressable” controls (MFA, auto-logoff, encryption) strictly required. Final rule expected late 2025. All findings below already treat these as required.

164.312(a)(1) — Access Control

IA-1 · Unique User Identification (Required)

Every user and service must have a unique, traceable identity. No shared accounts.

IA-2 · Emergency Access Procedure (Addressable → Required under NPRM)

IA-3 · Automatic Logoff (Addressable → Required under NPRM)

IA-4 · Encryption/Decryption (Addressable → Required under NPRM)


164.312(b) — Audit Controls

AU-1 · Audit Logging (Required)

Record and examine activity in systems that contain or use ePHI.

AU-2 · PHI in Logs (Required — corollary)


164.312(c)(1) — Integrity

INT-1 · Data Integrity Mechanisms (Addressable → Required under NPRM)

INT-2 · Transmission Integrity


164.312(d) — Person or Entity Authentication

AUTH-1 · Multi-Factor Authentication (Addressable → Required under NPRM)

AUTH-2 · Password Policy

AUTH-3 · Account Lockout


164.312(e) — Transmission Security

TRANS-1 · Encryption in Transit (Addressable → Required under NPRM)

TRANS-2 · End-to-End Encryption


HIPAA Additional Requirements

HIPAA-ADD-1 · Minimum Necessary Access

HIPAA-ADD-2 · Business Associate Agreement (BAA) Technical Implications

HIPAA-ADD-3 · Breach Detection



PART II — SOC 2 Type II

AICPA Trust Services Criteria (2017 + 2022 updates)


CC6 — Logical and Physical Access Controls

CC6.1 · Logical Access Security Measures

CC6.2 · Prior to Issuing System Credentials

CC6.3 · Role-Based Access Control

CC6.6 · Logical Access from Outside the Entity’s Network

CC6.7 · Restrict Access to Confidential Information

CC6.8 · Prevent Unauthorized Access from Malicious Software


CC7 — System Operations

CC7.1 · Detect and Monitor for New Vulnerabilities

CC7.2 · Monitor System Components for Anomalous Behavior

CC7.3 · Evaluate Security Events


CC8 — Change Management

CC8.1 · Authorization of Changes


PI1 — Processing Integrity

PI1.1 · Complete and Accurate Processing

PI1.2 · Processing Error Handling


C1 — Confidentiality

C1.1 · Confidential Information Identified and Protected

C1.2 · Dispose of Confidential Information


P1 — Privacy

P1.1 · Privacy Notice



PART III — FedRAMP Moderate

NIST SP 800-53 Rev 5 Baseline


AC — Access Control

AC-2 · Account Management

AC-3 · Access Enforcement

AC-6 · Least Privilege

AC-7 · Unsuccessful Login Attempts

AC-17 · Remote Access


AU — Audit and Accountability

AU-2 · Event Logging (FedRAMP: all of the following must be logged)

Required events: logon/logoff, privilege use, account management, policy changes, process creation, file access

AU-3 · Content of Audit Records

Each record must contain: date/time, source, event type, subject identity, outcome

AU-9 · Protection of Audit Information

AU-11 · Audit Record Retention

FedRAMP Moderate requires 90 days online, 1 year archived

IA — Identification and Authentication

IA-2 · Multi-Factor Authentication

FedRAMP requires MFA for ALL privileged users and ALL network access to non-privileged accounts

IA-5 · Authenticator Management (Password Policy)

FedRAMP minimum: 15 chars, 1 upper, 1 lower, 1 number, 1 special. 60-day max age. No reuse of last 5.

IA-8 · Non-Organizational User Identification


SC — System and Communications Protection

SC-8 · Transmission Confidentiality and Integrity

FedRAMP requires FIPS 140-2 validated cryptography (TLS 1.2+)

SC-28 · Protection of Information at Rest

FedRAMP requires FIPS 140-2 validated encryption for data at rest

SC-5 · Denial of Service Protection

SC-7 · Boundary Protection


SI — System and Information Integrity

SI-2 · Flaw Remediation

SI-3 · Malware Protection

SI-7 · Software, Firmware, and Information Integrity

SI-10 · Information Input Validation


CM — Configuration Management

CM-6 · Configuration Settings

CM-7 · Least Functionality



Master Compliance Scorecard

HIPAA Technical Safeguards (45 CFR 164.312)

HIPAA Score: 0/16 fully met · 3/16 partial · 13/16 not met

SOC 2 Type II (AICPA TSC)

SOC2 Score: 0/15 fully met · 3/15 partial · 12/15 not met

FedRAMP Moderate (NIST SP 800-53 Rev 5)

FedRAMP Score: 0/22 fully met · 2/22 partial · 20/22 not met

Remediation Roadmap

🔴 WEEK 1 — Stop the Bleeding (Critical)

These must be done before processing any real customer or patient data.

🟠 WEEK 2 — Authentication & Input Hardening

🟡 WEEK 3 — Encryption & Observability


Note: FedRAMP certification additionally requires a 3PAO (Third-Party Assessment Organization) assessment, a System Security Plan (SSP), and continuous monitoring. The above addresses only the technical code/DB controls. Operational, administrative, and organizational controls are outside the scope of this document.