← All primers

Primer

Principles

Helmwart's mitigation catalogue isn't a flat list. Three foundational security principles organise it: defence-in-depth, zero-trust, and least-privilege. Every mitigation in the catalogue is an application of at least one of these. The principles are older than agentic AI; the agentic application is what makes them hard, and what this primer is about.

The three principles

principle 1 · DiD DEFENCE-IN-DEPTH

Many layers, no single chokepoint

"the deliberate layering of multiple safeguards so that the failure of any single safeguard does not compromise the system" (NIST SP 800-160 v1r1 §3.3)

Helmwart maps this to: the cluster of mitigations that defends the same threat at different layers. For T1 Memory Poisoning alone, four independent controls apply: memory content validation at the write boundary, vector-store ACLs at retrieval, memory anomaly detection at runtime, and output provenance at attribution. Any one of them can fail and the others still catch the attack.

principle 2 · ZT ZERO-TRUST

No implicit trust between layers

"no implicit trust is granted to assets or user accounts based solely on their physical or network location" (NIST SP 800-207 §2)

Helmwart maps this to: the cluster that gives every agent identity a cryptographic anchor and verifies every action at run time. That cluster includes SPIFFE workload identity for the cryptographic principal, short-lived agent tokens for the credential layer, message signing for per-message auth, policy-bound autonomy for run-time decisions, and RBAC + ABAC for the underlying access-control model. Every agent acts under a verifiable identity; nothing is trusted because of where it lives in the network.

principle 3 · LP LEAST-PRIVILEGE

Each actor has just enough to do its job

"the principle that a security architecture is designed so that each entity is granted the minimum system resources and authorisations the entity needs to perform its function" (NIST SP 800-53 Rev 5 AC-6; see also OWASP AI Exchange #LEAST MODEL PRIVILEGE)

Helmwart maps this to: the cluster that bounds what each agent can do, even with valid credentials. The controls here are tool scope restrictions for capability bounds, just-in-time tool grants issued only when needed, time-bound privilege elevation for the elevated-window expiry, and at the identity layer again RBAC + ABAC and short-lived tokens. The blast radius of any compromise stays bounded.

Why these three, together

Each principle is necessary; none is sufficient on its own. The composition matters:

How Helmwart surfaces these

The principles don't render as graph badges. They render as the shape of the recommendation when you read the rest of the site:

First three things to do per principle

Canvas reference

The Helmwart canvas detects Zero Trust violations and Defence-in-Depth gaps on your diagram automatically. Switch to the Principles lens in the top bar to see ZT and DiD badges on each node.

How the engine defines and detects ZT & DiD →