Certified - AI Security Audio Course

An AI service-desk assistant suggests changing a customer's billing address using information drawn from a public service notice instead of the authenticated customer record. Its answer sounds reasonable, yet the evidence has crossed a boundary that should have kept those source…

Show Notes

An AI service-desk assistant suggests changing a customer's billing address using information drawn from a public service notice instead of the authenticated customer record. Its answer sounds reasonable, yet the evidence has crossed a boundary that should have kept those sources separate. This episode walks through a complete AI application, from employee authentication and access permissions to model inference, document ingestion, retrieval, and tool invocation. You will hear why training and inference are different stages, how search indexes become sensitive assets, and why deciding what a user may retrieve must happen before private material is placed in a model's context. The example grows into an agent workflow with connector credentials, draft actions, approvals and persistent memory. You will compare controls that merely influence model wording with independent services that enforce permission, restrict spending or block an unauthorized account change. The lesson also covers evidence-preserving logs, response to a poisoned source, and the steps needed to remove contaminated material from indexes or saved memory. These decisions show how architecture determines both the impact of a failure and the cost of recovering from it. This episode is produced by baremetalcyber.com.

What is Certified - AI Security Audio Course?

The AI Security & Threats Audio Course is a comprehensive, audio-first learning series focused on the risks, defenses, and governance models that define secure artificial intelligence operations today. Designed for cybersecurity professionals, AI practitioners, and certification candidates, this course translates complex technical and policy concepts into clear, practical lessons. Each episode explores a critical aspect of AI security—from prompt injection and model theft to data poisoning, adversarial attacks, and secure machine learning operations (MLOps). You’ll gain a structured understanding of how vulnerabilities emerge, how threat actors exploit them, and how robust controls can mitigate these evolving risks.

The course also covers the frameworks and best practices shaping AI governance, assurance, and resilience. Learners will explore global standards and regulatory guidance, including NIST AI Risk Management Framework, ISO/IEC 23894, and emerging organizational policies around transparency, accountability, and continuous monitoring. Through practical examples and scenario-driven insights, you’ll learn how to assess model risk, integrate secure development pipelines, and implement monitoring strategies that ensure trust and compliance across the AI lifecycle.

Developed by BareMetalCyber.com, the AI Security & Threats Audio Course blends foundational security knowledge with real-world application, helping you prepare for advanced certifications and leadership in the growing field of AI assurance. Explore more audio courses, textbooks, and cybersecurity resources at BareMetalCyber.com—your trusted source for structured, expert-driven learning.

An employee contacts a utility company's service desk because a customer says the address on a billing account is wrong. The company has deployed an AI assistant that can find account records, read internal procedures, and prepare a correction request. The assistant answers confidently that it has found the problem. Then an employee notices that the suggested correction uses an address taken from a public service notice rather than the customer's authenticated account. The response looks plausible. The evidence came from the wrong place. This is an illustrative situation, but it exposes an architectural issue that appears in many AI applications. To secure a workflow like this, we need to follow the request from one component to the next and ask where each component gets its information and authority.

Start with the user's identity. An employee signs in to the service-desk application through the company's normal identity system. That login establishes who is using the application, but it does not automatically mean the employee can view every customer's record or change every account. A separate authorization decision should determine which customer data the employee may retrieve and which operations are permitted. The AI assistant should inherit only those permissions required for the specific task. If it uses a powerful shared service account that can read the entire customer database, a small mistake in request routing may expose information the employee was never allowed to see. The boundary is between a verified identity and the specific records and actions that identity may access.

The application might then ask a language model to interpret the employee's request. The model is the part that generates or selects language based on its learned parameters and the context supplied with the question. It is not the entire service-desk system. The company may be using a model hosted by an outside provider, a model running on its own servers, or a mixture of services. The choice changes where information travels, who operates the infrastructure, and what contractual and technical controls are available. It does not remove the need for identity, authorization, and independent action checks. These remain the responsibilities of the application and its operators, regardless of how capable the model is at understanding a customer question.

If you want an additional foundation after listening, the CISSP audio course in Bare Metal Cyber Academy covers the broader security concepts of architecture, identity, and separating duties. Those ideas help explain why a model should propose an answer while a different, trusted component enforces the permissions around that answer. The workflow we are tracing does not require you to have studied that certification.

