Inspect the controls that shape AI development
A regional travel operator is building an AI assistant to help staff handle disrupted holiday bookings. The assistant reads reservation details, drafts an explanation for the customer, and recommends a credit when the operator cancels a trip. During a development demonstration, someone places a sentence inside a supplier message telling the assistant to approve a much larger credit and treat the instruction as company policy. The assistant obediently includes the larger amount in its draft. Nothing has been deployed yet, and no customer has received the credit. The development team has nevertheless discovered that the application confuses outside content with authority.
This fictional situation illustrates what secure AI development controls are meant to prevent. The model's fluency is not the assurance boundary. The complete application includes customer records, supplier messages, instructions, business rules, connections to reservation systems, and people who may act on the output. Every one of those parts can change behavior. An auditor assessing development practices therefore needs to know how teams identify consequential changes, challenge them before release, protect sensitive information, and connect the system eventually deployed to the evidence used to approve it.
The travel operator has two distinct responsibilities. It must build software that behaves predictably at its own interfaces, and it must evaluate the less predictable behavior of the language model within those interfaces. Ordinary development safeguards still apply: access control, version control, peer review, safe handling of secrets, testing, and dependable releases. AI adds artifacts that may be easy to overlook, such as a system prompt, a retrieval index, a tool description, evaluation examples, and the exact model or service version. A change in any one of them may alter how the assistant responds without changing familiar application code.
Bare Metal Cyber's Cyber Wiki entry on AI model artifact audit trails is useful for following that development evidence after listening. It explains why a deployed model or service needs connections to code, configurations, data references, evaluations, approvals, and the release package. In the travel example, the auditor should be able to identify which assistant configuration produced the excessive-credit suggestion and whether the tested version is the same one later offered to staff. The article is optional follow-up reading, not an instruction to inspect a screen during this lesson.
Begin with the path an outside message takes. The travel operator receives a supplier's cancellation notice. The assistant summarizes it for a booking agent, who then prepares a customer response. Supplier content is useful evidence about the cancellation, but it is not permitted to change the operator's refund policy. The application must keep those roles separate. It can present an external message to the model as information to consider, while a separately enforced business rule limits the credits the assistant may recommend or authorize. The key safeguard is an actual permission boundary, not a reassuring instruction that the model should always obey company policy.
During development, someone needs to identify which components cross that boundary. A reservation lookup may expose customer contact information. A supplier-message feed may contain deceptive text. A credit service may create a financial liability. The application may also send request details to a hosted model provider. Mapping these dependencies helps the team decide where authentication, authorization, data minimization, logging, and independent checks belong. A developer who sees only an assistant conversation may miss the much more consequential service calls happening behind it.
Reviewing changes to source code is a familiar preventive control. In this system, that review should also examine a new tool permission, revised prompt instructions, and altered business logic. A small change that lets the assistant submit credits rather than merely draft them deserves more scrutiny than a change to the wording of a help message. The organization can classify changes by consequence and route sensitive ones to specialists in security, finance, privacy, or customer operations. Review independence should be credible for the risk. A second developer clicking approve without considering what changed adds little protection.
Consider a developer who fixes the supplier-message problem by adding a sentence telling the assistant to ignore instructions from outside documents. That may help in some cases, but it does not establish a dependable boundary. External text can still be crafted to resemble legitimate instructions, or a later prompt change can weaken the defense. The operator should enforce important limits outside the model, such as requiring an authorized business-rule service to calculate the maximum permitted credit. If the assistant requests an amount above that limit, the transaction must be rejected regardless of how persuasive its explanation sounds.
Tests need to prove those controls operate. One test can check that the credit service refuses an unauthorized amount. Another can confirm that a supplier note containing misleading commands does not change the approved booking rules. An integration test can verify that the assistant receives only the customer information necessary for the task. A test of the full workflow can have a booking agent handle a disrupted trip using incomplete supplier information. Each test answers a different question. Passing a language-model benchmark does not show that the credit service, permissions, or human workflow is safe.
Developers should record which inputs, conditions, and versions produced the test outcome. If the model uses variable responses, a single successful demonstration may not establish that the problematic behavior has been controlled. The team can repeat representative scenarios, vary the wording of hostile supplier text, and measure failures under the relevant operating conditions. Exact repetitions may not always yield identical generated wording. The more important question is whether the enforced business boundary holds across that variation. A reliable control should not depend on the model producing precisely the same sentence every time.
The same care applies to development data. Engineers may wish to copy production bookings into a test environment because the records feel realistic. Those records can include payment details, travel histories, contact information, and complaints. An appropriate test strategy may use suitably protected or synthetic data and restrict any approved production-data access. The team should know what information is transmitted to an external service and what that provider retains under the applicable agreement. Security and privacy are not accomplished by publishing a policy that developers routinely bypass to finish testing.
For a midpoint practice exercise, Bare Metal Cyber's AAIA Cyber Challenge can reinforce the distinction between a control requirement and the evidence that proves it works. Its questions are independent practice, not official examination items. After this lesson, a useful line of reasoning is to ask whether a failing assistant needs stronger instructions, a real authorization check, a more complete test, or several controls working together. The purpose is to build judgment about failure mechanisms rather than memorize the names of development tools.
Development teams also depend on packages, model services, and third-party components. A new software library may introduce a known vulnerability, and a changed hosted model may behave differently on the same supplier message. Teams should track material dependencies, assess updates, and understand what they can delay, pin, test, or roll back. A vendor's security claim is an input to that decision, not proof that the customer's complete assistant is secure. If the organization does not control a provider update, it still needs a plan for detecting harmful changes in the behavior it exposes to staff.
Build pipelines are helpful because they can run agreed checks before changes enter a release. But an automated pipeline can provide false confidence if it skips a test when a dependency is unavailable, treats a warning as success, or uses an evaluation set unrelated to current risk. The team should define what a failed mandatory test means and who can grant an exception. For a service able to affect refunds or expose private bookings, an exception must be understood and authorized rather than hidden in a green status indicator. Tests are evidence only to the extent that their scope and results are trustworthy.
An AI assistant can also change because its reference material changes. Suppose customer-service managers upload a new refund procedure to the search collection the assistant uses. The application code and model service may remain untouched, but the assistant now draws on different information when drafting answers. That content update needs appropriate ownership, review, and a way to identify which material was available when a disputed response occurred. If the supplier's message is mistakenly added to an internal policy collection, the trust boundary has been crossed even though no programmer edited the assistant's system instructions.
The organization should protect secrets and privileges used by the application. Engineers might need temporary access to a model service, a reservation sandbox, or a test credit endpoint. Those privileges should be limited to their work and removed when no longer required. Credentials should not appear in prompts, repository files, test transcripts, or ordinary logs. A compromised assistant should not inherit broad financial authority from a shared service account. The safer design uses narrowly scoped permissions and checks the calling user's authorization at the point a consequential action is requested.
Logging creates a tradeoff. Investigators need to know which version processed a request, what authorized tools were called, and why a rule rejected a proposed credit. But collecting full customer conversations indefinitely can introduce its own exposure. Development teams should decide which evidence is needed, how it will be protected, and how long it is retained under applicable requirements. A useful audit record can often identify a transaction, model version, decision rule, and outcome without placing unnecessary sensitive details into a widely accessible engineering log.
Traceability becomes decisive when a release is challenged. For one credit recommendation, the operator should be able to identify the application version, the relevant instructions, the source material available, the model or provider release, the limits in force, and the tests supporting approval. Cryptographic checks or signed artifacts can strengthen integrity and authenticity claims where implemented appropriately. They do not establish that the underlying business rule was correct or that the model's reasoning was safe. They help show which artifact was used, so evaluators can apply the right evidence to the right system.
A team sometimes learns more from changes it rejected than from those it released. Imagine a proposed update that improves how quickly the assistant answers customers but also causes it to ignore missing booking details. A reviewer blocks the change, a developer fixes the missing-information handling, and the team retests the affected workflows. Retaining that history shows that the review process can challenge release pressure. An empty approval record, by contrast, may show that the organization has a workflow, but reveal little about whether the workflow catches meaningful defects.
Emergency corrections need controls as well. If the supplier-message attack is found after deployment, the operator may need to disable the assistant's ability to recommend credits immediately. A responsible process can permit expedited containment and limited remediation while recording who authorized it, what version was changed, and which tests were performed before restoring capability. An emergency is not a reason to lose the ability to reconstruct the change. It is a reason to preserve enough accountability while protecting customers and operations.
An auditor could evaluate this development process by following one material change end to end. Select a change that affected a tool permission or supplier-content handling. Locate the original problem report, the design decision, the reviewed source and configuration, the security and workflow test results, and the release authorization. Verify that the production service actually received the approved change. Then ask what happened to a rejected or failed test. If staff circumvented the review process to deploy a prompt change, the control failure may exist even when the new prompt seems harmless during a demonstration.
There is no need to prescribe the same engineering machinery to every AI product. A small advisory tool and a service capable of granting customer credits have different consequences. Both need a coherent boundary, but the depth of independent review and testing should reflect what the system can actually do. The travel assistant's most important controls are the ones that prevent an untrusted message from becoming authority, protect booking information, and connect each released capability to tests and approvals. More tools cannot compensate for a missing permission boundary.
The supplier-message demonstration began with a surprising draft refund. By tracing the assistant's data sources, business rules, permissions, changes, tests, and release evidence, the operator can identify why that draft was possible and whether the correction is dependable. Secure AI development is not a guarantee that models will never produce wrong text. It is the disciplined work of preventing uncertain or hostile text from gaining powers it was never meant to have, and of showing that the version placed in service received the scrutiny its consequences require.