Archive of AI

Source Snapshot / 2025-03-27-ai2-dolma-olmo-memorization-disclosure-audit-1

Malicious and Unintentional Disclosure Risks in Large Language Models for Code Generation

Linked event: 2025-03-27 · Independent Security Audit Confirms Unintended Memorization and Sensitive Data Leakage Trade-offs in Dolma and OLMo Code Corpora

Publisher
arXiv
Archived
2026-11-23
Capture Method
Direct page capture
HTTP / SHA-256
200 / a3bdb7568f07653a
Original URL
Open source ↗
Wayback Backup
Not archived
This page preserves a plain-text static snapshot against link rot. When citing figures, tables, or full legal terms, verify against the original URL and Wayback Machine archive.

Skip to main content

Press Enter to search · Advanced search

Computer Science > Cryptography and Security

arXiv:2503.22760 (cs)

[Submitted on 27 Mar 2025]

Title:Malicious and Unintentional Disclosure Risks in Large Language Models for Code Generation

Authors:Rafiqul Rabin, Sean McGregor, Nick Judd

View a PDF of the paper titled Malicious and Unintentional Disclosure Risks in Large Language Models for Code Generation, by Rafiqul Rabin and 2 other authors

HTML (experimental)

Abstract:This paper explores the risk that a large language model (LLM) trained for code generation on data mined from software repositories will generate content that discloses sensitive information included in its training data. We decompose this risk, known in the literature as ``unintended memorization,'' into two components: unintentional disclosure (where an LLM presents secrets to users without the user seeking them out) and malicious disclosure (where an LLM presents secrets to an attacker equipped with partial knowledge of the training data). We observe that while existing work mostly anticipates malicious disclosure, unintentional disclosure is also a concern. We describe methods to assess unintentional and malicious disclosure risks side-by-side across different releases of training datasets and models. We demonstrate these methods through an independent assessment of the Open Language Model (OLMo) family of models and its Dolma training datasets. Our results show, first, that changes in data source and processing are associated with substantial changes in unintended memorization risk; second, that the same set of operational changes may increase one risk while mitigating another; and, third, that the risk of disclosing sensitive information varies not only by prompt strategies or test datasets but also by the types of sensitive information. These contributions rely on data mining to enable greater privacy and security testing required for the LLM training data supply chain.

The 3rd International Workshop on Mining Software Repositories Applications for Privacy and Security (MSR4P&S), co-located with SANER 2025

Cryptography and Security (cs.CR); Machine Learning (cs.LG); Programming Languages (cs.PL)

arXiv:2503.22760 [cs.CR]

arXiv:2503.22760v1 [cs.CR] for this version)

https://doi.org/10.48550/arXiv.2503.22760

Focus to learn more

arXiv-issued DOI via DataCite

Related DOI:

https://doi.org/10.1109/SANER-C66551.2025.00016

DOI(s) linking to related resources

Submission history

From: Md Rafiqul Islam Rabin [view email] [v1]

Thu, 27 Mar 2025 16:09:23 UTC (290 KB)

Full-text links:

Access Paper:

view license

Additional Features

Audio Summary

Current browse context:

Change to browse by:

References & Citations

Google Scholar

Semantic Scholar

export BibTeX citation

BibTeX formatted citation

Data provided by:

Bibliographic Tools

Bibliographic and Citation Tools

Bibliographic Explorer Toggle

Bibliographic Explorer (What is the Explorer?)

Connected Papers Toggle

Connected Papers (What is Connected Papers?)

Litmaps Toggle

Litmaps (What is Litmaps?)

scite.ai Toggle

scite Smart Citations (What are Smart Citations?)

Code, Data, Media

Code, Data and Media Associated with this Article

alphaXiv Toggle

alphaXiv (What is alphaXiv?)

Links to Code Toggle

CatalyzeX Code Finder for Papers (What is CatalyzeX?)

DagsHub Toggle

DagsHub (What is DagsHub?)

GotitPub Toggle

Gotit.pub (What is GotitPub?)

Huggingface Toggle

Hugging Face (What is Huggingface?)

ScienceCast Toggle

ScienceCast (What is ScienceCast?)

Replicate Toggle

Replicate (What is Replicate?)

Spaces Toggle

Hugging Face Spaces (What is Spaces?)

TXYZ.AI (What is TXYZ.AI?)

Related Papers

Recommenders and Search Tools

Link to Influence Flower

Influence Flower (What are Influence Flowers?)

Core recommender toggle

CORE Recommender (What is CORE?)

About arXivLabs

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? |

Disable MathJax (What is MathJax?)