Sign inGet started
Paper · arXiv

Many Repairs, One Direction: Steering Code Models Toward Safer Cryptographic API Use

Cryptographic API misuse in large language model-generated code can compromise software security. While many existing approaches improve code security by modifying model parameters or inputs, how representation changes associated with different cryptographic API repairs can support a shared intervention for safer code generation remains underexplored. To investigate this, we construct 48,000 matched program pairs across four programming languages and ten cryptographic API misuse categories. Each pair changes a specified API decision while preserving the programming task. Subtracting the misuse program's internal representation from its secure counterpart's gives a repair vector. Across fi...

AuthorsTianhe Lu, Sakuna Harinda Jayasundara, Eric Spero et al.
Primary categorycs.CR
Published18 October 2026
Last updated at source18 October 2026
cs.CRcs.LGcs.SE
Embed this entry
<iframe src="https://silytics.si/embed/item/1d278bda-67c5-4a81-9892-0b61105a6c1e" width="420" height="190" style="border:0" loading="lazy" title="Silytics entry"></iframe>

Free, no tracking. More about feeds and embeds.

Popularity, last 4 days

0 now. Counts as reported by the source, snapshotted daily by Silytics.

Silytics shows public metadata from arXiv and links to the original. Information may be incomplete or out of date. Last refreshed 23 October 2026. Licenses and terms of the original apply to the work itself. Not financial, legal or professional advice.