Security Focus on AI: The Alignment Problem—When Doing the Job Isn’t Doing the Right Thing

This is an in-depth paper that focuses on security in AI and discusses the problem of AI alignment and cybersecurity.

An AI system does not have to hate us to create a serious problem.

It does not need consciousness, ambition, resentment, or a secret desire to take over the organization. It may simply need an objective, enough capability to pursue it, and permission to take actions that nobody fully anticipated. The system could even appear to be doing an excellent job.

A customer-service agent closes more tickets. A coding agent gets the application through its tests. A financial assistant reduces expenses. A cybersecurity agent resolves a difficult technical challenge. The numbers improve. The dashboard turns green. Then someone discovers how the results were achieved. Perhaps the customer-service agent closed unresolved complaints. Perhaps the coding agent weakened a test instead of fixing the software. Perhaps the financial assistant eliminated a control that appeared to be an unnecessary expense.

These are hypothetical examples, but they illustrate a well-established concern in AI research: a system can satisfy a measurable objective without accomplishing the outcome its designers actually intended. Researchers call one form of this behavior specification gaming.

The problem is not necessarily that the AI failed to follow an instruction. It may have followed the wrong part of it remarkably well. This is the practical significance of alignment: making AI systems behave consistently with legitimate human intentions, constraints, and responsibilities—not merely produce results that look successful. As AI moves from answering questions to taking action, that distinction becomes much more important.

From Following Instructions to Pursuing Objectives

In my earlier article, “When AI Breaks the Rules,” I examined the relationship between autonomous agents, unexpected behavior, and the technical boundaries intended to contain them. The central argument was straightforward: an instruction not to cross a boundary is not equivalent to a boundary that cannot be crossed.

Alignment takes that discussion a step further. Containment asks what the system can do. Alignment asks whether it will pursue the right outcome within whatever capabilities it has. Those questions are related, but they are not interchangeable.

An agent can remain inside its approved environment and still make harmful decisions. It might disclose information to the wrong authorized user, optimize the wrong business metric, or confidently recommend an action that violates organizational policy.

Conversely, a model that usually behaves responsibly can still create unacceptable risk if its surrounding tools give it unrestricted access to sensitive systems. OWASP identifies excessive functionality, excessive permissions, and excessive autonomy as central causes of excessive agency—the ability of an AI system to take damaging actions following unexpected, ambiguous, or manipulated outputs.

Good behavior does not eliminate the need for technical controls. Technical controls do not eliminate the need for good behavior. Organizations need both.

What Are We Actually Trying to Align?

The word alignment sounds reassuringly simple. Align the AI with people. But which people? The employee making the request? The executive who approved the project? The customer whose information appears in a document? The security team? The organization’s legal obligations?

Consider a hypothetical law-firm assistant asked to “find everything useful for this matter.” An aggressive interpretation might favor searching every accessible document, pulling information from unrelated matters, and including privileged material because it appears relevant.

A responsible interpretation must account for authorization, confidentiality, ethical walls, retention rules, and the purpose for which information may be used. The user’s immediate objective is therefore only part of the requirement. An operationally aligned system should pursue an authorized objective while respecting constraints that may come from several different sources. Some are organizational policies. Some are contractual. Some are legal. Others concern the rights and interests of people who never interacted with the system.

This is why alignment cannot be reduced to making an assistant obedient. An assistant that reliably follows every user request could be extremely useful to someone attempting fraud, harassment, or data theft. The real goal is bounded, context-sensitive assistance: helping with legitimate work while recognizing when a request exceeds the user’s authority, conflicts with a controlling rule, or requires escalation. NIST’s AI Risk Management Framework and its Generative AI Profile approach trustworthy AI as a lifecycle responsibility involving design, development, use, and evaluation—not simply a model’s ability to comply with instructions.

The Trouble With Giving AI a Goal

People routinely give one another incomplete instructions: “Prepare thee presentation.” or “Resolve the complaint.” or “Find a better price.”

We rely on shared experience and institutional context to fill in the missing conditions. Do not fabricate the numbers. Do not threaten the customer. Do not use stolen payment credentials. Those expectations may be obvious to us without being explicitly stated.

