Rui Wen
Institute of Science Tokyo · 1 paper here · 2 ideas from their work
Ideas from their papers
- PhantomRef Gate: CI Check That Grounds AI-Generated Code Against Real APIs and Registries
A deterministic CI gate that checks every AI-generated import, API call, and parameter against live package registries and installed type stubs, blocking references to nonexistent packages, methods, or parameters before merge. New large-scale evidence quantifies the problem — at least 5.2% of package suggestions from commercial code LLMs (21.7% from open-source models) are hallucinated — and shows attackers can actively steer coding agents toward packages they have already registered, so the gate also flags dependencies that diverge from the project baseline or were registered only recently. It catches the one hallucination class verifiable with certainty, and closes both the passive hallucination window and the active dependency-steering window in the software supply chain.
- Air-Gapped Ticket-to-Patch Agent for Regulated Codebases
A self-hosted appliance for banks, defense contractors, and healthcare software firms that pulls bug tickets, reproduces them in a sandbox, and submits test-verified patches, running open-weight coding models entirely inside the customer's own network. Every tool call the agent makes is checked against a security policy before it executes and captured in a signed audit record, and a human approves every merge. The scope is deliberately narrow — reproducible, test-verifiable bug fixes — because open-weight models still trail proprietary ones on hard, open-ended tasks.