Manuscript Offprint

arXiv:2610.35199

Can Open Be Too Open? On the Security and Trustworthiness of Fully Transparent LLMs

Sheila Zingg, Florian Tramèr, Martin Vechev, Srdjan Čapkun

Sheila Zingg

ETH Zurich

Florian Tramèr

ETH Zurich

Martin Vechev

ETH Zurich

Srdjan Čapkun

ETH Zurich

Abstract—There are different levels of transparency for LLMs: open weights, open data, and/or open pipeline. Recently, more interest has emerged in fully transparent LLMs, i.e., LLMs with fully open weights, data, and training pipeline. Drawing analogies to other fields such as software security, it is often believed that increasing transparency inherently increases the security and trustworthiness of the LLM. However, we argue that such claims need to be critically re-evaluated in the context of LLMs. In this paper, we analyze the impact of transparency on LLM security and trustworthiness by reviewing the relevant literature. Our core findings are that, due to the limited reproducibility of LLM pipelines, in practice, users cannot verify the correspondence between open weights and the associated open data and pipeline. Thus, in order to trust a model, users still need to trust that developers acted honestly, reducing the benefits over models that provide less “transparency”. Moreover, we find that even when LLMs are fully transparent and trusted, this openness can favor adversaries. Open weights in particular, but also open data and pipelines, can increase the success rate of attacks. Although the same mechanisms can be used to improve the model and protect it against attacks, the current lack of robust lightweight mechanisms to patch LLM vulnerabilities limits the benefits of openness at this time. We note that our analysis is based on current LLM capabilities and analysis tools, and that future developments may require a re-evaluation of these points.

I. INTRODUCTION

In the current LLM landscape, there are different levels of model transparency (also called openness). Models can be made available with their weights (open-weight models), their data (open-data models), and/or their training pipeline (open-pipeline models). A model could have any combination of open/closed weights, open/closed data, and open/closed pipeline. However, most commonly used models are either fully closed, meaning that they are only accessible over an API and nothing is published (e.g., OpenAI GPT-5, Anthropic Claude Opus, Google Gemini 3), only open-weight (e.g., Meta Llama 4, Alibaba Qwen 3, Mistral Large 3), or fully open, meaning open weights, open data, and open pipeline (e.g., Ai2 OLMo, EleutherAI Pythia, Apertus 1.5, Lucie-7B). It must be noted that even for fully transparent LLMs, opaque components may have been used. For example, open data means that all data used for training is published; however, parts of the data are often generated by an LLM that may not be fully transparent, which is an opaque component. Increased transparency is often seen as improving security and trustworthiness [69], [189], [119], [92], [113], similarly to how open-source software is often seen as providing better security guarantees and higher trustworthiness than closed-source software (i.e., the “Many-Eyes Principle” that states that given enough independent reviewers all bugs are shallow [131]).

In this work, we argue, however, that these claims need to be evaluated carefully since the analogy between LLMs and software does not hold in the context of security and trustworthiness. Software code was designed to be read and edited by humans and can be deterministically and inexpensively compiled into a binary. In contrast, LLMs are less amenable to public scrutiny, even under full transparency, due to a combination of factors including the way in which the training data is selected, the non-determinism of training, the cost of training, and the lack of interpretability of the weights. Some may argue that transparency alone may lead to more honest development processes as even a slightly increased risk of detection could disincentivize malicious behavior. However, if unwarranted, this can also give a false sense of security, and thus, we believe it is important to identify the impact of transparency on the trust and security of LLMs.

To evaluate the security of an LLM, different adversaries must be considered: a) an inference-time adversary who attempts to use the model for malicious purposes, b) an external model poisoner who posts malicious data to frequently scraped websites or redistributes a malicious version of the model, c) a malicious insider who tries to inject weaknesses into a model by changing the training pipeline, training data, or weights, and d) a malicious model developer (i.e., the organization that develops the model) who ships or serves a different model than the one the user expects. These correspond to general classes of adversaries for software, namely a malicious user, a software supply-chain attacker, a malicious insider, and a malicious vendor. For software, open-sourcing can help against all of these adversaries; for LLMs, this is not the case.

Transparency and Trust. The discussion of trust in LLMs focuses primarily on adversary (d), i.e., whether a user can verify that the LLM they run has the advertised properties. Transparency is usually seen as a way to reduce the need for users to trust the model developer. In open-source software, the user can inspect the code and can verify that the program they are running resulted from the published code (e.g., through reproducible builds). Even more importantly, the user can verify that the implementation largely corresponds to the specification and the functionality that the software is supposed to implement. Given that there is a clear semantic link between the code and the program behavior, it is difficult for the developer to insert hidden functionality into the open-source code without eventually being detected by reviewers of the code. Thus, one can, with appropriate care (i.e., the software is indeed reviewed by many and is written and built in a way that can be understood and verified), rely on popular open-source codebases being trustworthy.

