
Back to Projects
Security Hardening and SOC 2 Readiness for AI Products
Client
NDA
Industry
AI Products / Security & Compliance
Duration
September–October 2026
Team
Security & DevOps Engineer, part-time
Overview
The client builds AI products that people use by text message and on the web, and was preparing for a SOC 2 audit. IdeaTeam's engineer joined part-time in September 2026 and worked across three repositories, the cloud infrastructure and the compliance tooling.
Challenge
The development database was reachable from outside the private network
An infrastructure security review and the compliance platform both listed failing checks
No secret scanning or vulnerability scanning on pull requests
Personal data — phone numbers, message contents — appeared in logs and dashboards
Nothing checked that the AI's answers still followed the rules after a change
No disaster-recovery test, no as-built documentation
Solution
Made the development database private, reachable only through an SSM bastion, with a runbook and Terraform changes
Reviewed the infrastructure with Prowler, filed 17 issues, and covered every failing check on the compliance platform with a pull request
Semgrep and Gitleaks on every pull request in all three repositories; dependency updates until the audit reports were clean; a weekly ZAP baseline scan; security headers on the web application
Database audit logging in production, backups kept 14 days, access logs replicated to a second region, monitoring alarms routed to one mailbox
Privacy: phone numbers masked in logs and unlinked from checks, message captions scrubbed, a dashboard without personal data, message deletion, screenshots that expire after 90 days
A golden set for the AI: 30 cases selected from 142, a runner, a recorded baseline, and a gate in the release pipeline
The type checker taken from 82 errors to zero with no change in behavior
A disaster-recovery test with a restore and a report, a tabletop scenario, as-built documentation with an infrastructure diagram, code owners and a release checklist
Result
All 17 failing compliance checks covered by pull requests, the type checker from 82 errors to zero, scanners on every pull request in three repositories, and a 30-case golden set that every release has to pass.
Technology Stack
AWSTerraformPythonSemgrepGitleaksOWASP ZAPProwlerpgauditGitHub Actions
Key Features
- Private database behind a bastion
- Scanning on every pull request
- Compliance checks covered
- Golden-set gate for AI releases
- Personal data removed from logs
- Disaster-recovery test