It is useful here to distinguish training from inference. Training is the process by which model parameters are learned or adjusted from examples. Inference is the use of an already available model to process a request and produce an output. The utility company may never train a model from scratch. It could purchase access to a capable model and supply company-specific context at inference time. That decision reduces some local training responsibilities but introduces dependencies on the provider and on the services that retrieve and deliver company information. The organization still needs to know how it handles prompts, whether they are retained, what data leaves its environment, and how it can detect and respond to a provider-side incident.

Now consider how the assistant obtains current billing procedures. A language model's learned knowledge is not a reliable substitute for a company's latest policies or individual customer records. The application may use retrieval-augmented generation, often shortened to RAG. A retrieval service searches a maintained collection of documents and sends relevant passages to the model along with the employee's question. The model then uses that material to prepare its answer. Retrieval can make responses more relevant and easier to verify, but it opens another route by which information enters the model. The retrieved material has its own source, permissions, update history, and reliability. It must not automatically become an instruction that can override the employee's legitimate request or the application's security rules.

Documents usually pass through an ingestion process before they become searchable. A source document is collected, its text is extracted, and it may be split into smaller passages. Search representations, sometimes called embeddings, help locate passages with related meanings. Those representations may be stored in a vector index. The exact mathematical representation is not needed to understand the security problem. The useful fact is that the index links a search result back to source material. If that link is incorrect, if a document is poisoned, or if a passage is stored without its access restrictions, the assistant can receive information that is inaccurate or unauthorized. A search index is therefore a protected data service, not a neutral pile of harmless words.

A common design error is to retrieve first and check permissions later. Suppose the system searches a shared collection containing records from several customer accounts and sends every matching passage to the model. The application plans to remove unauthorized details from the final answer. That plan relies on the model or output filter not revealing information it has already seen. The more defensible sequence is to authorize the employee's access before restricted passages are returned to the model. The retrieval service should be able to apply the account, role, or tenant restrictions tied to the request. Output screening can still catch mistakes, but it should protect a boundary that was already enforced upstream rather than substitute for that boundary.

Source reliability introduces another decision. The utility company has an internal procedure for changing billing addresses, but the assistant also searches public notices for information about regional service disruptions. Both sources may be legitimate for some questions. Only one source is authoritative for the address-correction procedure. If the assistant combines a public notice with an internal instruction and treats both as equally authoritative, the answer may be wrong. Worse, a malicious public notice could contain a statement directing the assistant to change an account. A document's content can be useful evidence without granting it the authority to command an application. Designers need a way to preserve that distinction whenever information from different trust levels is placed in the same model context.

The distinction becomes sharper once the assistant can invoke a tool. Suppose the employee asks for a draft correction request. The model responds with a proposed account number, old address, and new address. A separate application service should validate that the employee may act on this account, that the proposed change matches an authenticated customer request, and that the action is of a type the tool is permitted to perform. The tool should not accept the model's sentence as proof of permission. If the employee has only review authority, the application can create a draft and require someone else to approve the actual change. Those checks remain meaningful even if the model has been manipulated or has made an innocent mistake.

An assistant may have several tools. One retrieves customer records. Another reads policy documents. A third can open a work order. A fourth can transmit notifications. Granting all of these tools unrestricted access to one another may let a mistake spread from a low-risk question to a high-impact action. A well-designed application gives each tool the minimum permissions it needs and limits how the assistant can combine them. In some systems, a human confirmation step is necessary before the assistant changes customer information or contacts an outside party. Those controls are a response to consequences, not a claim that model-generated actions are always unsafe. A read-only lookup can be automated more freely than an irreversible financial or security action.

The Cyber Wiki at Bare Metal Cyber includes material on AI data preparation and on how data moves into evaluation and use. It provides optional background if you want to revisit why source lineage and document handling are part of AI architecture. In our utility example, the practical concern is that a public notice, an internal procedure, and an individual customer's record need different permission and trust treatments, even if the assistant reads them within one conversation.

Credentials deserve separate attention because the model's connection to a tool often depends on them. An application may use a token to call the billing service. That token should be stored and handled by trusted software, not pasted into prompts or exposed in normal answers. If the model is tricked into asking for the token, a properly designed tool boundary still prevents it from obtaining or sending the secret. A service account with broad standing privileges can weaken this protection, particularly if the same credentials are reused across retrieval and account updates. Short-lived, narrowly scoped credentials and independent checks help keep a compromised conversation from turning into control over unrelated systems.

