I study how AI systems break — and how to make them not. From prompt injection to model supply chain threats, I work the security frontier that GenAI has cracked wide open.
Exhibit 000 — The Koi Pond · Permanent collectionIs it related to security? Nope. Why is it here? Coz I want to.Population: 3 · Threat level: none · Tap the water to startle them
Six galleries of the modern attack surface. Read them like wall labels in a museum of things that go wrong.
i.
Prompt Injection & Jailbreaking
Medium: adversarial text on trusted context
Studying how adversarial inputs manipulate LLM behavior — from direct injection to indirect attacks embedded in retrieved context. The attack surface is massive and barely understood.
Direct InjectionIndirect InjectionJailbreaksAdversarial Suffixes
ii.
AI Agent & Agentic System Threats
Medium: tools, memory & autonomy
As LLMs gain tool access, memory, and autonomy, the trust boundary problem explodes. I'm focused on how agents can be weaponized and how to constrain their blast radius.
Retrieval-augmented generation introduces a new class of poisoning and exfiltration vectors. Injecting into the knowledge base is often easier than attacking the model directly.
Malicious model weights, backdoored fine-tunes, and compromised Hugging Face repos are real threats that most teams aren't checking for. Scanning and provenance matter.
Building effective defenses — output validation, input sanitization, least-privilege tool access — that don't completely lobotomize the model's usefulness. The balance is hard.
Output FilteringInput ValidationGuardrailsOWASP LLM Top 10
vi.
AppSec Meets AI Pipelines
Medium: classical technique, new canvas
Traditional AppSec — SAST, DAST, SCA — needs to evolve for AI pipelines. I integrate classical secure SDLC with AI-specific threat modeling across CI/CD and cloud-native stacks.
AI SDLCDevSecOpsMITRE ATLASThreat Modeling
No. 02 — Featured Study
Latest research
Latest paperAugust 2026/Independent research
Prompt Injection as an Architectural Primitive: Why Detection Baselines Fail in Agentic Pipelines
Prompt injection is usually framed as an input-filtering bug. This paper argues that in agentic systems it is an architectural property of collapsing instructions and data into the same channel — and that every handoff in a multi-agent pipeline creates another injection surface.
Core finding
Across 195 runs on two production models, coherent semantic poisoning changed the pipeline conclusion in all 50 trials without changing the tool sequence or control flow. Imperative injections failed in all 145 trials, and the strongest detector family produced an AUC of 0.483. The result shifts the defensive question from "did this look suspicious?" to "was this conclusion causally authorized?"
50/50Semantic-poisoning trials changed the conclusion
0.483AUC from the strongest detector family
No. 03 — Field Notes
Write-ups & frameworks
Latest write-upOctober 2026/5 min read
When a Prompt Injection Becomes Code Execution
Microsoft's patched Semantic Kernel vulnerabilities show how model-controlled tool arguments can reach code execution and host file writes. The review starts where language becomes a function call: what makes that argument trustworthy?
Core ideaA valid tool-call schema does not establish permission or make the implementation safe. Trace model-controlled arguments into the code that executes them.
eval()Executable filter reached through tool arguments
HostFile writes beyond the code sandbox
Field noteSeptember 2026/6 min read
A Prompt Is Not a Network Boundary
Last week, I wrote that a system prompt is not an authorization layer. Anthropic's latest incident assessment shows the same mistake at another boundary: the models were told they had no internet access, while the infrastructure left a path to the real internet open.
Core idea
A prompt can describe where an agent should go. Only network policy, target allowlists, scoped credentials, and independent action controls can determine where it is actually able to go.
Agent ContainmentNetwork SecurityCyber EvaluationsDefense in Depth
1Open network path that invalidated the prompt's premise
Field noteSeptember 2026/6 min read
A System Prompt Is Not an Authorization Layer
A model can be told which tools it may use and still produce a forbidden tool call. The fix is to treat every model-selected action as an untrusted request that must cross a deterministic enforcement point.
Core idea
The model may propose an action. Trusted policy code must decide whether it is permitted, and only the component enforcing that decision should possess the credentials and network path needed to execute it.
Agent AuthorizationTool SecurityPolicy as CodeLeast Privilege
0Downstream credentials held by the planner
1Policy decision before every consequential action
8Questions in the implementation review
Field noteAugust 2026/4 min read
An Agent Acting for You Should Not Become You
We say an AI agent acts on behalf of a user, then often implement something closer to impersonation. Reusing broad user authority preserves existing RBAC, but it can erase which agent acted and what the user actually delegated.
Core idea
Effective authority should be the intersection of the user's entitlement, the agent's capability, the approved task, and downstream policy—never the union.
Agent IdentityOBO DelegationLeast PrivilegeOAuth
2Principals preserved at the downstream service
4Authorization boundaries intersected per action
5Questions in the agent OBO design review
Field noteAugust 2026/5 min read
Why "AI Is Just Fancy Words Wrapped Around Basic CS" Breaks When You Threat Model It
Most AI risks still collapse into familiar AppSec, cloud, and identity controls. The analogy breaks at one missing primitive: once instructions and lower-trust text share model context, their separation is not a deterministic security invariant.
Core idea
For any model that processes attacker-influenceable content, treat successful instruction hijacking as a precondition. Then ask what happens if an attacker controls the next model output.
AI Threat ModelingPrompt InjectionAgentic SecurityIdentity & Intent
3Places where the classical analogy breaks
6Steps in the compromised-output review
1Missing semantic enforcement boundary
Field noteAugust 2026/14 min read
Your SaaS Stack Is Now an AI Supply Chain
Most companies are not building AI; they are inheriting it through SaaS. A familiar feature can quietly add model providers, new processing purposes, cross-vendor calls, and privileged OAuth tokens to an architecture that the original MSA, DPA, and security review never described.
Core idea
A vendor may be approved while its new AI feature is approved only by inheritance. The fix is to join the feature, data flow, parties, credentials, and runtime evidence into one control map.
SaaS SecurityAI GovernanceThird-Party RiskOAuth & API Keys
5Linked records in the AI SaaS Control Map
6Roles that settle credential ownership
3Composite enterprise cases and responses
No. 04 — Provenance
Where I've applied it
Sep 2024 — Present
A Square Ideas
Senior Application Security Engineer
Leading security reviews for AI/GenAI product features — threat modeling LLM integrations, RAG pipelines, and agentic workflows before they ship.
Integrating SAST, DAST, and container scanning into CI/CD; automating vulnerability management aligned to NIST SSDF.
Reducing attack surface across cloud-native workloads using Wiz, Trivy, and custom Python tooling.
May 2023 — Aug 2023
Metropolitan Area Planning Council
Cybersecurity Analyst
Monitored EDR, SIEM, firewall, and IDS streams — boosted threat detection by +40%.
Investigated incidents and anomalies proactively, cutting response time by 30%.
Forensic analysis improving detection capabilities by 25%.
May 2021 — Aug 2022
Tata Consultancy Services
System Engineer
Optimized security tooling and infrastructure — incident detection up 35%.
Built Python security automation — response times down 35%.
Deployed Microsoft Defender XDR across enterprise workloads.
No. 05 — Marginalia
Questions I sit with
On LLM trust
Can you ever fully trust a model you didn't train?
Fine-tuning doesn't give you provenance. Downloading weights from a repo means trusting a stranger's training run, data pipeline, and intentions. Most teams aren't thinking about this yet.
On agent security
When an agent can browse the web and run code, what's the blast radius?
Agentic systems collapse the gap between input and action. Least-privilege is the answer in theory — the practice is mostly unsolved.
On guardrails
Are output filters security, or security theater?
A guardrail that's bypassed with a Base64 encode isn't a control — it's a checkbox. Real defense needs to be adversarially tested, not just deployed.
On the field
Why are most security teams 3 years behind the AI curve?
Because the threat models haven't been written yet. MITRE ATLAS helps. OWASP LLM helps. But most red teams are still learning what "prompt injection" even means.
No. 06 — Correspondence
Let's connect
I'm always interested in talking AI security — research, tooling, threat models, or just the weird edge cases you found last week. Reach out.