Harsh

// engineering radar · topic

AI Security

Identity, least privilege and runtime controls for agents operating across enterprise boundaries.

FounderEngineerSpeaker
Back to the Engineering RadarTopic glossary

The topic in context

Keep model instructions separate from authority.

AI security spans the model, retrieved context, identities and the systems a tool can reach. Prompt injection is especially consequential when untrusted text can influence a workflow with real permissions. A model instruction must never become a substitute for an authorization decision.

Security controls belong at enforceable boundaries: retrieval permissions, tool gateways, secret handling and action validation. Testing should include hostile documents, unexpected tool arguments and partial failures, not just successful conversations.

A protected processor behind an identity and authorization gateway
AI Security · Conceptual illustration

Sources & evidence

  1. [1]

    Untrusted documents and tool output can carry indirect prompt injection, including in retrieval-based workflows. [1]

    LLM01:2025 Prompt Injection

    OWASP · Engineering guidance

  2. [2]

    OWASP recommends independent limits on tool permissions, functionality and autonomy. [2]

    LLM06:2025 Excessive Agency

    OWASP · Engineering guidance

References support the specific statements above. Definitions are paraphrased synthesis; scenarios, diagrams, implementation checks and portfolio connections are independent educational examples, not results reported by these sources.

A practical engineering loop

Illustrative workflow

Identify

Bind the request to a verified caller and the specific resource they are authorized to access.

Example in practice

A retrieved document asks an assistant to export private records. The document is treated as evidence, not authority; a separate policy check rejects the export regardless of how convincingly the model repeats the request.

The review question

Which independent control blocks an unsafe action even if the model asks for it?

Independent educational perspectives grounded in the references above. Examples, workflows and connections are illustrative, not reported study results, deployment claims or adoption recommendations. All technologies remain unassessed.

The topic at a glance

One topic, connected technologies

All 6 technologies in AI Security, connected to their individual guides. Inclusion does not imply maturity or deployment.

Identity, least privilege and runtime controls for agents operating across enterprise boundaries.

Securing an agent means controlling what it can do at runtime. Authentication identifies an actor; authorization must still evaluate each proposed action.

Technologies

6 technologies · Unassessed

Engineering principles

  • Authorize actions outside the model.
  • Separate retrieval permissions from execution permissions.
  • Protect secrets from prompts, logs and tool outputs.
  • Test refusal, containment and credential revocation.
Book Harsh