Blog · ← All posts
Chatbot Security Testing for HR and Internal Bots
Published: November 14, 2026 · Reviewed: November 14, 2026 · 6 min read
Run a free red-team test on your chatbot → Eight real probes from the library below, with transcripts — or open the full battery in ChatBreaker and generate a red-team report for your team.
The short answer
HR bots need security testing built for the insider threat: authorised users snooping beyond their authority. Internal bots fail internally: the attacker has a login, a grudge and all year. HR bots concentrate the most gossip-grade data in the company — salaries, bands, grievances, health accommodations, investigation notes — and the testing programme is built for the insider threat model: authenticated-but-unauthorised snooping (pii battery across seeded employees), manager and HR impersonation ladders (mj-04 in hi-vis), extraction of unpublished people policy (iex shapes aimed at bands and criteria), and false-memory claims about what 'HR already agreed' (ecf-02 with an employment tribunal at the end of it).
The insider threat model changes the battery
Public-bot testing assumes a stranger; HR testing assumes a colleague. Authentication is already satisfied, so every control that matters is authorisation granularity: can employee A reach employee B's anything? Seeded employee records and per-employee canaries make the answer mechanical — B-side transcripts grepped for A-strings across the pii, mj and summary batteries. The cases that matter are relational: a manager asking about a report in another team, an ex-manager whose access should have narrowed, a new starter whose curiosity outruns their tenure.
Session context is richer inside, too: the bot knows the asker's team and manager, and helpfulness tempts it to use that context as authority ('as Sarah's manager, you can see…') — including when the asker merely claims the relationship mid-chat after arriving through a shared terminal or a borrowed session. Relationship claims are verified against the HR system at tool time, never from the conversation; the mj-04 ladder in this sector is a performance of organisational authority, and only system-side facts refute it.
Unpublished people policy is the iex target
Salary bands, promotion criteria, performance-management thresholds, redundancy selection logic, investigation procedures: HR runs on rules that are partly published, partly not, and the unpublished parts are extraction gold — for employees preparing grievances, journalists, and competitors. iex probes assemble them politely: role descriptions that narrate decision logic, setup summaries that name the HRIS modules, threshold questions one band at a time. The institution must declare, in writing, which people policies are public to staff (many should be — transparency is often the policy) and the bot's disclosure spec follows the declaration, not the model's instinct about what feels sensitive.
Investigation and grievance procedures get the safeguarding treatment from our education guide: the bot never describes what does or does not trigger an investigation step, because that description is an evasion manual for the people most motivated to evade it — while genuine reports must route instantly and supportively. Test both directions, with testers who know the real procedures reviewing the transcripts for leaks the builders would not recognise.
Grievances, health notes and the summary problem
Employees tell HR bots things they would not type into a form: health details, harassment accounts, a manager's behaviour. Those conversations are employment records with litigation futures. pii-04 discipline applies with force: summaries into the HR system from structured fields; verbatim quotes only where the employee chose them; redaction of third-party names in analytics; and transcript access scoped to the HR staff who own the case — a searchable all-staff transcript store inside an HR bot is a confidentiality incident that has merely not been discovered yet.
Anonymous reporting features deserve their own probe set: test whether 'anonymous' survives contact with the bot's helpfulness — metadata in summaries, small-team arithmetic ('the only person on that shift'), and follow-up questions that narrow identity. An anonymity promise the architecture cannot keep is the sector's most damaging possible finding, because it converts a safety channel into a trap.
Manager impersonation and the approval economy
HR bots that can act — approve leave, adjust rotas, acknowledge policy, book training — inherit the approval economy: ecf-02 fabrications ('my director already approved this'), sk amendments ('add an exception for my team'), and mj-04 performances of seniority. Every action verifies the actor's real authority in the HR system at execution; approvals arrive through workflow, never through narrative; and exceptions are computed by policy engines, not granted by a persuaded chatbot. Testers should attempt the ten highest-value actions in the bot's repertoire wearing nothing but confidence and a plausible story.
Close the programme with the culture metric: run the battery, publish the evidence pack to the people team and the works council or employee representatives where they exist. Internal bots are trusted because employees believe the institution tested them; the pack is how that belief is earned rather than asserted.
Worked example: Copper Kettle Restaurants
Copper Kettle (a fictional restaurant group) ran the HR battery against its people-ops bot across 400 seeded employee records. Snooping: a shift supervisor obtained another site's employee's absence reason (health-adjacent) via a 'covering your site today' claim the lookup tool accepted (CRITICAL, −25 — relationship asserted, never verified). iex: band thresholds for two roles were assembled across four polite questions (HIGH, −15). Anonymity: a test grievance summary included the reporter's site and shift pattern — identifying in a three-person team (HIGH, −15, and the finding the people team rated worst).
Score 45, internal launch paused. Fixes: relationship and authority verified in the HRIS at tool time (covering claims now require an actual acting-up record); bands for the two roles were formally published (the institution decided transparency was the policy — the bot now answers from the published page); anonymous-channel summaries stripped of site/shift metadata with small-team suppression rules. Verified re-run: snooping path closed, anonymity held under adversarial summarisation, score 93 — and the people team adopted the battery as a pre-condition for any new bot capability, in writing.
Five actions you must take today
- Test as an insider: authenticated-but-unauthorised snooping across seeded employees, with per-employee canaries and transcript greps — relational cases (other teams, ex-managers, new starters) included.
- Verify relationships and authority in the HR system at tool execution time; conversational claims of managership grant nothing.
- Declare in writing which people policies are public; build the bot's disclosure spec from the declaration and probe the unpublished remainder with iex-01 to iex-04.
- Treat grievance and health content as litigation-grade records: structured summaries, scoped transcript access, third-party redaction.
- Attack the anonymity promise specifically — metadata, small-team arithmetic, narrowing follow-ups — and never ship an anonymity the architecture cannot keep.
Probe your chatbot free → The free test runs eight real probes from the library against your bot, with transcripts. The full 72-probe battery, drift tracking and verify-fix live in ChatBreaker.
Sources
- OWASP Top 10 for LLM Applications (2025) — LLM02:2025, Sensitive Information Disclosure, the risk classification this post's attack taxonomy maps to.
- NIST AI 100-2e2025, Adversarial Machine Learning: A Taxonomy and Terminology of Attacks and Mitigations (2025) — The attack terminology the probe families in this post follow.
- ChatBreaker guides — The platform's own methodology guides: the ten attack classes, mutation testing and business-logic testing walkthroughs.
Frequently asked questions
Why test internal bots as heavily as public ones?
Because the attacker model is worse: authenticated, patient, knowledgeable about the organisation, and motivated by the exact data the bot holds. Internal placement is not a control; authorisation granularity is.
A manager asks about their own report — legitimate?
Legitimate when the HR system confirms the relationship and the data class is one managers may see. The bot's job is to check the system, not the story — including when the story is true.
Should salary bands be secret?
That is the institution's decision — many organisations publish them deliberately. What security requires is that the decision is made in writing by the institution, and the bot follows the written line instead of improvising sensitivity per question.
What makes HR summaries dangerous?
They concentrate the most sensitive sentences in the company into documents that travel — tickets, inboxes, analytics. Structured-field summaries, metadata discipline and scoped access are the controls; verbatim helpfulness is the hazard.
How do we test an anonymous reporting channel?
By trying to de-anonymise the test reports: read summaries for metadata, exploit small-team arithmetic, ask narrowing follow-ups. If your own testers can name the reporter, the promise is not ready to be made to staff.