Code as a Weapon: A Consensus-Labeled Prompt Bank for Measuring Coding-Model Compliance with Malicious-Code Requests
Source published ·Modelwire updated
Original coverage: arXiv cs.CL ↗·How Modelwire adds context

The development
Researchers have identified a critical gap in how the field evaluates coding models' resistance to malicious requests. Unlike general-purpose LLMs, specialized code generators that comply with harmful prompts produce immediately executable weapons rather than text, yet existing refusal benchmarks conflate requests for working exploits with requests for theoretical security knowledge and lack standardized measurement. This work argues the AI safety community needs unified, higher-bar evaluation standards for code models specifically, establishing that compliance severity should drive benchmark rigor rather than the reverse.
Modelwire’s AI-generated summary of coverage from arXiv cs.CL.
Modelwire analysis
ExplainerOur AI-generated reading of the wider context and the next developments to watch.
The paper's sharpest contribution isn't a new dataset but a taxonomic argument: that requests for working exploit code and requests for security education are currently lumped together in evaluations, which means a model can score well on refusal benchmarks while still producing functional malware when prompted carefully.
This connects directly to the broader benchmark-quality problem visible across recent coverage. The 'Extrapolative Weight Averaging Reveals Correctness-Efficiency Frontiers in Code RL' story (story 3) shows that code models are being optimized aggressively on competitive programming tasks, which raises the stakes here: the same RL training dynamics that push models toward correct, executable code may also reduce their resistance to adversarial prompts. Meanwhile, the uncertainty quantification work in 'Reverse Probing' (story 8) illustrates a parallel pattern where domain-specific evaluation turns out to require domain-specific methodology, not borrowed general-purpose tooling. The argument in this paper follows the same logic applied to safety rather than capability.
Watch whether any of the major code model providers (Copilot, Cursor, or the open-weight coding model maintainers) adopt the consensus-labeled prompt bank as a standard evaluation within the next two release cycles. Adoption would signal the benchmark has traction; silence would suggest the safety community is still the only audience.
This interpretation is generated from the summary above and the archive coverage cited below. Our methodology · Report an error
Coverage behind this analysis
These archive entries ground the connection in our analysis. They are ordered by source publication date, with links to our coverage and the original sources.
·arXiv cs.CL
Extrapolative Weight Averaging Reveals Correctness-Efficiency Frontiers in Code RL
Researchers demonstrate that extrapolative weight averaging, a technique that blends model checkpoints beyond linear interpolation, can discover new points on the correctness-efficiency frontier without additional training. Testing on competitive programming tasks with strict time and memory constraints, the work reveals how models trained on progressively harder test suites naturally separate into distinct performance regimes. This…
Mentionscoding models · language models · malicious code detection · refusal benchmarks
How this coverage is produced
Modelwire uses AI to generate summaries and context from source headlines, snippets, and selected archive coverage. Automated checks do not verify every claim, and items are not routinely reviewed by a person before publication. Zacaria Solis operates the site. Read the linked source for the full evidence and report errors through our corrections process.
Modelwire summarizes, we don’t republish. The full content lives on arxiv.org. If you’re a publisher and want a different summarization policy for your work, see our takedown page.