JAIL: Justified Artifact Investigation Layer, A Provenance-Bound Authorization Layer for AI Incident-Response Agents
Aref khalil · Team Checkpoint
Submitted to AI Incident Response Sprint. Sprint projects are early-stage work by participants, not Apart Research publications.
AI incident-response agents routinely encounter the exact artifacts they're trained to refuse: malware, exploit code, credential-theft scripts, attacker-authored content. AIL separates four properties that trusted user exceptions usually collapse into one: identity (who's asking), provenance (where the artifact came from), integrity (is it the same bytes that were recorded), and authorization scope (what they're allowed to ask for). An authorization token is only issued when all four check out together, and the token can only ever unlock analysis — execution, credential use, and network egress are structurally excluded at issuance time, not filtered afterward.
Reviews
The paper offers a fresh perspective on a real problem. Having a security mechanism in place that will allow investigators to use LLMs to investigate the artifacts, files, and other things collected from the incident in a controlled way. The author is also quite honest about the limitations of the testing, in particular that no real LLM was used during testing. A natural next step would be to figure out how this approach would work with a real LLM Model in the loop. With a self-hosted open-weight model, this approach can certainly work and, of course, that remains to be tested. However, for the approach to work with a frontier AI Lab LLM model, the lab itself will have to agree to have a mechanism in place that verifies the token in a policy layer before the request even reaches the LLM. This is because the LLM model itself cannot reliably take the token into consideration, since an LLM takes action based on its training and context.
Read full reviewShow less
1 judge declined to score this project.
Cite this project
@misc{khalil2026jail,
title = {{JAIL: Justified Artifact Investigation Layer, A Provenance-Bound Authorization Layer for AI Incident-Response Agents}},
author = {Aref khalil},
year = {2026},
month = sep,
note = {Submitted to AI Incident Response Sprint, an Apart Research Sprint},
howpublished = {\url{https://apartresearch.com/sprints/projects/jail-justified-artifact-investigation-layer-a-provenancebound-authorization-layer-for-ai-incidentresponse-agents-8lsl}},
url = {https://apartresearch.com/sprints/projects/jail-justified-artifact-investigation-layer-a-provenancebound-authorization-layer-for-ai-incidentresponse-agents-8lsl}
}More from AI Incident Response Sprint
- 1st placeView project: Noticing the escapes: Who spots a runaway agent, and how long does it take?
Noticing the escapes: Who spots a runaway agent, and how long does it take?
The Escapees
In 2026, nine incidents became public in which AI agents escaped their environment and did something unauthorized to other parties. We analyzed all of these incidents and how they were noticed initially. None of these …
- 2nd placeView project: Strengthening International AI Incident Discovery
Strengthening International AI Incident Discovery
Team A-O-I
Mandatory AI incident reporting exists to make dangerous events visible to regulators while there is still time to act. We coded the six such regimes in force or set to be enforced soon from primary legal texts and …
- 3rd placeView project: When to Ask: An RL Environment That Teaches AI Agents to Act on What Users Mean and Not Just What They Say
When to Ask: An RL Environment That Teaches AI Agents to Act on What Users Mean and Not Just What They Say
Teachafy
When to Ask is a reinforcement-learning environment that trains AI agents to work out what the user actually means before they use a powerful credential, instead of just carrying out the literal instruction. Agents …