intermediate10 min read9 of 24

    Data Privacy — What You Must Never Paste Into a Prompt

    Credentials, client data, holdings and unpublished research. A prompt box is not a private notebook, and the difference matters legally.

    Rohit Singh

    Mr. Chartist · SEBI RA INH000015297

    Module

    A prompt box looks like a private notebook. It sits in a browser tab, a cursor blinks in it, and nothing on the screen suggests an audience. That impression is wrong in a way that matters. The moment you press Enter, the text leaves your machine and travels to a server you do not control. What happens to it there is decided by a product policy you have probably never opened. For most research questions that is completely fine. For a small, specific set of things, it is not.

    This article is about that set. Not a general lecture on privacy — a concrete list of what should never enter a prompt, a shorter list of what is genuinely arguable, and the practical alternatives that keep the usefulness without the exposure. The distinctions get sharper the moment you handle anyone else’s money, because then the question stops being about your personal comfort and becomes a legal one with somebody else’s data sitting in the middle of it.

    One framing to carry through the whole piece. Treat the prompt box the way you would treat a message sent to a group whose members you cannot see. You would happily ask that group a question about a company’s annual report. You would not send it your broker password. Everything below is a judgement about where a particular piece of text sits between those two poles — and how to move it toward the safe end before you hit send.

    The one thing to remember

    Anything you would not be comfortable seeing outside your own machine — credentials, identity documents, client data, unpublished research — does not belong in a prompt box, and redacting it costs you almost nothing in answer quality.

    Where Your Text Actually Goes When You Press Enter

    A hosted model is software running on somebody else’s computers. When you type into the browser and press Enter, your text is packaged up, sent over the internet, processed on those computers, and an answer is sent back. Nothing about that flow is unusual — it is how most of the web works. The relevant difference is what the receiving end keeps, and for how long.

    Almost every consumer AI product stores your conversations. It has to, at minimum, so you can scroll back through yesterday’s chat. That is storage, and storage means the text exists somewhere outside your machine for some period of time. How long, and whether you can delete it, varies by product and by the plan you are on.

    Separately from storage, there is the question of training — whether the provider uses what you submit to improve its models. Some products do this by default on the free tier and offer a setting to switch it off. Others say they never train on business or API traffic. The same brand can behave differently across its consumer app and its developer API. None of that is guessable from the interface.

    A third possibility worth knowing about: several providers describe a process where a limited sample of conversations can be looked at by people, usually for safety or abuse review. Again, the specifics differ. The honest instruction is not “assume the worst” and not “assume it is private” — it is “open the data policy for the exact product and plan you are using, and read what it commits to”.

    The useful question is never “is AI private?” — it is “what does this specific product, on this specific plan, say it does with what I send it?”

    A prompt box is not a private notebook

    A hosted model runs on someone else’s computers, so your text has to leave your device to be answered at all.

    A prompt travels from your machine, across the network, to the provider’s servers and into stored conversation history, with further branches for model improvement and sampled human review that depend on the product, plan and settings. A boundary line marks that only the first stage is under your control. Four placeholder examples show categories — passwords, API keys, client identity data and unpublished research — that must never be typed in.yoursgoverned by someone else’s policyWhat you typefeels local — a box on your own screenNEVER — these leave your device the moment you sendPASSWORD: ••••••••API_KEY = "xxxx-placeholder-xxxx"Client [Name], PAN: XXXXX0000XDraft call, not yet publishedYour machinethe only stage you controlThe networkin transit, out of your handsProvider serversa hosted model runs thereStored historyso you can scroll backUsed to improve the model?depends on product, plan and settingsSampled for human review?described by several providersThe only reliable answeropen the data policy for the exact productand plan you are on, and read what it commits toThe dashed boxes are the honest part of this diagram: whether they apply to you is notone universal answer, and the interface gives you no signal either way.Consumer app and developer API behaviour often differ under the same brand, sochecking one tells you nothing about the other.
    The path a prompt actually takes: your machine, the network, the provider’s servers, storage — and, depending on the product’s settings, a training pipeline. Everything past the first arrow is outside your control.
    A hosted model runs on the provider’s infrastructure, so your prompt must leave your device to be answered at all.
    Conversation history is stored by default in most consumer products, because the product needs it to show you past chats.
    Whether submitted text is used to improve the service depends on the product, the plan and your settings — it is not one universal answer.
    Consumer app behaviour and developer API behaviour often differ even under the same brand name, so checking one tells you nothing about the other.
    The only reliable source is the product’s own data policy page; the interface itself gives you no signal either way.

    The Five Hard Red Lines

    Some categories are not a judgement call. They should never be typed into a hosted prompt box, on any plan, for any reason, no matter how convenient it would be. Five of them cover almost every real incident.

    First, anything that authenticates you. Broker login IDs and passwords, trading PINs, the seed string behind a two-factor authenticator app, One-Time Passwords, the answers to your security questions. A model cannot log in on your behalf from a chat window, so there is no legitimate reason to type these anywhere except the broker’s own login screen.

    Second, API keys and secrets. This one catches careful people, because it usually arrives inside something else. You paste a Python script so the model can find a bug, and your broker API key is sitting on line four in plain text. The key is as good as a password: it can place orders and read your account. Strip it before you paste, every single time.

    Third, identity documents and identifiers — PAN, Aadhaar, bank account numbers, demat and client codes, address proofs, or photographs of any of these. Fourth, the personal data of anyone whose money or account you handle. Fifth, unpublished research you intend to publish or trade on, which gets its own section below because the reasoning is less obvious.

    Credentials — broker passwords, PINs, OTPs and two-factor seed strings — belong only on the broker’s own login screen.
    API keys and tokens are credentials in disguise, and they most often leak inside pasted code rather than on their own.
    Identity data such as PAN, Aadhaar, bank accounts, demat and client codes should never appear in a prompt, including in screenshots.
    Any personal information belonging to a client, subscriber or family member you manage money for is off limits by default.
    Draft research you have not yet published or acted on stays inside your own systems until it is out.

    Watch out — The single most common real-world leak is not a password typed on purpose — it is an API key sitting in the middle of a code snippet or a configuration file that somebody pasted for debugging. Read every pasted block from the top before you send it.

    Why Unpublished Research Sits on That List

    The first four red lines are intuitive. The fifth usually needs explaining, because the objection people expect — “the model will steal my idea and give it to someone else” — is not really the point. A language model does not lift your paragraph out of a conversation and hand it to a stranger the next morning. That is not how these systems behave.

    The real reasons are duller and more practical. Your draft has left your control. It may sit in a stored conversation you cannot fully account for. If your product’s settings allow training on submitted text, your unpublished view has been contributed to a process you cannot inspect. None of that is theft. All of it is a loss of custody over material whose entire value depends on when and to whom it is released.

    For a research analyst that timing is the job. A note has a publication moment and a defined audience. Material circulated outside your control before that moment sits awkwardly against the discipline of publishing it properly. The same logic applies to a retail trader with a plan they have not executed yet — a position you are about to build is information about your own future actions.

    There is also a quieter failure. Drafts change. A view you sketched at 11pm and abandoned by morning is not a view you would want preserved anywhere as a record of your thinking. Keeping unpublished work inside your own files means the only version that ever leaves your desk is the one you decided to stand behind.

    Research you have not published yet is not secret because it is clever — it is sensitive because its value is entirely in the timing and the audience of its release.

    The Grey Zone — Your Own Holdings and Position Sizes

    Your live holdings are not credentials. Nobody can trade your account because they know you own a mid-cap chemicals name. This is a genuine grey zone rather than a red line, and reasonable people land in different places on it.

    Here is the case for caution. A full holdings list with rupee values is a precise financial profile of you: roughly what you are worth, how much risk you take, how concentrated you are, and what you are likely to do next. On its own it is fairly harmless. Attached to your name, your email and a stored conversation history, it becomes a considerably more interesting document than any single line item in it.

    Here is the case that it usually does not matter — and it is a good one. You almost never need the real numbers to get the answer you were looking for. If you want to know whether your book is too concentrated, weights answer that better than rupees do. “Position A is 34% of the book, B is 22%, and A and B are both in the same sector” gets you a sharper reply than the same information in absolute amounts, because the model is not distracted by arithmetic it handles poorly anyway.

    So the practical rule is not “never discuss your portfolio”. It is “discuss its shape, not its balance”. Percentages instead of rupees, sectors and roles instead of scrip names where the name is not load-bearing, and no account identifiers anywhere near it. You lose nothing analytically and you stop building a profile of yourself on someone else’s server.

    Portfolio-shape prompt with the identifiers stripped out
    I want a structural review of a portfolio. Here is its shape, expressed as
    percentage weights. There are no account details and no rupee amounts.
    
    Holdings by weight:
    - Position 1 — 26% — large-cap private bank
    - Position 2 — 18% — non-banking finance company
    - Position 3 — 15% — large-cap IT services
    - Position 4 — 12% — mid-cap speciality chemicals
    - Position 5 — 11% — cement
    - Position 6 — 10% — two-wheeler auto
    - Cash — 8%
    
    Do three things, using only what is above:
    1. Group these into the economic exposures they actually represent, not the
       sector labels I used.
    2. Tell me where two or more positions are likely to move together, and say
       plainly why you think so.
    3. List what you would need to know that I have not given you, before this
       review could be considered complete.
    
    Do not suggest what to buy, sell or hold. Do not assume any figure I have not
    written above.

    When to use — Any time you want a second read on how your book is structured, without handing over a document that identifies you or your account.

    A good answer — Groupings that cut across your own labels — for example noticing the bank and the finance company are one rate-sensitive bet — plus an explicit list of what it could not assess, such as your holding period, your income needs, or the correlation history it has no data for.

    Talking about your own book

    Do

    • Describe positions as percentage weights of the total book rather than rupee amounts.
    • Group holdings by sector and by the role each one plays, which is what a concentration question actually needs.
    • Replace scrip names with neutral labels when the specific company is not what you are asking about.
    • Do the arithmetic yourself and give the model the finished percentages to reason over.
    • Start a fresh conversation for portfolio questions instead of appending them to a thread that already contains other personal detail.

    Don't

    • Paste a broker statement or contract note as-is, since those carry your client code and account number.
    • Upload a screenshot of your holdings page, which usually includes your name and account header.
    • Give absolute rupee values alongside your real name or email in the same conversation.
    • Include your demat account number or client ID because you were copying a whole row of a table.
    • Assume a deleted chat is a chat that never existed anywhere.

    Redact Before You Paste — It Costs You Almost Nothing

    Redaction sounds like an extra chore. In practice it is a fifteen-second habit that removes most of the risk from most of the work you would ever want to do. The trick is to replace identifiers with stable placeholders rather than deleting them, so the text still reads as a coherent document.

    Swap a client’s name for “Client A” throughout. Swap an account number for “[ACCOUNT]”. Swap a PAN for “[PAN]”. Keep the placeholder consistent within one document so relationships survive — if the same person appears four times, they should be “Client A” four times. The model reasons about structure perfectly well without knowing who anybody is.

    The second habit is stronger than redaction and easier to forget: work from the public document instead of your private notes. If you want a company’s segment disclosure summarised, paste the relevant pages of the annual report or the exchange filing — that text is already public, so nothing sensitive has moved anywhere. Your private commentary on it can stay in your own file, where it was always more useful anyway.

    This reframes the whole problem. Most of what you want from a model is compression and structuring of source material. Source material for listed companies is overwhelmingly public: filings on the exchange website, the annual report PDF, the concall transcript, the press release. The sensitive layer is your own view, your own positions and your own clients — and that layer is exactly the part the model does not need in order to be useful.

    Working from the public filing instead of your private notes
    Below is text I have copied from a company’s exchange filing. It is a public
    document. Work only from this text.
    
    --- BEGIN FILING TEXT ---
    [paste the relevant pages here]
    --- END FILING TEXT ---
    
    Produce:
    1. A plain-language summary of what this filing announces, in under 120 words.
    2. Every number stated in the filing, listed with the exact sentence it came from.
    3. Anything the filing is deliberately vague about — timelines, amounts or
       conditions it mentions without specifying.
    
    Rules: if something is not in the text above, write “not stated in the filing”.
    Do not add context from your training data. Do not tell me what this means for
    the share price.

    When to use — Whenever your instinct is to paste your own research note. Paste the underlying public document instead and keep your view on your own machine.

    A good answer — A summary you could check line by line against the filing, a number list where each figure carries its source sentence, and at least one honest “not stated in the filing” rather than a smooth answer to everything.

    Pro tip — Build the redacted version once and save it. If you review the same client book or the same watchlist every quarter, the placeholder mapping is written once and reused, and the pre-paste step drops to nearly zero effort.

    No-Training Modes, Retention Settings and Local Models

    Most serious AI products now expose some control over this. The names differ, but the two things worth hunting for in the settings are a training opt-out — a switch saying your content will not be used to improve the models — and a retention setting that governs how long conversations are kept before deletion.

    Business and developer tiers usually come with firmer commitments than the free consumer app of the same product, because the customers on those tiers demanded them in writing. If you use AI for anything beyond casual questions, it is worth reading which tier you are actually on. People frequently assume their paid subscription carries terms that in fact only apply to the API.

    The strongest option is a local model — one that runs on your own laptop or desktop. The text never leaves the machine, so the entire question of retention and training disappears. The trade-off is real: local models are generally less capable than the largest hosted ones, they need a reasonably powerful computer, and you take on responsibility for your own device security. For genuinely confidential material, that trade is often worth making.

    The table below is a way to decide, not a ranking. Every row is the right answer for something. The mistake is using the free consumer tier for work that belonged in the last two rows.

    Where you run itWhere the text goesWhat you must checkThe job it fits
    Free consumer tierProvider serversWhether inputs are used for training by defaultLearning, public documents, general questions
    Paid consumer tierProvider serversWhether a training opt-out exists and is switched onDaily research on filings and public data
    Business or API tierProvider serversRetention period and the data-processing termsWork touching a firm’s internal documents
    Local model on your machineNowhere — it stays on diskYour own device and backup securityGenuinely confidential or client material
    Redacted prompt, any tierProvider serversThat the redaction is actually completeAnything where identifiers can be removed
    Match the material to the setup. The failure mode is not choosing a “bad” option — it is putting confidential material through an option built for public documents.

    If You Handle Anyone Else’s Money, This Becomes a Legal Question

    Everything above is a matter of your own judgement while the only data at risk is yours. That changes completely the moment somebody else’s information is involved. Then it is not a preference. It is a compliance question, and it has a wrong answer.

    India enacted the Digital Personal Data Protection Act in 2023, which governs how personal data about individuals is handled. Separately, a SEBI-registered intermediary carries its own obligations around the confidentiality of client information under the framework it is registered within. Both of those are live considerations the moment client names, PANs, contact details or portfolio records move into a third-party service.

    Pasting client information into an AI product is a decision about where that data is processed and who else can hold it. Decisions of that kind are exactly what data protection rules are written about. Whether a particular arrangement is acceptable depends on your registration, your client agreements, the vendor’s terms and the specific data involved — which is a combination nobody can resolve from a general article.

    So treat this as a flag, not an answer. Nothing here is legal advice, and this article deliberately states no section numbers, timelines or penalties, because getting those slightly wrong would be worse than not writing them. Have your actual setup reviewed by someone qualified before you route any client data through any third-party tool. Until that review has happened, the safe default is the simple one: do not paste it.

    Watch out — If you are unsure whether a piece of client information can go into a hosted AI tool, the answer for today is no. “Unclear” and “permitted” are not the same state, and the cost of waiting for a proper answer is far lower than the cost of being wrong.

    The Pre-Paste Review — Ten Seconds Before Enter

    None of this works as a set of principles you agree with in the abstract. It works as a habit attached to a specific moment — the pause between finishing a prompt and pressing Enter. Ten seconds, every time, until it stops being a decision.

    The review below is deliberately short. A checklist you actually run beats a policy document you read once and filed. Read the pasted block from the top, not the bottom, because the things that leak most often sit near the beginning of a file: the import lines of a script, the header of a statement, the account row of an exported table.

    Run it hardest on anything you did not type yourself. Text you wrote by hand contains what you meant to write. Text you copied — a code file, a broker export, a PDF page, a screenshot — contains whatever else happened to be sitting next to it, and that is where the surprises live.

    The habit is not caution about AI. It is the ordinary discipline of knowing what is inside a file before you hand the file to somebody else.

    Run this before every paste

    Ten seconds against the block of text sitting in your prompt box, before you press Enter.

    • Read the pasted block from the first line down — not just the part you were interested in.
    • Search it for a password, an API key, a token or anything that looks like a long random string.
    • Search it for PAN, Aadhaar, bank account, demat or client-code patterns, including inside tables.
    • Confirm no other person’s name, phone number, email or address survived the copy.
    • Confirm rupee amounts have become percentage weights wherever the absolute figure was not needed.
    • Ask whether the public version of this document would answer the same question — and use that instead if it would.
    • Confirm you are in the product and plan you intended, with the training and retention settings you believe you have.
    • If anything on this list is unresolved, close the prompt and fix the text before sending it.

    Common questions

    Your holdings are not credentials, so nobody can trade your account with them. The risk is building a detailed financial profile of yourself inside a stored conversation. In practice you rarely need the real numbers — percentage weights answer concentration and overlap questions better than rupee amounts do. Use weights, drop account identifiers, and the question mostly goes away.

    Knowledge Check

    Question 1 of 3Score: 0

    Which of these is the most common way sensitive data actually leaks into a prompt box?

    Rohit Singh — Mr. Chartist

    Written By

    Rohit Singh

    Mr. Chartist

    With 14+ years of experience in Indian financial markets, Rohit Singh (Mr. Chartist) is a SEBI Registered Research Analyst, Amazon #1 bestselling author, and the founder of Investology — a premium trading ecosystem trusted by a 1.5 Lakh+ strong community across India.

    INH000015297Full Bio

    Keep reading