Scope an AI audit around what can go wrong

A regional library is preparing to launch an AI-powered search tool for digitized historical collections. During a pilot, a response includes personal information from records that were never approved for public access. Management requests an audit, but a general review of AI se…

The director of a regional library network announces that an AI tool has made the local-history collection searchable in ordinary language. Residents can ask about an event, and the system returns a short explanation with links to digitized records. The library has thousands of old photographs, handwritten letters, newspaper clippings, and donation files. Some were meant for public access. Others contain private addresses, donor restrictions, or personal details about living people. After an early demonstration, a librarian discovers that a generated answer includes information taken from a collection that was never approved for public release. Management asks internal audit to review the AI project before the public launch. The first challenge is deciding exactly what the audit should cover.

A poorly scoped engagement could spend weeks evaluating the language model's accuracy and never test the permission boundary that allowed the disclosure. Another could attempt to audit every technology system in the library and produce no timely conclusion at all. Scope is the practical boundary around an assurance question. It is determined by the purpose, the risks, and the activities necessary to answer that question. In this case, the important issue is whether restricted collection material can influence information shown to a public user, and whether the library has controls that make that outcome acceptably unlikely. It would be a mistake to define the engagement as a general review of artificial intelligence merely because that is the label on the project.

For an optional written companion to this kind of planning problem, the Bare Metal Cyber AAIA study guide includes material on audit criteria, evidence, and accountability. It can help you organize the relationship between a risk and a possible assurance conclusion after listening. The plan itself should still be based on the organization's actual obligations and the applicable professional standards.

The library's business objective is worth understanding before questioning its control design. It wants people to discover useful historical information without requiring a specialist to navigate every archive. The expected benefit is better access and less staff time spent answering routine questions. The harmful possibility is that a tool designed for discovery exposes restricted personal information or presents a fabricated historical claim as fact. Those two failures may require different evidence. Privacy depends heavily on collection classification, retrieval permissions, and what happens to generated text. Reliability depends on source selection, grounded responses, human corrections, and how uncertainty is shown. The audit plan needs to decide which risks are central to its authorized purpose and which related questions require separate work.

Imagine the auditor begins by asking the library to describe one complete public request. A resident enters a question. The application sends that question to a retrieval service, which searches indexed text produced from scanned records. Selected passages are passed to a language model, and the application displays an answer. The original image may be stored on a different system, and a third-party provider may host the model. Staff can correct collection labels, but they cannot inspect all vendor processing. This explanation is already more useful than a product name. It identifies the places where restricted records could enter a response, where evidence may be held, and where the organization depends on another party.

An auditor should not automatically include everything touched by the technology. The question is which components can materially change the outcome under review. If the library's public website styling has no bearing on restricted information reaching the search service, a broad website design review may add little. If an outside text-extraction supplier produces the searchable index, excluding that supplier merely because the contract labels it a separate service could leave the central risk untouched. The boundary follows the failure path, not the organization's department chart. It also includes human decisions, such as who is permitted to change a collection from restricted to public and who approves that change.

The time period is another boundary that requires judgment. Management wants an opinion before the launch. The system operated in a closed pilot last month, and the library has changed the retrieval rules twice since the disclosure. An audit of the pilot can reveal how the problem occurred, but results from that earlier configuration cannot establish that the new settings operate reliably. Conversely, a short demonstration of today's configuration cannot prove how classification and release controls perform across ordinary operations. The auditor may need a prelaunch design assessment, targeted tests of the current version, and a clearly stated limitation on longer-term operating effectiveness. A future follow-up can examine sustained performance once the system has been used in production.

People sometimes hear scope as a list of things the auditor will inspect. That list matters, but it is only the surface. A strong scope also makes the exclusions intelligible. The audit may examine restricted-data protection in the search pipeline while excluding a complete assessment of historical accuracy across every document. This is a reasonable decision only if the accuracy risk has been evaluated and someone is responsible for it elsewhere. Calling something out of scope should never be a way to make a known consequential failure disappear. An auditor should record why the boundary is adequate for the stated objectives and what risk remains outside the conclusion.

There is an important difference between assurance and advisory work. In an assurance engagement, internal audit independently evaluates evidence against suitable criteria and reaches a conclusion within its approved scope. In an advisory engagement, auditors may help the library think through control options or facilitate a design discussion while management retains responsibility for decisions and implementation. The engagement's purpose affects how the work is described and what readers can reasonably expect from its results. If auditors are helping choose the vendor's filtering settings, they should avoid later presenting those same decisions as independently assured without addressing the resulting objectivity concern. Clarity at planning prevents an uncomfortable dispute after the report has been written.

The planning conversations must reach beyond the technology manager. Archivists know which materials carry donor restrictions and why. Privacy and legal staff can identify relevant obligations without assuming every rule applies in every jurisdiction. The vendor administrator knows what logs and configurations can be retained. Library service staff know what residents see and how they challenge wrong answers. The executive sponsor owns the approved use and business risk. None of these interviews can replace independent evidence, but leaving a key perspective out may cause the team to audit a simplified process that does not exist in practice.