For LLMs, this is usually not the case, even if a developer publishes the weights, data, and training pipeline of the model. The model weights do not provide a clear semantic link to the model's behavior, and the training data is too vast to inspect in sufficient depth, whether manually or with automated tools. A malicious developer can poison an LLM by inserting a backdoor in the data, which often requires only a few poisoned documents in the dataset, and can be hidden to make detection more difficult [28], [147], [44], [61]. This means that it would be hard for a user to identify a poisoned model even if they have access to the data and training pipeline. Furthermore, even if a malicious backdoor is found, it is hard to provably attribute it to the developer, since the data they collected could already have been poisoned by another party. Even if we assume that the user can be certain that the published training data does not contain any backdoors, they may not be able to trust the weights that they received. Current frontier training processes are non-deterministic (i.e., using the same training pipeline on the same training data twice will not result in the same weights) [132], [126], [186], making it harder for users to verify that the weights actually resulted from applying the published training pipeline on the published data. Furthermore, even if training were deterministic, there are very few entities that could retrain a model to verify its correctness given the high effort required for training and the difficulty of replicating exact training hardware and entire training pipelines. Thus, unlike for open-source software, the user of a transparent LLM still needs to trust the developer to a significant degree. An overview of these differences is shown in Table I.

To resolve the limited reproducibility, proof-of-learning [77], zero-knowledge proofs of training [57], and verifiable training [149] have been proposed as methods with which a user can efficiently verify that a model was trained using the published training pipeline on the published training data. However, proof-of-learning is not robust enough to provide sufficient guarantees [53] and zero-knowledge proofs of training are too expensive for the model creator to be practical. Verifiable training has been used effectively for smaller 1B models [43], but is not yet efficient enough for frontier models and places high resource requirements on the verifier. While this means that, currently, users of frontier models must trust a third party for LLM provenance, this third party may not necessarily have to be the model developer. For example, in attested training [47], [148], the relevant parts of the training pipeline are executed within a trusted execution environment (TEE) that was attested by another third party (typically the CPU manufacturer). Thus, the user can be certain that the LLM was trained as published as long as they trust the attesting party. However, attested training only shifts the trust and has only been shown viable for small models and model finetuning, primarily due to hardware limitations of TEEs. Once technical limitations are resolved, these techniques could be used to validate the model, in which case transparency could reduce the required trust in the developer, although trust in the attestation authority and in the robustness of TEEs would still be required.

Transparency and Security. If the model developer is trusted (i.e., considering adversaries (a)–(c)), transparency is often considered to enable a user to identify vulnerabilities before they are impacted by them. However, such arguments do not hold for LLMs directly. LLMs are inherently generative, and thus, even if we trust the developer and assume that the training data is fully free of backdoors, the LLM may still generate unsafe outputs. Thus, the LLM needs to be scanned for vulnerabilities continuously so that they can be resolved. However, when a vulnerability is identified, unlike with code, there is no simple and robust way in which LLMs can be patched. Lightweight methods like unlearning and safety finetuning are not robust [73], [98], and output filtering cannot be enforced for local deployments, which are always possible when the weights are published. For robust patching, an LLM would likely need to be retrained, which is resource-intensive. Furthermore, weight transparency allows adversaries to cost-effectively remove any safety alignment and guardrails [130], [15], [88], meaning that hardening the model against attacks may not yield better security outcomes. Lastly, transparency may even help an adversary who wants to exploit a transparent LLM, as they can use knowledge about the weights [138], [72] in particular, but also the data [39], [179], [167], [142] and pipeline [68], [115], [169] to improve their attacks.

Cost of Transparency. Although full model transparency can reduce inference costs, it can also introduce costs. Transparency can introduce legal risk for model developers [157], [159], [158], as LLMs are often trained on scrapes of the internet, which can contain sensitive data, such as copyrighted material or PII. For closed-data models, it is harder to prove that they were trained on sensitive data, while open-data models allow anyone to search for such data in the published dataset. While the exact legal basis is still unclear [21], this increases the liability risk for developers of open-data models. There are methods to remove sensitive data from the dataset [99] or to reduce the probability that an LLM will repeat its training data verbatim [70]. However, these methods are imperfect, and it is unclear whether they will be considered sufficient in a court case. While this mainly impacts the model developer, it may also affect model users (e.g., by losing access to the model or through downstream liability). If an open-data LLM is used by an influential party (e.g., a government), it may be scrutinized more, increasing the risk of lawsuits. In fact, the legal uncertainty around training data has already resulted in a decline of open training data [17], [94].

