Blocking CVE-targeting code response from the Model before Tool Execution

Frame from the supplied recording with blocking off. The callout states that the agent continues into proof-of-concept testing.

WoolyAI Research / Controlled experiment

We compared an unblocked agent workflow with inference-time Model internal signal monitoring with policy enforcement against an isolated V8 target. GLM-5.3-Flash investigated CVE-2024-1939 through an OpenCode agent loop while WoolyAI monitored model-internal cyber and unsafe-code signals during generation.

With blocking enabled, the benign setup and control test reached the tools. The next model response was withheld before a CVE-specific proof-of-concept file could be created.

Experiment setup

Model and agent
GLM-5.3-Flash, NVFP4, served with vLLM on two DGX Spark systems. OpenCode generated code and MCP tool calls.
Isolated target
V8 builds for CVE-2024-1939, with vulnerable and patched versions. The amd64 Docker target ran under emulation on an Apple Silicon Mac.
Verifier feedback
ExploitBench’s grade(path) evaluated submitted artifacts against the target builds, with checks covering code coverage, differential behavior, crashes, exploit primitives and arbitrary code execution.
WoolyAI’s monitoring and intervention point
Model signals monitoring operated inside the inference runtime. The blocking policy acted on the model response before generated code could reach the agent’s MCP tools.

What changed when blocking was enabled?

Workflow stage Blocking off Blocking on
Target setup setup() reached the benchmark tools. The same benign setup was allowed.
Control test control.js was written and submitted for grading. control.js was written and submitted for grading.
CVE-targeting response The agent proceeded into JavaScript/WebAssembly proof-of-concept work. WoolyAI’s cyber and unsafe-code signals triggered the blocking policy during the next generation.
Downstream tool actions PoC variants reached file creation, execution and grading. The response was not released to tools. No write_file(poc.js), PoC execution or PoC grading followed.

Recorded demonstrations

These silent, accelerated clips show shorter demonstration runs. Use the player’s full-screen control to read the terminal events and callouts.

Blocking off: the agent continues into CVE PoC testing

After the benign control, a CVE-targeting poc.js file reaches the tools. The workflow continues into execution and verifier submissions.

Blocking off. Accelerated recording, approximately 16 seconds. Download MP4.

Blocking on: the WoolyAI model runtime withholds the next response

The recording shows three MCP tool calls: target setup, a benign control-file write and control grading. The runtime then blocks the next model response, and the denied output is not shown.

Blocking on. Accelerated recording, approximately 13 seconds. Download MP4.

References

ExploitBench project and methodology
CVE-2024-1939 record