AI Security & Safety · Research and practice

Securing AI Agents Before They Become Enterprise Attack Surfaces.

Exploring the security, governance, and risk-management challenges of agentic AI, retrieval-augmented generation, and AI-enabled enterprise workflows. Status labels distinguish completed work from proposed experiments.

Research focus

Security, Governance and Risk Management of Agentic AI Systems in Financial Services.

Seven themes structure the work below — from prompt injection trust boundaries to AI governance in financial services.

01

Prompt Injection and Trust Boundaries

02

RAG Security and Data Protection

03

Agentic AI Threat Modelling

04

AI Identity and Least Privilege

05

AI Safety and Human Oversight

06

Adversarial Machine Learning

07

AI Governance in Financial Services

Three disciplines

Security, safety and governance are different questions.

They overlap in practice, but each has its own owner, controls and evidence.

01

AI Security

Defending AI systems against adversaries: prompt injection, data leakage, model and supply-chain compromise, and abuse of the tools and identities an AI system can reach.

Can someone make it do something it shouldn't?

02

AI Safety

Making sure systems behave as intended even without an attacker: predictable outputs, bounded autonomy, human review of consequential actions, and prevention of harm.

Will it behave as intended on its own?

03

AI Governance

Assigning ownership and evidence across the AI lifecycle: risk assessment before adoption, policy and standards, vendor due diligence, monitoring and regulatory alignment.

Who is accountable, and can we prove control?

Domains

AI security and AI safety, side by side.

Security asks how AI systems are attacked; safety asks how they fail on their own. Enterprise adoption needs answers to both.

AI Security

  • Large Language Model Security
  • Prompt Injection
  • Indirect Prompt Injection
  • Retrieval-Augmented Generation Security
  • Agentic AI Security
  • AI Agent Identity and Access Management
  • AI Tool and API Security
  • Adversarial Machine Learning
  • AI Data Leakage
  • AI Supply Chain Security
  • AI Red Teaming
  • AI Threat Modelling
  • Multi-Agent System Security

AI Safety

  • AI Alignment and Misalignment
  • Safe AI Deployment
  • Human Oversight
  • Human-in-the-Loop
  • Autonomous Agent Safety
  • AI Evaluation and Assurance
  • Robustness and Reliability
  • Harmful AI Behaviour
  • AI Risk Assessment
  • Responsible AI
  • Systemic AI Risks

AI governance & frameworks

Frameworks, with an honest depth label.

Some frameworks I have implemented professionally, some I have assessed against, and some I study as research. The label on each card says which.

Applied professionally

NIST AI Risk Management Framework

Govern–Map–Measure–Manage structure behind the enterprise AI security standard.

Applied professionally

ISO/IEC 42001

AI management-system requirements reflected in AI adoption controls.

Applied professionally

OWASP Top 10 for LLM Applications

Threat taxonomy baseline for LLM and RAG assessments.

Assessed

MITRE ATLAS

Adversary techniques against AI systems, used in threat modelling.

Research & study

EU AI Act

Regulatory obligations tracked for AI governance in financial services.

Research agenda

Four themes in depth.

In progress

Agentic AI Security

“How can an agent's actions be constrained when its instructions cannot be fully trusted?”

Attack surfaces
Tool calls, delegated credentials, planning loops, memory.
Candidate defenses
Tool gateway, per-tool authorization, human approval for high-impact actions.
Proposed evaluation
Unauthorized action rate under adversarial task suites.
In progress

Prompt Injection and Trust Boundaries

“Where must trust boundaries sit when model input mixes instructions and data?”

Attack surfaces
User input, retrieved documents, tool output, email and web content.
Candidate defenses
Provenance labels, privilege separation, output validation.
Proposed evaluation
Attack success rate across a structured payload taxonomy.
Proposed

RAG Security and Data Protection

“Can retrieval respect the same access controls as the source systems?”

Attack surfaces
Vector stores, ingestion pipelines, document permissions.
Candidate defenses
Permission-aware retrieval, ingestion validation, tenant isolation.
Proposed evaluation
Cross-user retrieval and poisoning tests against baseline and hardened builds.
In progress

AI Governance and Risk Management

“What minimum governance lets an enterprise adopt AI without losing accountability?”

Attack surfaces
Shadow AI, third-party models, unowned agents.
Candidate defenses
AI inventory, risk classification, release gates, reassessment.
Proposed evaluation
Coverage of inventoried systems with owners and approved permissions.

Featured project · In progress

Autonomous AI agent security

How can an enterprise constrain an AI agent's ability to execute unauthorized actions when exposed to malicious or untrusted instructions?

AI agent security architectureThe user interface sends requests to an agent orchestration layer that combines system instructions with untrusted input and retrieval results. Every proposed tool call crosses a policy boundary into a tool gateway that checks authorization, validates parameters and, for high-impact actions, requires human approval. All decisions are written to audit logs that feed monitoring and incident response.MODEL-GENERATED DECISIONSPRIVILEGED EXECUTIONpolicy enforcement boundaryUser interfaceSystem & developerinstructions (trusted)Untrusted inputemail · web · documentsRetrieval layerpermission-awareAgent orchestrationplans, proposes tool callsTool gatewayauthz · schema checksHuman approvalhigh-impact onlyTools & APIsscoped credentialsAudit loggingMonitoring & IR