The boundary is not only about confidentiality. Availability can fail when one request launches repeated model calls or endless tool use. An agent that plans several steps may keep searching for an answer, reopening the same documents, or triggering external services until a budget or rate limit is exhausted. The application should constrain how long an agent may operate, how many expensive actions it can request, and what it should do when the limits are reached. A safe fallback could ask the employee to handle the case manually. Without those constraints, an ambiguous customer request can become a service problem even in the absence of an intentional attacker.

Persistent memory creates another route across boundaries. Some assistants store summaries or preferences for later sessions. A note added today may influence a decision next week. That memory is not the same as permanently retraining the underlying model. It is separately stored context that the application chooses to retrieve. If an attacker can alter the saved summary, they may influence future actions without remaining present in the active conversation. Memory entries therefore need source attribution, permitted scope, retention rules, and a way to inspect or remove corrupted material. A system that enforces strong permissions for the current request but trusts every remembered instruction may recreate the original weakness through a different component.

The team also needs to plan for errors that are not attacks. A billing procedure can be outdated. Two customer accounts may share similar names. A retrieval service can rank the wrong document highest. An employee can supply an ambiguous request. The model may synthesize an answer that sounds certain despite contradictory evidence. One architectural response is to preserve source links and require the assistant to disclose uncertainty when the evidence does not resolve the question. Another is to require a human to confirm identity-sensitive corrections. Confidence in a generated sentence is not a substitute for an authenticated record or an established business rule. The surrounding workflow should decide which mistakes it can tolerate and which must trigger additional review.

Threat modeling can be performed as a spoken walk through the utility request. At intake, we ask whether the caller is the authenticated employee and whether the request identifies the right account. At retrieval, we ask which records and procedures the employee can see. As the model receives context, we ask whether external text can be mistaken for a higher-priority instruction. At tool invocation, we ask what service will enforce the requested operation. At output, we ask whether the answer is supported by the records and whether any restricted information may leave the system. Finally, we ask what the logs will show if the correction turns out to be wrong. Each question names a boundary where a failure could occur and a control can be placed.

Those boundaries are easier to test when each component is observable. A security team might need to know the identity of the requester, the model and application versions, which documents were retrieved, which tool was called, and whether authorization allowed the operation. The team does not necessarily need to save the entire conversation in every log. Customer information may be sensitive, and unrestricted logging creates new exposure. Systems can record identifiers, decisions, limited contextual evidence, and protected investigation references while applying strict access and retention controls. The purpose is to reconstruct the sequence of events accurately, without making incident investigation another source of unauthorized disclosure.

Suppose the company discovers that a corrupted public notice was being returned as a top search result and had influenced several draft corrections. The first step is to stop the questionable material from being used, preserve enough evidence for investigation, and determine whether any account actually changed. If tools were restricted to draft-only operations, the organization may be able to review and reject affected drafts without reversing completed changes. If an unrestricted tool changed records, the response may require restoring verified account data and checking for further actions. The same suspicious document can produce very different incident severity depending on where the application enforced its action boundary. Architecture shapes both the likelihood of harm and the effort required to recover.

Recovery is not simply a matter of deleting a bad sentence from an instruction prompt. The company may need to remove a contaminated document from its source collection, refresh the index, verify that stale copies are no longer retrieved, review saved agent memory, and rerun its tests. If model weights or deployment artifacts were compromised, a verified earlier model might need to be restored. Each action addresses a different storage or execution layer. Treating the application as one undifferentiated chatbot makes it harder to know which component must be repaired. A mapped architecture gives investigators an inventory of the places where bad information or excess authority could persist.

One more design choice illustrates how the security boundary can move. If the company replaces its hosted model with a locally operated one, it may reduce the need to send prompts to an external provider. It also assumes more responsibility for securing model artifacts, compute infrastructure, updates, and access to the serving environment. Local deployment is not automatically safer; it changes the distribution of trust. Similarly, separating customer records from general policy documents improves control only if the application actually enforces those separate permissions. Security architecture is defined by the behaviors and restrictions that exist in the running system, not by reassuring labels attached to components.

The original wrong-address suggestion came from a specific failure: information retrieved for one purpose was treated as though it authorized a change for another. A safer system authenticates the employee, retrieves only permitted records, keeps external material separate from governing instructions, and makes a trusted service approve any consequential action. It preserves enough evidence to explain a decision and has a known recovery path if a source or component is compromised. That chain is the foundation of secure AI architecture. We can now examine an earlier part of the chain in greater depth: the lifecycle of data itself, from the first decision to collect a record through its transformations, retention, and eventual deletion.