Back to Browse sources
Full recordAspirational

HMRC: Ask Security

Report State lawNorthern Europe · GBin force

This algorithmic transparency record details 'Ask Security,' an internal generative AI chatbot deployed by HM Revenue & Customs (HMRC) to help civil servants access IT security policies and guidance. Operating in private beta, the tool uses Azure OpenAI GPT-4.1 via a Retrieval-Augmented Generation (RAG) framework to answer natural language queries based on internal security documentation. The document outlines system architecture, data governance, third-party involvement, and risk mitigations such as prompt injection protection and human review guardrails.

Summary and content fields are drawn from the document text and are pending editorial review.

Who issued it

HM Revenue & CustomsRegulator · GB
Lead issuer
Cabinet OfficeGovernment (executive) · GB
Publisher
Department for Science, Innovation and TechnologyGovernment
Publisher
Government Digital ServiceGovernment (executive) · GB
Publisher
Legal forceAspirational
Under whose authorityState law
Judged fromfull text

Who it governs

Public sector bodiesAI deployers and usersWorkers

Public sector technologists, researchers, and government officials seeking transparency regarding internal AI deployments in civil administration.

Sectors
Public administration · tax administration and government security

What the document contains

What's covered

The document covers the technical specifications, operational context, model details, data handling protocols, and risk assessments for HMRC's internal AI chatbot. It details third-party involvement, prompt injection defenses, usage metrics, and governance structures.

What's missing

The text does not mention external commercial applications, public-facing services, or autonomous decision-making processes, as the tool is restricted strictly to internal guidance retrieval.

Key takeaways
  • Ask Security is an internal generative AI chatbot designed to help HMRC staff navigate security policies, standards, and guidance.
  • The tool utilizes Azure OpenAI GPT-4.1 combined with a Retrieval-Augmented Generation (RAG) architecture drawing from secure SharePoint repositories.
  • Third-party contractors including IBM, Accenture, and Equal Experts provided development, data science, and infrastructure support.
  • Mitigations for risks like PII leakage and prompt injection include automated content filtering, prompt shields, and mandatory human review.
  • Usage and performance are monitored bi-monthly by an Ask Security Data & Governance Board.
Principles it states
centrally governed, auditable, and consistent access to policy guidance
Outline
1. Summary
Tier 2 - Owner and Responsibility
Tier 2 - Description and Rationale
Tier 2 - Deployment Context
Tier 2 - Tool Specification
Tier 2 - Model Specification
Tier 2 - Operational Data Specification
Tier 2 - Risks, Mitigations and Impact Assessments
Issued9 September 2026
Length2,043 words
FormatNot recorded
Scopenational

How it scores

Pending review

Each score is backed by a quote verified against the document text. Editorial review has not yet confirmed them.

Accountability

4/5

Clear responsibility for AI outcomes

1.3 - Senior responsible owner Head of Cyber Security Oversight

Tier 2 - Owner and Responsibility

screening score · 2026-11-26

Fairness

1/5

Non-discrimination and equitable treatment

Subject matter experts validated responses, identified gaps to improve the system and ensure outputs are accurate, safe, and policy-aligned.

4.2.7 - Model performance

screening score · 2026-11-26

Human Dignity

0/5

Respect for the inherent worth of persons

screening score · 2026-11-26

Human Oversight

4/5

Humans remain in control of consequential decisions

The colleague reviews the response and is invited to view the relevant policy or guidance documents as applicable.

3.2 - Human review

screening score · 2026-11-26

Privacy

4/5

Protection of personal data and private life

Ask Security is designed not to process personal data or sensitive attributes: Users are explicitly instructed not to input personal or sensitive information

4.4.2 - Sensitive attributes

screening score · 2026-11-26

Transparency

4/5

Openness about how AI systems work and are used

A generative AI chatbot for internal use to allow HMRC colleagues access to HMRC Security Policies, Standards and Guidance.

1. Summary

screening score · 2026-11-26

Enforcement

4/5

Consequences and compliance mechanisms with real force

An Ask Security Data & Governance Board has been initiated to meet bi-monthly: Review the previous months Ask Security usage stats

4.1.4 - Maintenance

screening score · 2026-11-26

Impact Assessment

4/5

Required assessment of an AI system's risks/impacts before or during use

Business Impact Assessment issues and approved - document name 20260204-CSTS4344-Ask Alfred - BIA - approved 10th April 2026

5.1 - Impact assessments

screening score · 2026-11-26

Topics

algorithmic transparency generative ai public sector ai chatbot security policy