CS Paper Radar

Daily listing

2026-11-21 · cs.SE

17 papers first submitted this day (UTC) in cs.SE — Software Engineering. arXiv announces a day's submissions the next evening, so the newest day fills up over ~24 h.

Score = weighted mean ofCitations 20%Upvotes 10%Code stars 10%Venue 15%Code/data 10%Novelty 15%Momentum 15%Substance 5%how it works

Software & Programming 7

The Defect Is in the Arithmetic Between the Files: Static Detection of Exactly-Once Violations in Payment Pipelines

cs.SE cs.DC ·2026-11-21 ·Abhishek Sharma
code/data
Abstract · 8 pages, 4 figures, 7 tables. Checker, corpus generator, Docker configuration and every raw results file are at https://github.com/abhisheks…

Whether a streaming payment pipeline charges a customer twice after a restart turns on a comparison nobody performs: how long the provider remembers an idempotency key, against how stale a record can be when the pipeline processes it for the second time. The first number is in the provider's documentation. The second is not written anywhere. It is assembled from a checkpoint interval in one file, a recovery assumption in a runbook, a restart delay in a third and a source's lateness bound in a fourth. Each file is defensible alone; the fault is in the relation between them. We give a checker that gathers those facts and states the relations, and a synthesiser that turns 335 of the 515 findings into a runnable scenario: these records, kill the job here, bring it back after this long, and this is the observable. 245 of them produce two charges. The central measurement is how far apart the evidence lies. Across a corpus of 630 pipelines we generated, 210 of them cannot be derived from fewer than three artifacts, and no single artifact yields more than 35 of the 305 duration findings. Executing the witnesses corrected our own rules: two were demoted after their scenarios produced a repeated call the provider's idempotency absorbed rather than a second charge. All 16 selected live witnesses reproduced their predicted observable against a real Kafka broker with a real process kill, and a matched control in which the provider never forgets the key did not, attributing the second charge to the key lifetime, not the replay. Fault injection finds the same defects only if the tester already assumed a long enough outage: one willing to simulate five minutes finds 15% of them, and 12 hours is needed for all. A sweep also locates a configuration with no application-level fix, where above a 14-minute recovery assumption the transaction timeout required to survive it exceeds the broker's own cap.

0.32

Zero-Trust Formal Methods: AI Agents Build Verified Checkers for Untrusted Solvers

cs.SE cs.CRcs.LO ·2026-11-21 ·Tobias Philipp
Abstract · 17 pages, 2 figures, 7 tables. This work has been submitted to the IEEE for possible publication. Copyright may be transferred without notic…

AI coding agents now generate code faster than humans can review it. Security analyses rely on solver answers such as "unsatisfiable" (for example, no attack path exists) or "optimal." Unlike satisfying models, they cannot be checked by looking at them. Formal verification moves trust from code to specifications, but verifiers still place large SAT, SMT, and answer-set solvers, and the translation into solver queries, in their trusted computing base, and these have had soundness bugs. Unlike agent-based pipelines that trust their verifier and solver, our farm trusts no component by default: neither the AI agents, which might make mistakes or game their objectives, nor the solvers. A solver answer counts only if a verified checker accepts its certificate. Every theory, proof, and line of code is generated by AI. For each component, agents first create an Isabelle/HOL theory with a specification, a soundness proof, and a reference checker made by code generation, then a fast Rust implementation, verified with Verus against a specification that mirrors the Isabelle definitions line by line. Specifications are frozen after independent review and cannot be changed by the implementing agents. A trust manifest lists what is still trusted. We built trust chains for SAT (verified LRAT checking); SMT, with certificates from an extended z3 and verified bit-blasting for bit-vectors and floating point; answer-set programming, with native certificates from clingo, including weight rules and optimality; and, closing the loop, Verus's final verification-condition step, by translation validation. All 3,726 SMT queries from 20 crates are certified and validated, and 15,662 answer-set proofs are accepted by both the Isabelle and the Verus checker. We found soundness defects in three proof checkers, including drat-trim, and in five solvers, including clasp and z3, which report wrong unsatisfiability.

