Threats, Vulnerabilities, and Attacks

Developers paste proprietary source code into a public LLM service to debug it. What is the primary security risk?

Show the answer

Correct answerB. The code may be retained and later reproduced in outputs to other users

AWhy not this: Pasting text into a web service does not execute it on the company's endpoints at all.

BWhy this is right: Prompts sent to a public service can be stored and used in training, exposing confidential code to others.

CWhy not this: Support lifecycle is unrelated to pasting code; the risk is data exposure, not end of support.

DWhy not this: The model lives with the provider, not on the company network, so there is nothing internal to steal.

Public LLM services may retain prompts and use them for training, so confidential input can leak into responses given to others. The code is not executed on company endpoints, so privilege-related risk is not the concern.