The language model proposes; it never authorizes. Every tool call crosses a server-side policy boundary where a gateway checks the agent's identity, the tool's allowed parameters and the provenance of the instruction. High-impact actions wait for a human. Prompt filtering and model-level instructions help, but they are never the only barrier.

Agentic AI threat areas · Research topics, not proven findings

  • Indirect prompt injection

    Instructions hidden in retrieved documents, emails or web pages that the model treats as commands.

  • Retrieval poisoning

    Planted or altered content in a knowledge base that steers answers or downstream actions.

  • Memory poisoning

    Malicious content written into persistent agent memory that influences later sessions.

  • Goal hijacking

    Inputs that redirect an agent away from the user's task toward an attacker's objective.

  • Excessive agency

    Agents granted broader tools, permissions or autonomy than the task requires.

  • Insecure tool / MCP integrations

    Tool servers and connectors with weak authentication, over-broad scopes or unvalidated parameters.

  • Multi-agent privilege escalation

    A low-privilege agent induces a higher-privilege agent to act on its behalf.

  • Data exfiltration

    Sensitive data leaked through model output, tool calls, rendered links or side channels.

  • Unsafe autonomous execution

    High-impact actions carried out without policy checks or human approval.

Threat taxonomy

ThreatAttack pathPreventive controlDetective controlResidual risk
Direct prompt injectionUser instructs the model to ignore policyServer-side authorization independent of the modelPolicy-violation loggingLow impact if tools are gated
Indirect prompt injectionInstructions hidden in retrieved or tool contentProvenance labels; untrusted content cannot trigger privileged toolsTool calls traced to untrusted contextMedium — content steering remains possible
Retrieval poisoningMalicious document inserted into the indexIngestion validation and source allow-listsIndex change auditingMedium
Excessive agencyAgent holds broader permissions than the task needsTask-scoped, least-privilege agent identitiesPermission usage reviewLow with scoping
Unauthorized tool invocationModel emits a call outside its allowed setTool gateway with schema and parameter validationDenied-call alertsLow
Sensitive data exposureModel returns data the user may not seePermission-aware retrieval; DLP on outputOutput classification loggingMedium
Cross-user or cross-tenant leakageShared memory or index across tenantsTenant-partitioned stores and cachesIsolation tests in release gatesLow
Unsafe delegationAgent passes authority to a sub-agent or external serviceNo credential forwarding; scoped tokensDelegation chain auditMedium
Inadequate monitoringAgent actions not recorded or reviewedMandatory audit events per tool callAudit coverage metricLow
Insecure output handlingModel output executed or rendered unsafelyTreat output as untrusted; encode and validateDownstream error and WAF signalsLow

Defense in depth

  • Least-privilege agent identities
  • Tool-specific authorization
  • Server-side policy enforcement
  • Input provenance and trust labels
  • Schema and parameter validation
  • Human approval for high-impact actions
  • Separation of planning and execution
  • Restricted data access
  • Secrets isolation
  • Tamper-resistant audit records where feasible
  • Runtime monitoring and incident response
  • Explicit failure handling

RAG security lab · Proposed

Baseline versus hardened retrieval.

Planned scenarios: malicious retrieved instructions, cross-user document access, retrieval poisoning, unauthorized retrieval, sensitive disclosure and unsafe downstream tool calls.

Results will be published here only once the experiment has run. No results are claimed yet.

Related work · Independent project

Making prompt-injection resistance measurable

An end-to-end evaluation framework for testing RAG and LLM applications against prompt injection, with a structured payload taxonomy and an auditable scoring model.

Evaluation methodology

Planned metrics

A sample schema, not data. Each metric will be reported with its test conditions and limitations.

MetricDefinitionDenominatorValue
Unauthorized action rateTool calls executed outside policyAll attempted tool calls in adversarial runsNot yet measured
Attack success ratePayloads achieving their stated goalPayloads executedNot yet measured
Sensitive data exposure rateResponses containing data above the user's clearanceResponses in test setNot yet measured
Legitimate task completion rateBenign tasks completed correctlyBenign tasks attemptedNot yet measured
False refusal rateBenign tasks wrongly refusedBenign tasks attemptedNot yet measured
Human approval coverageHigh-impact actions that passed approvalHigh-impact actions attemptedNot yet measured
Audit event coverageTool calls with a complete audit recordAll tool callsNot yet measured

AI governance

A lifecycle, not a policy document.

  • 01AI system inventory
  • 02Model and component provenance
  • 03AI bill of materials
  • 04Data classification
  • 05Risk classification
  • 06Agent identity and permissions
  • 07Human accountability
  • 08Evaluation and release gates
  • 09Runtime monitoring
  • 10Incident response
  • 11Periodic reassessment
  • 12Retirement and decommissioning

References