0.31

Automated Safety Analysis for Agentic Workflows

cs.SE cs.AI ·2026-11-21 ·Yanju Chen, Ying Li, Bosi Zhang, Hanzhi Liu, Hongbo Wen +3 more
top venuebenchmark
Abstract · Extended version of the paper accepted at ICSE 2027, with appendices

LLM applications are increasingly built as agentic workflows: programs that combine model calls, external tools, and control logic to act autonomously on a user's behalf. Because these workflows execute real-world actions, logical flaws in how a workflow is wired can cause severe harm in deployed systems. Unlike prompt injections or malformed API calls, these workflow bugs stem from defects in the workflow's design, yet no existing tool can statically validate workflow logic across frameworks prior to deployment. We present Apsis, a static safety analyzer that detects workflow bugs before deployment. To operate across frameworks, Apsis lifts framework-specific code into a common intermediate representation (IR). This IR models a workflow as a semantic graph of steps, data dependencies, and shared state, while annotating each component with behavioral properties such as whether an input is mandatory or how a shared channel merges concurrent writes. Building on this representation, we introduce a bug description language that formalizes recurring classes of agentic failures as declarative patterns over the IR. By matching these patterns against the IR, Apsis detects structural and behavioral flaws and pinpoints the exact step responsible for each bug. To evaluate Apsis, we construct, to our knowledge, the first corpus of workflow bugs, distilled from real-world reports across 13 widely used frameworks. On a reproducible benchmark suite drawn from this corpus, Apsis detects workflow bugs with 91% precision and 84% recall, and uncovers 36 previously unknown bugs in real-world workflows.

0.30

"What Should I Do?" Guidelines for Responsibly Integrating AI in Software Engineering

cs.SE cs.HC ·2026-11-21 ·Rudrajit Choudhuri, Fatima A. Moussaoui, Carmen Badea, Christian Bird, Jenna L. Butler +3 more
Abstract

Speculations abound about the "right" ways for developers to integrate AI into their software engineering (SE) work, but the evidence that exists is sparse and contradictory. Yet, developers are held responsible for the products they ship with (or without) AI's help, so they need to integrate AI in responsible ways. To address this gap, we conducted a two-phase, large-scale investigation with 1,118 developers at Microsoft, GitHub, and Pfizer. In Phase 1, we surveyed 860 developers at Microsoft on where they sought and resisted AI support in their daily work, and from their accounts, synthesized 35 developer-facing guidelines: 29 across five categories of SE work and 6 cross-cutting ones. A year later, as AI capabilities and developers' experiences co-evolved, we validated them in Phase 2 with 258 developers in technology (Microsoft, GitHub) and biopharmaceutical (Pfizer) domains. Developers in our study found the guidelines clearly worded (92%) and relevant to their work (91%), and most wanted to adopt them in their own work (89%). We also report how developers described operationalizing these guidelines in practice: using AI to refine their craft and delegate verifiable work, while keeping judgment and accountability for themselves. For relationship-centric work, endorsement varied with developers' domain and their SE and AI experience. Overall, we offer concrete advice from in-the-trenches developers to other in-the-trenches developers, and a shared vocabulary that engineering teams can adopt to integrate AI well in their work.

0.23

Dhaani: A Data-Flow-Driven Tool for Greenfield Construction and Brownfield Modernisation

cs.SE ·2026-11-21 ·Shraddha Surana, Ashwin Srinivasan
code/data
Abstract · 4 pages, 4 figures

