HKUST Researchers Expose How Jailbreaks Weaponize LLMs' Own Values Against Them
A new framework maps how LLMs weigh competing instructions and values, exposing a jailbreak class called priority hacking and pointing to runtime grounding as a defense.
ProTakeaways
- Paper models LLM alignment as a context-dependent priority graph over instructions and values.
- Introduces a taxonomy of five conflict types: instruction, information, ethics, value, and preference.
- Names a new jailbreak class called priority hacking that exploits values ranked above safety.
- Example attack: framing a phishing request as investigative journalism to weaponize justice framing.
- Proposes runtime verification, where agents check prompt premises against trusted external sources.
- Acknowledges deep ethical dilemmas like the trolley problem remain philosophically irreducible.
Aligning large language models sounds simple in the abstract: make them helpful, honest, and harmless. In practice, those goals routinely collide with each other, with user instructions, and with retrieved information. A new position paper from researchers at HKUST, NYU, and NUS argues that most alignment failures can be understood as conflicts in a hidden priority graph the model builds on the fly, and that this same graph is what attackers exploit when they jailbreak a model.
Five flavors of conflict, one messy graph
The authors start by cataloguing the kinds of dilemmas modern LLMs actually run into. They identify and categorize several key types of conflict: instruction conflicts where models must arbitrate between contradictory commands, information conflicts where a model's internal parameterized knowledge clashes with external retrieved information, ethics dilemmas which involve classic often unresolvable moral quandaries, value dilemmas where two or more desirable values are in opposition, and preference dilemmas where models must align with the subjective and often diverse preferences of different human users.

Some are mundane: a user says "never mention names" in turn one, then asks "who sent the email?" in turn two. Others are foundational, like the trolley problem or trading off truthfulness against protecting someone from harm. The point is that these are not edge cases. As LLMs move from chatbots to autonomous agents wired into tools and RAG pipelines, they hit these situations constantly.
Modeling preference as a directed graph
To formalize this, the paper introduces a context-dependent directed graph. Nodes represent instructions or values such as system instructions, user instructions, safety, and helpfulness. A directed edge from A1 to A2 exists if the model, forced to choose, prioritizes A1 over A2, determined by its underlying probability distribution.
A clean hierarchy would look like a straight line, for example Asimov's laws or the now-common ordering of system prompt over user instruction over retrieved knowledge. The uncomfortable finding is that real models don't behave that way. The graph is neither static nor necessarily logically consistent, and its edges are dynamically reconfigured based on context including the specific user, conversation history, time of interaction, and external environment. The graph can even contain cycles, meaning the model's revealed preferences are literally paradoxical depending on how you ask.
Priority hacking: jailbreaks with a name
The graph view exposes a specific attack pattern the authors call priority hacking. Instead of trying to overwrite safety with a raw adversarial suffix, the attacker finds an existing value the model ranks above safety in a crafted context, then wraps the malicious request in that value.

The canonical example in the paper: an attacker poses as an investigative journalist exposing a corporation called "Project Greenlight" and asks the model to write a phishing email to obtain incriminating documents. By framing the harmful request as an essential component of a legitimate high-priority moral goal, the attacker exploits the model's pre-existing value hierarchy, causing it to bypass its safety filter and generate the malicious content. The jailbreak isn't overriding the model's values, it's weaponizing them.
Runtime verification as a grounding layer
The proposed defense is straightforward in spirit: before acting on a context that overrides safety, actually check whether the context is real. Before executing a potentially harmful instruction that is justified by a user-provided context, the LLM agent could query a set of truthful external information sources to validate the premises of that context; if the context is found to be false or deceptive, the model can disregard the manipulated graph and revert to a default safe priority graph.
Concretely, an agent facing the Project Greenlight prompt would search trusted news and legal databases, find no such scandal, mark the context as fabricated, and refuse. For an agent hit by malicious information injection where a compromised email instructs an agent to leak internal data, a verification step with the authorized user could check the instruction against predefined security protocols before the model acts. The mechanism is a natural fit for agent frameworks already doing tool calls and retrieval, since the plumbing is the same.
What it's good for, and where it breaks
Runtime verification helps most when a jailbreak or an instruction depends on a factual premise you can look up: a company, a person, a policy, a permission. It's much weaker when the conflict is purely normative. The trolley problem doesn't get easier if you Google it. The Trolley Problem is not a puzzle with a hidden solution but a good example for revealing the fundamental tension between consequentialist and deontological ethics; deciding between sustainability and economic growth, or truthfulness and protection, involves weighing competing goods where different individuals and cultures will arrive at different valid conclusions.
Practical takeaways for anyone building on top of LLMs:
- Treat safety alignment as context-dependent, not absolute. The same model will rank the same values differently under different framings.
- Assume attackers will target values the model considers higher than safety, not lower. Justice, education, and public interest are common levers.
- Add a verification step for agent actions whose justification rests on factual claims in the prompt.
- For genuine value dilemmas, prefer designs where the model presents multiple perspectives or defers, rather than committing silently to one ethical framework.
The paper is a position piece rather than a benchmark release, so there is no code, model, or dataset attached. Its contribution is a vocabulary and a diagnostic lens: once you see the priority graph, a lot of scattered alignment problems, from instruction hierarchy failures to RAG trust issues to persona-based jailbreaks, start to look like the same problem viewed from different angles.