HMRC: Ask Security
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
Who it governs
Public sector technologists, researchers, and government officials seeking transparency regarding internal AI deployments in civil administration.
What the document contains
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.
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.
- 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.
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
How it scores
Each score is backed by a quote verified against the document text. Editorial review has not yet confirmed them.
Accountability
4/5Clear 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/5Non-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/5Respect for the inherent worth of persons
screening score · 2026-11-26
Human Oversight
4/5Humans 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/5Protection 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/5Openness 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/5Consequences 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/5Required 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