Large language models can generate plausible code quickly, but an end-to-end prompt leaves developers with little control over decomposition, interfaces, or the assumptions that must survive later revisions. We present Dhaani, a free desktop application for greenfield program construction and brownfield repository modernisation. It makes an annotated data-flow diagram (ADFD) the inspectable contract between intent and implementation. In the greenfield workflow, Build, a user turns natural-language requirements into a typed graph, reviews process specifications and pre/post-conditions, ratifies generated modules, and proceeds in dependency order for Python or .NET (C#). In the brownfield workflow, Migrate uses source inference to recover an ADFD from a Fortran repository, performs target generation in bounded dependency groups, and exposes source-target alignment, generated code, errors, time, token use, and cost. The tool keeps code and artifacts on the user's machine and supports cloud or locally hosted models. Two scientific synthesis case studies produced executable systems where matched low/no-code baselines failed or were substantially less accurate. On 50 open-source Fortran repositories, the migration workflow made all 382 fixed source-oracle probes runnable and passed 327 (85.6%); two direct translation baselines each passed 83 (21.7% of planned probes). Pre-built installers and usage instructions are freely available. Tool and usage guide: https://shraddhasurana.github.io/dhaani/. Video: https://youtu.be/SShWwOMgJ9c.

0.22

Right Verdict, Right Reason? An Execution-Grounded Study of Whether LLM Vulnerability Detectors Understand Vulnerabilities

cs.SE cs.AIcs.CRcs.PL ·2026-11-21 ·Leizhen Zhang, Sheng Chen
benchmark
Abstract · 25 pages

Large language models (LLMs) are increasingly used to detect vulnerabilities, and their benchmark scores are often read as evidence that they understand the vulnerabilities they report. We test this reading against program execution. For 515 C and C++ functions from BigVul and PrimeVul whose vulnerability we reproduce with a proof of concept, we identify the line at which the fault occurs and the statements on which the faulting run depended. These facts ground a ladder of five tests, from telling a vulnerable function from its fixed version, through locating the fault and reacting to its removal, to judging execution-confirmed edits and predicting the outcome of a concrete run. Each test is paired with a baseline that needs no understanding, such as a rule that picks lines with risky calls, and we repeat the study on 195 vulnerabilities published after the training cutoffs of the models. Four findings emerge. First, telling a vulnerable function from its fixed version is hard. The open-weight models separate no more pairs than chance, although five of them show a weak sensitivity to the fix, and the commercial models still label many screened fixed versions vulnerable. Second, the commercial models locate the fault beyond a keyword rule, while removing that evidence changes the verdicts of the strongest model only on the newer vulnerabilities. Third, given the program input, the commercial models predict whether a run faults better than a rule that looks for added checks, and the prediction follows the input. Fourth, on the newer vulnerabilities this advantage disappears and the lead of the strongest model narrows, while localization persists. We release the framework, the per-function evidence, and an execution-confirmed counterfactual benchmark.

0.18

Micro Operational Robustness of LLMs on Code Generation

cs.SE cs.AI ·2026-11-21 ·Debalina Ghosh Paul, Hong Zhu, Ian Bayley
Abstract

It is now common practice in software development for large language models (LLMs) to be used to generate program code. It is desirable to evaluate the robustness of LLMs for this usage. This paper is concerned in particular with how sensitive LLMs are to variations in descriptions of the coding tasks. However, existing techniques for evaluating this robustness are unsuitable for code generation because the input data space of natural language (NL) descriptions is discrete and sparse. To address this problem, we propose a robustness evaluation method called scenario domain analysis, which aims to find the expected minimal change in the NL descriptions of coding tasks that would cause the LLMs to produce incorrect outputs. We have formally proved the theoretical properties of the method and also conducted extensive experiments to evaluate the robustness of four state-of-the-art LLMs: Gemini-pro, Codex, Llamma2 and Falcon 7B, and have found that we are able to rank these with confidence from best to worst. Moreover, we have also studied how robustness varies in different scenarios, including the variations with the topic of the coding task and with the complexity of its sample solution, and found that robustness is lower for more complex tasks and also lower for more advanced topics, such as multi-threading and data structures.

0.09