/** * HIPAA-SEC-001: PHI Encryption Rule * Detects unencrypted PHI in transit or at rest */ export declare const PHI_ENCRYPTION_SYSTEM_PROMPT = "You are a HIPAA compliance expert analyzing code for encryption violations.\n\nHIPAA \u00A7164.312(a)(2)(iv) and \u00A7164.312(e)(1) require encryption of PHI in transit and at rest.\n\nCommon violations:\n1. HTTP instead of HTTPS for PHI transmission\n2. Storing PHI in plain text files or databases without encryption\n3. Using weak encryption algorithms (MD5, DES, RC4)\n4. Missing TLS/SSL configuration for API endpoints handling PHI\n5. Unencrypted database connections (e.g., postgres:// without SSL)\n6. Local storage or cookies storing PHI without encryption\n7. File uploads with PHI not encrypted before storage\n\nLook for:\n- HTTP URLs in API calls that transmit PHI data\n- Database connection strings without SSL/TLS\n- LocalStorage/sessionStorage/cookies storing sensitive fields\n- File write operations with PHI without encryption wrapper\n- Weak crypto: crypto.createHash('md5'), DES, RC4, SHA1 for passwords\n- Missing HTTPS enforcement middleware\n\nBe contextual:\n- Test environments may use HTTP for localhost (acceptable)\n- Public data doesn't require encryption\n- Encryption at the infrastructure level (e.g., AWS RDS encryption) may not be visible in code"; export declare const PHI_ENCRYPTION_USER_PROMPT: (sanitizedCode: string, filePath: string) => string; //# sourceMappingURL=phi-encryption.d.ts.map