Project · Advanced · about 24 hours
Pass a customer's security review with an LLM deployment
Deploy an LLM support assistant into a customer-controlled cloud account with least-privilege access, PII redaction, audit logs and data retention, and answer the security questionnaire with evidence.
Skills:Cloud platforms (AWS, Azure, Google Cloud), Security compliance and data protection, Customer-facing delivery, LLMs and NLP, Monitoring and observability
Part of: Forward Deployed Engineer
Data and licences
- Bitext customer support dataset (synthetic, 26,872 messages) ↗CDLA-Sharing-1.0
Brief
Enterprise pilots often stall in security review, not in engineering. Security compliance appeared in a quarter of the Forward Deployed Engineer postings we read. The customer's CISO will ask where data goes, who can see it, how long it is kept and how you would know if something went wrong. Build a deployment that has good answers, and write them down.
Bitext messages use placeholders such as {{Order Number}} and {{Customer Name}}. Fill a sample with realistic fake personal data (names, emails, phone numbers, card-like numbers) generated by a library such as Faker, so your redaction has something to catch.
What to build
Infrastructure as code for one account and region: the assistant service, a secrets manager entry for the model API key, a log store and a role for the service with only the permissions it needs.
A redaction step that replaces emails, phone numbers, card-like numbers and names with placeholders before calling the model, and restores them in the reply only where needed. Measure what it misses on 200 generated messages.
Audit logs for every model call with a request id, user, timestamp, model and a hash of the redacted input. Enforce a 30-day retention in code or storage policy.
A data-flow diagram and a security questionnaire covering data residency, subprocessors, encryption, access control, logging, retention, incident response and model training on customer data. Link every answer to evidence in the repository.
Deliverables
Repository with
infra/,service/,redaction/(with tests),docs/data-flow.md,docs/security-questionnaire.md
How it is graded
Reviewers act as the customer's security team: they check the permissions, send messages with personal data, look for it in logs and outbound requests, and challenge three questionnaire answers.
Stretch
Add a policy-as-code check in CI that fails if a new permission or an unencrypted resource is introduced.
Deliverables
- Infrastructure as code for the deployment in a single cloud account and region
- PII detection and redaction before any text leaves the customer's environment, with tests
- Audit logs of every model call (who, when, which data, which model) and a retention policy enforced in code
- A completed security questionnaire with links to evidence, and a data-flow diagram
How a reviewer grades it
| Criterion | Weight | What good looks like |
|---|---|---|
| Least-privilege identities, secrets in a secrets manager, no long-lived keys | 25% | |
| Redaction is tested, including cases that slip through, and the residual risk is stated | 25% | |
| Audit logging and retention work and can be demonstrated | 20% | |
| Questionnaire answers are accurate, specific and backed by evidence | 30% |