Zach Marcy / Portfolio
Cloud and AI Security Engineer: eight builds
This is the system I designed and teach in the Cloud and AI Security Engineer course: a hardened AWS foundation, an API and a detection pipeline on top of it, then the four AI pillars and a capstone that attacks all of it at once. Every piece follows the same loop and proves itself with an offline selftest, so a reviewer can verify it with no AWS account and no cost.
- Deploythe insecure stack
- Scanand read the gaps
- Attackit and review the logs
- Hardenthen scan and attack again
Module 1 · Foundation
The Cloud Foundation
OpenClose
WeakThe account scanned naked, with every gap listed.HardenedThe same scan reads clean.
Module 1 · Foundation
The Cloud Foundation
A hardened AWS account built as infrastructure as code: VPC, KMS, IAM, S3, Secrets Manager, CloudTrail and CloudWatch with flow logs. Each control maps to the MITRE ATT&CK technique it breaks, and every later build stands on it without rebuilding it.

Module 2 · Foundation
API Security on the Foundation
OpenClose
WeakAn anonymous caller reaches the model. HTTP 200.HardenedEvery attack blocked. HTTP 403 and 400 on the same requests.
Module 2 · Foundation
API Security on the Foundation
An inference API that fronts a model, composed onto the foundation. Attacked four ways, then hardened with four controls: an audience-checked token, a JSON schema, a rate and cost cap, and a structured audit log a SOC can consume.

Module 3 · Foundation
Observability and Detection
OpenClose
WeakThe attack lands and nothing fires. The account is blind.HardenedThe same attack pages the on-call.
Module 3 · Foundation
Observability and Detection
The detection layer: metric filters and alarms on the application log, EventBridge on CloudTrail for the control plane, GuardDuty, Config and Security Hub as the managed layer, and Athena over the trail history. All of it funnels to one alert path.

Module 4 · Pillar 1
LLM Security: Guardrails and the WAF for AI
OpenClose
Weak6 of 6 injections succeeded.HardenedThe guardrail and the WAF hold, and every block is logged.
Module 4 · Pillar 1
LLM Security: Guardrails and the WAF for AI
Direct and indirect prompt injection against a model, then two firewalls in the request path. An input and output guardrail reads meaning. A real AWS WAF on the API edge reads structure. Each is blind to what the other catches, so the system runs both and logs both to the SOC.

Module 5 · Pillar 2
AI APIs and MCP Security
OpenClose
Weak5 of 5 tool abuses succeeded, including a deleted account.Hardened0 of 5. Each abuse died at a different lock.
Module 5 · Pillar 2
AI APIs and MCP Security
A model with tools is a confused deputy holding real credentials. This build secures an MCP server with authentication, gives every tool its own least-privilege role, allowlists and schema-checks tool calls, locks egress against SSRF, and extends the guardrail to the tool call and its result.

Module 6 · Pillar 3
Agentic AI Security
OpenClose
Weak6 gaps. 5 of 5 abuses succeeded.Hardened0 of 5. Every irreversible move waits for a human.
Module 6 · Pillar 3
Agentic AI Security
An agent loop carries state between steps, so one poisoned input compounds. This build locks the four loop-only failures: the goal is pinned, every memory write is guardrailed, the loop has a step budget, and a human stands in front of every irreversible action. Every step is audited into the SOC.

Module 7 · Pillar 4
Vibe Coding Security
OpenClose
WeakAn AI generation with s3:* and a public bucket reaches deploy.HardenedThe pipeline turns red before it deploys.
Module 7 · Pillar 4
Vibe Coding Security
AI-generated code enters through four doors: the code, the infrastructure, the dependencies and the review that gets skipped. This build gates each one with a pre-deploy scan in CI, a secret hook on every commit, a dependency check for known CVEs and hallucinated packages, and security requirements in the prompt.

Module 8 · Capstone
Secure an Agentic AI System End to End
OpenClose
WeakBreach. The full chain completed and the SOC stayed silent.HardenedBlocked at the first lock it hit, and the SOC was paged.
Module 8 · Capstone
Secure an Agentic AI System End to End
The whole stack at once: a model, with tools over MCP, running as an agent, on the cloud foundation, largely AI-written. One poisoned document is traced across all four layers, with the control that stops it named at each one.

Open a build to see its design and its proof. The repo, labs and the full walkthrough for each build are in the course. See the Cloud and AI Security Engineer course