Preprint · 2026 · Open access
Does Indirection Hurt? Paired Evidence on LLM Review of Indirectly Written Cryptographic API Misuse
Zenodo (CERN European Organization for Nuclear Research) · Published 13 October 2026 · DOI 10.5281/zenodo.23351769
In brief
“Does Indirection Hurt? Paired Evidence on LLM Review of Indirectly Written Cryptographic API Misuse” is a 2026 preprint by Sunny Chokshi, published in Zenodo (CERN European Organization for Nuclear Research). OpenAlex counts 0 citations as of 30 November 2026. It is open access under a CC BY licence: the full text is free to read at Zenodo (CERN European Organization for Nuclear Research).
- Citations
- 0
- Authors
- 1
Abstract
LLM code reviewers are trustworthy only if their verdicts follow what the code does. I test this for cryptographic API misuse with 90 pairs of Python snippets across nine misuse classes, each pairing a vulnerable snippet with a secure twin. For 80 pairs I wrote a plain form, with the misuse at the call site under its familiar name, and an indirect form that reaches the same choice through an alias, constant, default, or configuration value. Across 16 open models, the secure twins show that two models flag nearly every snippet and four more flag over 70% of secure code. On the 80 pairs, the indirect form lowered the balanced accuracy of the seven strongest models by 4.5 points (pair-cluster 95% CI 1.3 to 7.6), and by 5.3 points (CI 2.1 to 8.5) on 47 pairs that survive a post hoc stimulus audit. After the audit the effect is mainly extra flags on correct code: false positives rose 9.1 points (CI 4.2 to 14.6), mostly in three models. In exploratory splits, most of the net false-alarm rise sits in pairs where the safe value has left its usual spelling or place at the call site, for example a 3072-bit key size written as 0xC00. Detection of real misuse fell 3.6 points over all 80 pairs (CI 1.0 to 6.5) and 1.5 points (CI -1.6 to 4.8) on the audited pairs. Cite as: Chokshi, S. (2026). Does Indirection Hurt? Paired Evidence on LLM Review of Indirectly Written Cryptographic API Misuse [Preprint]. Zenodo. https://doi.org/10.5281/zenodo.23351769 Write-up and discussion: https://sunny-chokshi.github.io/blog/hex-key-size-false-alarms.html
Cite this paper
Formatted from the catalogue record. Check names, capitals and page numbers against the paper before you submit.
APA 7
Chokshi, S. (2026). Does Indirection Hurt? Paired Evidence on LLM Review of Indirectly Written Cryptographic API Misuse. Zenodo (CERN European Organization for Nuclear Research). https://doi.org/10.5281/zenodo.23351769
MLA 9
Chokshi, Sunny. “Does Indirection Hurt? Paired Evidence on LLM Review of Indirectly Written Cryptographic API Misuse.” Zenodo (CERN European Organization for Nuclear Research), 2026. https://doi.org/10.5281/zenodo.23351769.
Chicago
Chokshi, Sunny. 2026. “Does Indirection Hurt? Paired Evidence on LLM Review of Indirectly Written Cryptographic API Misuse.” Zenodo (CERN European Organization for Nuclear Research). https://doi.org/10.5281/zenodo.23351769.
Harvard
Chokshi, S. (2026) ‘Does Indirection Hurt? Paired Evidence on LLM Review of Indirectly Written Cryptographic API Misuse’, Zenodo (CERN European Organization for Nuclear Research). doi:10.5281/zenodo.23351769.
IEEE
S. Chokshi, “Does Indirection Hurt? Paired Evidence on LLM Review of Indirectly Written Cryptographic API Misuse,” Zenodo (CERN European Organization for Nuclear Research), 2026, doi: 10.5281/zenodo.23351769.
BibTeX
@misc{chokshi2026does,
title = {{Does Indirection Hurt? Paired Evidence on LLM Review of Indirectly Written Cryptographic API Misuse}},
author = {Chokshi, Sunny},
howpublished = {Zenodo (CERN European Organization for Nuclear Research)},
year = {2026},
doi = {10.5281/zenodo.23351769},
url = {https://doi.org/10.5281/zenodo.23351769}
}
Download for a reference manager: BibTeX (.bib) · RIS for Zotero, Mendeley and EndNote (.ris)
Topic and keywords
Physical Sciences › Computer Science › Information Systems › Software Engineering Research
- cryptographic API misuse
- false positives
- key size
- vulnerability detection
Work with this paper
Most-cited papers in Computer Science
- ImageNet classification with deep convolutional neural networksAlex Krizhevsky, Ilya Sutskever, Geoffrey E. Hinton · Communications of the ACM · 2017 · 114,726 citations
- Long Short-Term MemorySepp Hochreiter, Jürgen Schmidhuber · Neural Computation · 1997 · 109,097 citations
- A Mathematical Theory of CommunicationClaude E. Shannon · Bell System Technical Journal · 1948 · 91,736 citations
- Deep learningYann LeCun, Yoshua Bengio, Geoffrey E. Hinton · Nature · 2015 · 90,226 citations
- Faster R-CNN: Towards Real-Time Object Detection with Region Proposal NetworksShaoqing Ren, Kaiming He, Ross Girshick and 1 more · IEEE Transactions on Pattern Analysis and Machine Intelligence · 2016 · 74,143 citations
Questions about this paper
How do I cite this paper in APA style?
Chokshi, S. (2026). Does Indirection Hurt? Paired Evidence on LLM Review of Indirectly Written Cryptographic API Misuse. Zenodo (CERN European Organization for Nuclear Research). https://doi.org/10.5281/zenodo.23351769
How many times has this paper been cited?
0 times, according to OpenAlex on 30 November 2026. Google Scholar and Scopus count different sets of sources, so their numbers differ.
Is this paper free to read?
Yes. It is open access at Zenodo (CERN European Organization for Nuclear Research): sign in and open the full text from this page.
Who wrote this paper?
Sunny Chokshi.
What is the DOI of this paper?
10.5281/zenodo.23351769, permanently at https://doi.org/10.5281/zenodo.23351769. Sign in and open it from this page.
Bibliographic data from OpenAlex (CC0), last checked 30 November 2026. ResearchGuru does not host this paper; once you are signed in, the links open it at the publisher or the repository that does.