The audit team also needs to understand the source of its evaluation criteria. Perhaps library policy requires restricted records to remain inaccessible to public users until an authorized curator changes their classification. Perhaps contracts set conditions on sending personal information to an outside model provider. Specific legal duties depend on the records, the jurisdiction, and the service relationship. Professional guidance can support a risk-based approach, but voluntary framework language is not automatically a legal obligation. In planning, the auditor identifies which requirements will govern the judgment and where management has yet to define a meaningful rule. Detailed criteria design deserves its own work; here the immediate task is to avoid promising assurance without an acceptable basis for judgment.

Bare Metal Cyber's Cyber Wiki entry on AI audit scope and criteria is a useful middle-of-course follow-up for this distinction. It connects the approved boundary and evaluation rules to the records that should support an engagement. In the library case, its practical value is the reminder that a polished system diagram cannot settle a scope dispute if the actual retrieval service or outside provider sits beyond the lines drawn on the page.

An effective planning process can now select several risk-based paths to examine. One starts with a clearly restricted collection and follows whether its extracted text could enter the public index. Another tests the decision to change a collection's classification. A third follows the response generated from a public request to see which evidence supports the passages shown to the resident. A fourth considers how an updated retrieval component reaches production. These are not tests that every AI audit must use. They are examples chosen because each addresses a plausible route to the library's stated harm. If the retrieval component is incapable of reaching restricted collections, evidence should demonstrate that boundary rather than merely assert it.

Planning also has to consider evidence feasibility. The library may retain document classification histories but not the exact passages sent to the model during its pilot. The provider may give aggregated usage figures but refuse per-request details. Without necessary records, a full historical reconstruction could be impossible. The auditor should identify that limitation before committing to a conclusion. Perhaps a controlled replay can test current behavior while historical operating effectiveness remains unassessed. Perhaps a supplier contract can support future logging, but a proposed logging change is not evidence of past compliance. A scope restriction is meaningful only when the report tells readers what it prevents the auditors from concluding.

A strong planning discussion asks what happens if the scope changes during fieldwork. Suppose the team discovers that a second indexing service creates its own search cache of restricted text. Leaving it out would undermine the central privacy objective. The auditor needs a documented change to the engagement boundary, a revised evidence request, and appropriate approval. The alternative is to silently test more than authorized or to ignore a material system because it was absent from the original plan. Under the Institute of Internal Auditors' Global Internal Audit Standards, engagement objectives and scope must be documented, and changes require the relevant approval under the standard. The exact internal workflow will follow the audit function's established methodology.

Resource limits can shape the order of testing, but they should not redefine reality. If the library wants an opinion before its annual community festival, the audit may not be able to examine every historical item. That can be a valid reason to use a targeted, risk-based engagement. It is not a valid reason to say that all private records are protected based only on five successful test prompts. Consider whether high-impact collections, unusual classifications, recently changed integrations, and prior exceptions are more informative than an easy sample of public documents. Sampling and evidence strength will come later in the course. The planning responsibility is to choose a credible route to answering the question and to avoid overstating what the evidence could support.

The boundary should identify the version and environment being examined. A development index may include invented test records, while the production index draws from real donations. An audit that tests only the harmless development environment will not demonstrate protection of actual restricted material unless its representativeness is established. A vendor may also change its model or retention settings between the pilot and launch. The plan should name which configurations, data sources, interfaces, and operating stages support the conclusion, along with how relevant changes will be tracked. A moving system demands disciplined time references, not a permanent freeze on improvement.

Communication completes the plan. Management should understand the assurance question, the included service and data flows, the period reviewed, the exclusions, the criteria to be applied, and the evidence needed. The auditors should understand the permissions and support required to obtain that evidence. If access restrictions prevent meaningful testing, the limitation should be escalated through the audit function's established process instead of being hidden in a footnote. Communication is also a chance to correct a misconception: internal audit can evaluate whether controls are adequate and working, but management still owns the decision to launch the library service and to accept or reduce the remaining risk.

Now imagine two possible audit plans placed before the library director. The first promises a comprehensive AI compliance review, requests every policy on file, and offers a maturity score at the end. The second states that it will assess the design and selected prelaunch operation of controls preventing restricted archival content from reaching the public search assistant. It includes classification changes, extraction and indexing paths, retrieval permissions, the model-provider boundary, selected output tests, and incident escalation. It excludes a complete historical-content accuracy review and explains that sustained production effectiveness cannot yet be assessed. The second plan tells readers what will be learned and why the boundaries fit the decision ahead of management.

An additional request may emerge after the engagement begins. The library director could ask whether the AI tool is a good investment. That question deserves consideration, but it may require a different objective, different evidence, and different expertise. Combining it casually with the privacy assurance work could dilute both. A disciplined auditor can explain the related question, recommend a separate engagement or formally amend scope, and avoid using an unrelated technology score as a substitute for examining the requested risk. The ability to say precisely what the work will and will not answer is part of professional competence.

The library's search tool may eventually provide valuable access to public history. The audit need not block that ambition or promise a flawless system. Its job at this stage is to shape a credible examination that follows the most consequential failure paths and makes limitations visible. Once purpose, boundary, period, people, criteria, and evidence are connected, the auditor can design work that produces a useful conclusion instead of an impressive collection of documents. The next lesson takes that planning discipline one step further by asking what, exactly, each audit objective must establish.

Scope an AI audit around what can go wrong
Broadcast by