Case 01 See · Secure 2026
Cloud and CI/CD security review of a healthcare queue platform
As the only security member of a volunteer team, I reviewed the AWS account, GitHub Actions pipeline, Terraform and backend code of a patient queue system, and found a way an outsider could have taken full control of the cloud account.
- Role
- Cybersecurity lead (volunteer)
- Scope
- AWS, GitHub CI/CD, Terraform, backend code
- Window
- 30 Oct – 2 Nov 2026
- Authorization
- Written, from the project lead
- Result
- 19 findings · 1 Critical · 6 High
Context
The platform let hospital patients join an outpatient queue from their phone, by web or WhatsApp. It handled phone numbers, one-time codes and the department each patient was waiting for, which can reveal a health condition. Nigeria’s Data Protection Act 2023 applies.
Constraint
Read-only access, a four-day window, and an environment that had already been torn down when testing began. I could not test the running system, so I changed method: configuration and code review, with every finding marked “confirmed live” or “confirmed in code”.
What I did
- See: drew a data-flow threat model with four trust zones and 14 flows before any code existed.
- Secure: reviewed MFA enforcement, IAM groups and policies, the password policy, root-user activity and CloudTrail in the AWS console; traced how GitHub Actions signs in to AWS through OIDC, what the deploy role could do, and how its trust policy changed across seven branch snapshots; reviewed the backend’s sign-up, one-time-code and webhook logic.
- Explain: wrote a severity-rated report with evidence for every finding and a prioritised fix list.
What I found
19 findings: 1 Critical, 6 High, 7 Medium, 3 Low, 2 informational.
| Severity | Finding |
|---|---|
| Critical | The deploy role trusted a wildcard pattern that look-alike GitHub organisations could match, and it held full administrator rights. |
| High | Pull-request builds could fall back to that same administrator role. |
| High | Public sign-up let anyone choose their own role, including Doctor or Admin. |
| High | One-time codes were stored in plain text, written to logs, and had no limit on guesses. |
| High | No CloudTrail trail, so account activity was not kept beyond 90 days. |
| High | The root user was in routine use. |
| Medium | The MFA policy blocked authenticator-app enrolment and trapped half-created devices. |
What worked well
MFA enforcement blocked everything until MFA was set up; GitHub Actions were pinned to exact commit SHAs; the pipeline used OIDC, not long-lived keys; the database, cache and container registry were encrypted with rotating keys.
Outcome
The project ended before fixes were made. The team received the full report with a prioritised plan: fix the pipeline trust before any redeploy; fix sign-up and one-time codes before merging the backend; then the account baseline (CloudTrail, root use, password policy).
What I would do next
Get security into design reviews from day one. The riskiest path, the deploy pipeline, was never on any diagram.
Evidence
All screenshots are redacted.