These legal considerations combined with ethical challenges when publishing certain training data (e.g., human-annotated data) may make transparent model developers more cautious and restrictive with the training data that they use, which can

TABLE I

DEVELOPER TRUST ASSUMPTIONS FOR CLOSED LLMs, FULLY TRANSPARENT LLMs, AND OPEN-SOURCE SOFTWARE.

AspectClosed LLMFully transparent LLMOpen-source software
Trust placed in the developerThe developer must be trusted for the full model development and provision. This includes that the API serves the advertised model, that the model was trained using a safe process, that no malicious capability was inserted, and that future updates do not change the behavior.The developer needs to be trusted that the published weights resulted from using the published training pipeline on the published training data. Furthermore, the training data needs to be trusted to be free from concealed backdoors. Lastly, if non-transparent LLMs are used as part of the development process, then the developers of those models need to be partially trusted.In principle, little trust in the developer is needed if the source code is written well, reviewed by many, and can be rebuilt and verified against the intended specification. In practice, residual trust remains in code completeness, dependencies, build tooling, signing infrastructure, and the adequacy of community review/testing.
Practical verification methods available to a userUsers can only use black-box checks. These include prompt-response behavior, behavioral fingerprinting to detect model substitution, and independently reproduced benchmarks.Users can verify the integrity of the artifacts, which include weight hashes/signatures, data-snapshot hashes, and checkpoint metadata. Furthermore, they can check the pipeline code, analyze the data (e.g., checking for benchmark data), perform white-box weight analysis (e.g., weight statistics, activation- or gradient-based probing), and partially retrain to approximately verify parts of the training. Lastly, they can use all black-box checks.Users can verify the integrity of the artifacts, which include source code hashes, signatures, and reproducible builds linking the executable to the published source code. Furthermore, they can use code-property checks, which include code review, code testing (e.g., fuzzing), static and dynamic analysis, and formal protocol/program verification.
Constraints on the adversary capabilities of a malicious developerThe adversary must preserve perceived model behavior, avoid obviously malicious outputs, evade user monitoring/complaints, and pass required safety evaluations or legally mandated audits.The adversary must conceal backdoors or pipeline changes in the published data/code/weights so that they evade inspection, statistical checks, behavioral probes, and audits. All constraints from the closed LLM also apply.The adversary must make malicious code appear benign to reviewers, evade tests and build scanning, and hide payloads in complex logic, toolchains, or build/release pipelines.

Note. This table focuses on adversary (d). Verification refers to practical, resource-bounded checks available to an external user, not formal proofs.

impact model performance. For example, it has been shown that using high-quality proprietary data for training increases model performance [172], [178], [145]. However, data holders of proprietary data are unlikely to agree to publish this data. Some transparent model developers have adapted to this by publishing most instead of all data [153], [20], allowing them to train on proprietary data without publishing it.

Independence. Another benefit of transparency is that access to the model cannot be removed or restricted after the model has been published as long as the user has access to sufficient compute to run the model locally. Furthermore, the user of the model can adapt the model's behavior to fit their needs. While this alone is not enough to provide full sovereignty, it does reduce the dependency on third parties.

When to use a Transparent Model. In summary, currently, there is no level of transparency that is always best for users. Instead, users should analyze different factors (e.g., the trustworthiness of the developer, what they want to use the model for, their security requirements, legal implications, and their technical capabilities) to decide what level of transparency would bring the most benefits while limiting risks. Furthermore, the two ends of the spectrum, fully closed and fully open models, should not be seen as the only ones worth exploring. It might be that intermediate levels of transparency (e.g., an open-weight, open-pipeline, closed-data model) may be the best-suited option for a specific use case. This means that each component of transparency (weights, data, and pipeline) needs to be considered individually when making an assessment of the risks and benefits of a model. Lastly, the way transparency is evaluated needs to be updated continuously as new tools and methods to analyze LLMs emerge. A component that is currently not helpful in establishing trust or increasing security might be able to do so in the future.

Our Contributions. In this paper, we investigate the impact of transparency on the security and trustworthiness of LLMs based on the current capabilities of LLMs and the currently available LLM analysis methods and tools:

  • Discussion of the differences between open-source software and fully transparent LLMs: We review why the claimed benefits from open-source software cannot be applied directly to fully transparent LLMs. These differences help guide discussions on security claims.

  • Overview of the impact of transparency on security and trust: Across the LLM components, we discuss where transparency favors defenders and where it may favor attackers. We also discuss how transparency impacts trust and what methods and technologies may help.

  • Discussion of how users can evaluate transparency: We list aspects that may be important when evaluating what level of transparency is desirable. We do not recommend a specific level of transparency and instead give an overview of what to consider when making a decision.

References (100)

Couldn't load all references. Reload the page to try again.