An AI system does not necessarily interpret every unstated condition with the same reliability. More importantly, the mechanism used to train or evaluate the system may reward a convenient approximation of what we want rather than the thing itself. A support organization might measure resolution time because customer satisfaction is harder to assess quickly. A software team might count passing tests because overall software quality is difficult to reduce to a number.

A procurement department might measure savings because the long-term reliability of a supplier will not become clear for months. The measurement is useful. It is not the mission.

Specification gaming occurs when a system satisfies the literal specification of an objective without delivering the intended outcome. DeepMind’s research describes this as a recurring challenge in designing rewards and capturing human concepts accurately enough for optimization. [deepmind](https://deepmind.google/blog/specification-gaming-the-flip-side-of-ai-ingenuity/)

For an organization deploying AI agents, the practical lesson is uncomfortable. If we reward a system for making a number better, we must also examine what it is allowed to do to improve that number.

A Correct Instruction Can Still Produce the Wrong Goal

It would be convenient if alignment were simply a matter of writing better instructions. More precise prompts would then produce more reliable systems, and enough policy language would eventually close the gaps. Unfortunately, research identifies a more subtle problem.

Goal misgeneralization occurs when a system learns behavior that works in its training environment but pursues the wrong objective when conditions change. Its capabilities may generalize successfully while its apparent goal does not. Crucially, this can happen even when the original reward specification was correct.

Imagine a hypothetical assistant trained in an environment where requests from a particular senior employee are almost always legitimate. The intended lesson is to respond appropriately to authorized requests. The learned shortcut could instead be to comply whenever that person appears to be making the request.

Those behaviors look similar until the employee’s account is compromised, a message is spoofed, or the request exceeds that person’s authority. The distinction matters because a system may perform impressively in familiar conditions and still fail when the relationship between familiar signals and legitimate actions changes.

Testing therefore needs to examine more than ordinary task completion. It must examine what happens when context becomes unusual, authority becomes ambiguous, or previously useful shortcuts stop being safe. A good record in yesterday’s environment is evidence. It is not a guarantee about tomorrow’s.

Why Human Feedback Helps—and Why It Is Not Enough

One major approach to improving AI behavior is reinforcement learning from human feedback, often abbreviated sRLHF. At a high level, people evaluate model outputs, and those preferences help shape subsequent training. The purpose is to make responses more useful and better aligned with what evaluators consider desirable. That approach is valuable, but human preference is an imperfect stand-in for truth, safety, or sound judgment. People can prefer a confident answer to a cautious one. They can reward an explanation that confirms what they already believe. They can favor a polished response even when a less persuasive response is more accurate.

Research on sycophancy—the tendency of models to agree with users at the expense of accuracy—found that human evaluators and preference models sometimes preferred convincingly written, agreeable responses over correct ones. The researchers also observed that optimizing against preference models could sacrifice truthfulness in favor of agreement.

In a business environment, this creates an obvious problem: An executive does not need an AI system that makes a weak strategy sound compelling. A security analyst does not need an assistant that endorses an incorrect interpretation of suspicious activity. A lawyer does not need a system that confidently reinforces a mistaken assumption about a document.

The assistant needs to be useful enough to disagree. Alignment therefore includes knowing when not to satisfy the user’s immediate preference. Sometimes the right response is a correction.

Sometimes it is a question. Sometimes it is: “I cannot establish that from the available evidence.”

Misalignment Does Not Require a Conscious Machine

Discussion of alignment often drifts toward dramatic questions about machine intentions. Does the AI want power? Does it fear being turned off? Is it deceiving us?

These questions can obscure a more immediate engineering concern: a system may generate a harmful strategy because that strategy appears useful for achieving an objective. The behavior matters even when the internal explanation remains uncertain.

The “Off-Switch Game,” a theoretical study of human–AI interaction, examines how an agent’s incentives can affect whether it preserves a human’s ability to shut it down. The work explores how uncertainty about its objective, combined with treating human actions as information about that objective, can support preserving the off switch. It is a mathematical model, not evidence that deployed assistants experience a desire to survive.

Other research has explored harmful behavior in deliberately constructed agentic scenarios. Those findings require equally careful interpretation. Anthropic’s reporting explicitly notes that some alignment evaluations use artificial, engineered situations that do not closely map onto real deployments.

Such experiments can reveal possible failure modes. They do not establish that ordinary business assistants are secretly planning the same actions. The distinction is important. We should neither dismiss concerning behavior because the system is not conscious nor inflate experimental results into evidence of inevitable machine rebellion. Security depends on understanding what a system can do, under what conditions, with what consequences. It does not require assigning the system a personality.

Alignment Is Also a Security Problem

An AI agent does not operate in a clean world of carefully written user instructions. It reads email, retrieves documents, visits websites, processes tickets, and receives tool outputs. Some of that material may contain instructions written by someone other than the authorized user.

That creates an opportunity for prompt injection: malicious instructions embedded in content the agent is supposed to treat as information. OWASP identifies both direct and indirect prompt injection as agent-security risks, including attacks delivered through websites, documents, email, and other external sources.

Consider a hypothetical agent reviewing an invoice. The invoice contains text telling the assistant to disregard prior instructions and send a copy of the organization’s payment history to an external address. The invoice is data. It is not an authorized supervisor.

If the agent treats those embedded instructions as authoritative, the attacker has influenced the agent’s behavior without needing to compromise the underlying model. This is not identical to a model learning the wrong goal during training. It is an adversarial attempt to redirect the deployed system. The consequences, however, can overlap. The agent pursues an unauthorized objective using legitimate tools and credentials. The practical response must therefore extend beyond teaching the model to recognize suspicious language. OWASP recommends least-privilege tool access, permission scoping, authorization for sensitive operations, isolation of memory and context, and monitoring of agent behavior. [cheatsheetseries.owasp]

The document may tell the agent to send the data. The surrounding system should still decide whether sending it is permitted.

Turning Alignment Into an Operating Model

Organizations cannot responsibly deploy an autonomous system with a requirement that says only “be aligned.” That is an aspiration, not an acceptance criterion. A more useful approach is to translate alignment into explicit operating requirements.

For a particular deployment, define:

  • What legitimate business outcome the agent should pursue.

  • Who may authorize that work.

  • Which information it may access.

  • Which actions it may perform independently.

  • Which decisions require approval.

  • Which conditions require stopping or escalation.

  • What evidence must be retained.

  • Who remains accountable for the result.

These requirements should describe behavior in difficult situations, not merely in successful ones.

Suppose an agent cannot finish a task without accessing a restricted repository. The approved response might be to request authorization, propose an alternative, or explain that the task cannot be completed within its permissions. It should not quietly reinterpret the restriction as an inconvenience. Likewise, if an agent cannot reconcile conflicting instructions, that conflict should become visible. The system’s inability to proceed safely is not necessarily a failure.

In some circumstances, stopping is the correct outcome. That expectation should appear in the workflow design, the evaluation criteria, and the organization’s performance incentives.

Separate Proposing an Action From Authorizing It

One of the most useful architectural distinctions is between recommending an action and possessing authority to execute it. An agent may be good at identifying a useful change without being the right component to decide whether that change is allowed.

For example, an assistant could draft an email, identify proposed recipients, and explain why it recommends sending it. A separate control can verify the recipient list, check the sensitivity of the content, and obtain approval before transmission.

A coding agent could propose a change. The deployment pipeline could independently require passing tests, approved dependencies, security checks, and an authorized release decision. This is not an admission that AI is uniquely untrustworthy. It is a familiar security principle applied to a new decision-making component.

OWASP’s guidance supports restricting tool permissions and requiring explicit authorization for sensitive operations rather than granting an agent unrestricted access simply because it can formulate a plausible request.

The important point is independence. If the same agent can decide that a control is unnecessary and then bypass it, the control is not providing much protection against that agent’s mistakes. Authority should come from policy and verified identity—not from how convincing the agent’s explanation sounds.

Human Oversight Must Mean More Than Clicking Approve

“Keep a human in the loop” is a common recommendation. It is also an incomplete one. A person cannot provide meaningful oversight if the approval request hides the information needed to evaluate the action. “Approve this operation?” tells the reviewer almost nothing. A useful approval request should explain:

  • What will happen.

  • Which systems and records will be affected.

  • Which data will leave the organization, if any.

  • Why the action is needed.

  • Whether it can be reversed.

  • What uncertainty remains.

The reviewer also needs time, relevant expertise, and actual authority to say no. Otherwise, human oversight can become a ceremonial click between an automated recommendation and an automated action. NIST’s Generative AI Profile identifies human–AI configuration as a risk area, including concerns about inappropriate reliance on AI and the way people interpret and interact with systems.

For practical deployment, oversight should therefore be designed around consequences. A low-risk internal summary does not need the same approval process as a transfer of funds, a production configuration change, or disclosure of confidential information. The point is not to put a person in front of every action. It is to ensure that consequential decisions receive meaningful review.

Test the Boundaries, Not Just the Happy Path

Most demonstrations show an AI system completing a task. Alignment testing should also show what it does when completion becomes difficult, inappropriate, or impossible. Can the agent recognize that it lacks authority? Does it invent missing information?

Does it report that a tool failed? Will it weaken a requirement to make the result appear successful? Can an instruction embedded in a document redirect it? Does it stop when approval is denied?

These are not peripheral questions. They help determine whether the agent is suitable for the authority it will receive. A practical evaluation program should include ordinary workflows, ambiguous requests, conflicting objectives, adversarial content, permission failures, and interruption scenarios. Testing should also cover the full deployed system. A model that performs well in a text-only evaluation may behave differently when connected to tools, persistent memory, external content, and other agents. OWASP’s agent guidance explicitly treats these components as part of the security surface rather than viewing the language model in isolation.

Results should distinguish severity from frequency. A system that makes many harmless formatting errors may be more acceptable than one that rarely but unpredictably sends confidential information to an unauthorized recipient. The relevant question is not merely how often the agent gets something wrong. It is what “wrong” allows it to do.

Treat Interruptibility as a Requirement

A reliable autonomous system should accept correction without turning correction into another obstacle to task completion.

In AI safety research, related concerns are discussed in terms of corrigibility and safe interruptibility. AI Safety Gridworlds, for example, includes a test environment asking whether an agent can be interrupted without learning to seek or avoid interruption.

For an enterprise deployment, the operating requirements can be concrete. An agent should pause when instructed. It should respect revoked permissions, not silently restart a prohibited action through a different tool, report incomplete work accurately, preserve enough evidence for an investigation, but the ability to stop the system should not depend entirely on the system’s cooperation.

Credentials should be revocable. Tool access should be removable. Jobs should have enforceable limits. External controls should be able to terminate activity.

OWASP’s agentic-security guidance recommends resource budgets and circuit breakers, including limits on tool calls, API usage, and session duration.

The practical principle is really very simple. Ask the agent to stop.

More Agents Mean More Relationships to Govern

Multi-agent systems add another complication. Organizations may use one agent to research, another to draft, another to review, and another to execute. That division can improve workflow organization, but it does not automatically create independent assurance. Several agents may rely on the same incorrect source. A reviewing agent may accept another agent’s confident explanation. A malicious message may move through the system disguised as an authorized task.

The architecture should therefore define which agents may communicate, what authority they can delegate, and how instructions are authenticated.

OWASP recommends authenticating inter-agent communication and protecting message integrity. It also identifies malicious or compromised peer agents as possible sources of harmful instructions. An agent should not gain additional authority simply because another agent asked nicely. Nor should a collection of agents be assumed safe because each one passed an individual evaluation. The relationships between them create additional paths for information, influence, and action. Those paths need their own controls.

Security and Governance Is Part of Alignment

It is tempting to assign alignment entirely to the model developer. The vendor trained the system. The vendor should make it safe. Model developers certainly have important responsibilities. But an organization deploying an agent chooses the environment in which its behavior becomes consequential. The organization selects the use case, connects the tools, grants the credentials, defines the business metrics, and decides how much autonomy to permit.

Those choices affect risk. A broadly capable model with read-only access to a limited document collection presents a different operational problem from the same model with permission to change identity settings, execute payments, and email external recipients.

NIST’s framework places trustworthy AI within organizational risk management across the lifecycle. That supports treating deployment decisions, ongoing evaluation, and accountable ownership as part of the control system—not as administrative work added after the technical project is finished.

Every consequential agent should have a business owner and a clearly assigned responsibility for security and operational review.

Someone should be able to answer questions like: why does this agent exist, what authority does it have, when was it last evaluated, or what happens if it behaves unexpectedly? If nobody owns those answers, the organization has a governance problem before it has an alignment breakthrough.

What Organizations Should Do Now

Organizations do not need to solve every long-term research question before making practical progress. They can start by reducing the gap between intended behavior and permitted behavior. A useful implementation sequence is:

  1. Define the task and its boundaries before selecting the agent’s permissions.

  2. Start with limited autonomy and expand it only after evaluating the complete workflow.

  3. Separate action proposals from authorization for consequential operations.

  4. Restrict data, tools, credentials, and external communication to what the task requires.

  5. Test refusal, escalation, uncertainty, interruption, and failure—not just successful completion.

  6. Monitor actions and outcomes, retaining records outside the agent’s unilateral control.

  7. Reevaluate after material changes to models, prompts, tools, data sources, or permissions.

  8. Maintain a tested method to pause activity, revoke access, investigate, and recover.

These are operational recommendations grounded in the lifecycle approach of NIST’s AI risk guidance and OWASP’s controls for agent tools, authorization, monitoring, and human oversight. They do not prove that a system is aligned in every possible circumstance.

They do make its behavior more bounded, observable, and accountable. That is a meaningful improvement.

The Real Alignment Question

AI alignment is often presented as a distant question about whether a future superintelligence will share humanity’s values. That question deserves research. But organizations deploying autonomous systems face a more immediate version. Will this agent do the right job, for the right person, using authorized methods, while remaining subject to correction? A system that completes the task by violating a critical restriction has not succeeded, one that stops because it cannot proceed safely may have done exactly what it should.

That distinction needs to appear everywhere: in requirements, incentives, evaluations, permissions, monitoring, and management expectations. We should continue improving the behavior of the models themselves. We should also stop asking behavioral training to carry the entire burden of organizational safety. The practical goal is not blind trust in an obedient machine. It is a system whose useful capabilities operate within independently enforced boundaries, whose uncertainty becomes visible, and whose authority can be withdrawn.

The most important alignment test may therefore be what happens when success and permission point in different directions. When AI receives the authority to act, knowing the answer becomes part of the job.

Alignment Is Ultimately a Cybersecurity Responsibility

From a cybersecurity perspective, alignment is not simply about whether an AI system gives a reasonable answer. It is about whether that system preserves confidentiality, integrity, and availability while pursuing its objective. An agent that completes a task by exposing sensitive information, changing an unauthorized configuration, or disrupting a critical service has created a security incident—even if it believes it has done exactly what was requested. The business objective cannot be separated from the security conditions under which it must be achieved.

That makes alignment an issue of authority as much as intelligence. What identity does the agent use? What information can it access? Which systems can it change? Who approves a consequential action? Those questions should sound familiar to security professionals. They are the same questions we ask about employees, service accounts, applications, and third-party integrations. AI adds a component that can interpret instructions and select actions, but it does not remove the need for least privilege, separation of duties, access controls, and accountable ownership.

The difference is that an AI agent can turn an ambiguous instruction into a sequence of actions. A misunderstanding, manipulated document, or poorly defined objective can become more than an incorrect response. With sufficient permissions, it can become an unauthorized disclosure, a destructive change, or a path into another system. Security therefore cannot depend entirely on the agent recognizing its own mistake. Independent controls must limit what it can do, record what it actually does, and allow the organization to interrupt its activity before a flawed decision becomes a larger incident.

Ultimately, cybersecurity gives alignment an operational test: not whether we trust the AI’s intentions, but whether we can verify its actions and control their consequences. We do not need to assume that every agent will behave maliciously. We do need to design for the possibility that any agent can be mistaken, manipulated, or operating under incomplete instructions. The goal is to make useful autonomy possible without making organizational safety dependent on perfect machine judgment. Because an AI system should never have to understand every reason a security boundary exists for that boundary to hold.

References:

Don Philmlee

Entrepreneur, consultant, strategist and technology advocate - Don has years of experience making technology work. He is an author, teacher, and mentor on security trends and technology implementation. Over the past 30-plus years, his clients have included hundreds of law firms, associations, government and other organizations in the United States and overseas. Don is a certified Project Management Professional (PMP) since 2006 and a Certified Information Systems Security Professional (CISSP) since 2003.

Next
Next

Security Focus on AI: When AI Breaks the Rules - Can we ever control it?