Data Report · RedactSure Research
Chris Sowa · Founder, RedactSure
Published
Last updated
What Can an AI Agent See in a Patient Portal?
Everything the portal shows the patient: test results, visit notes, medications, messages to the care team, appointments, statements and insurance details. An agent signed in on the patient's own session reads that whole view, so ask what the model receives from each rendered screen and who approves a payment or a record change.

A patient portal is the one clinical application built to show a person their own record in full, and that is what makes it the newest place an AI agent can read too much. A patient who asks an assistant to check a result, pay a statement or draft a message to the care team hands it a signed-in session on a system designed for completeness. The agent reads the page the patient would read, and the page carries the prior results, the visit summary, the medication list, the message thread and the balance beside the one value the task needed.
The controls that look like an answer are about people. Proxy access decides whether a parent or a caregiver may open a relative's chart, confidential messaging decides which proxies see a sensitive message, and an adolescent's message may route to a pool rather than to a named clinician. Each rule answers who may open the record. None answers what a model receives once the page is open, and the patient's own login is the widest view the portal offers.
The record to follow is one MyChart session, opened by a patient who has asked an agent to read a result and pay the balance on the account. That session draws four screens: the result, the visit note, the message thread and the account summary. A practice that writes down what the model receives on those screens, and who approved the payment, has answered the title question for its own portal rather than for portals in general.
Key findings
- For an assistant on a patient's session to be safe, the values on the rendered page would have to be replaced with consistent tokens before the model reads it, so a result arrives as RESULT_002 and the patient as PATIENT_014, with real values resolving only at the approved destination (What Is Render-Layer Tokenization?).
- It would also require a named person approving each payment and each change to the record, and a record of what the model received on each screen, exported to the practice's own monitoring (What Is the PII Wall?).
- The pages reviewed describe who may open a chart and which proxy sees a confidential message, and none of them states what an assistant on that session receives (University of Iowa Health Care, 2026).
- Epic's help page states that "You can use MyChart to send messages for non-urgent medical questions to your care team," and it files the replies in a Message Center that tells a reader what the inbox holds rather than what a model reads there (Epic Systems, MyChart Help, 2026).
- Epic's billing interfaces state that "The gateway then sends the verified payment information back to the Epic system to post the payment," a path shared by the patient portal, the kiosk, the phone line and the billing office, so the agent that pays reads a page a clerk also reads (Epic Systems, Financial, 2026).
- AWS's guidance for agentic systems states that "audit logs attribute every action unambiguously to either an agent or a human actor," the distinction a session shared with a patient's login removes (AWS, 2026).
What does a patient portal draw on the screen an agent reads?
The record is one signed-in patient session, and the page that opens after sign-in is already a summary: results, messages, medications, appointments, billing and insurance, each a link to a page of its own. A patient who asks an agent to check one result starts it there, so the task is narrow and the page is not.
A result page draws more than the result: the test name, the value with its units, the reference range, the collection date, the ordering provider and any comment, with the prior results for the same test beside the new one. A value that moved since last year is why the page shows the history.
The visit note is longer. An after-visit summary states the diagnoses discussed, the instructions, the medications changed and the follow-up date, and the note itself is prose about the patient's body and circumstances. The medication list adds dose, frequency, prescriber and pharmacy. None of that is a field the task needs for one result.
The message thread carries the most patient-written text. Epic's patient help page puts the thread in a Message Center with "four folders," Conversations, Appointments, Automated Messages and Trash, so a thread is one tab of a page that also holds appointments and automated notices (Epic Systems, MyChart Help, 2026). An agent asked to draft a reply reads the thread it replies to, and the thread may run back years.
What the model receives is the rendered page: labels and values in the order the page draws them, plus an image of the same page if the agent captures a screenshot. A student information system shows the same shape, where a profile page draws the guardian's phone and the clinic note beside the attendance code (What Can an AI Agent See in a Student Information System?).
| Portal screen | What it draws | What the model receives without a control |
|---|---|---|
| Result | Test name, value, units, reference range, collection date, ordering provider, comment, prior results | All of it, including the history the task did not need |
| Visit note | Diagnoses, instructions, medication changes, follow-up date, the clinician's prose | The note as written |
| Medication list | Dose, frequency, prescriber, pharmacy, refill history | Every row |
| Message thread | The patient's words, the clinician's replies, attachments | The thread as rendered |
| Account summary | Guarantor, balances, statements, payment options | The balance and the identity fields that identify the account |
What changes when the agent runs on the patient's own session?
Authorization is the patient's. The agent holds no portal account of its own; it works inside the session the patient opened, so every page it reaches is a page the patient could reach. The practice provisioned nothing for the agent, reviewed nothing, and has no account to disable when the task ends.
A session is also not an identity. When the portal logs the visit it records the patient. AWS's guidance for agentic systems asks for the opposite property: "audit logs attribute every action unambiguously to either an agent or a human actor" (AWS, 2026). The practice can see that the account opened a statement; it cannot see whether a person or a model read the page, or what the model kept.
The session can act as well as read, and Harvard's guidance for generative AI systems names the combination: "The riskiest agent setup combines three things: access to private data, exposure to untrusted content, and the ability to send data outward," and advises removing one where possible (Harvard University Information Security and Data Privacy, 2026). A portal session carries all three: a private chart, text from other people, and the ability to send.
What the patient gains is a narrow task done faster. What the practice loses is the ability to say what left the record: the agent's transcript belongs to whoever operates the agent, so the practice's log and the operator's log describe different events.
Substitution has a limit on this record. A queue of patient messages is the clearest case: replacing values on the rendered screen works for a name or a balance, not for a sentence, so a task that must read what a patient wrote keeps that exposure (Can an AI Agent Work in Epic MyChart Without Seeing Patient Messages?). A task that reads a result or pays a statement is a different case.
What do the vendors themselves say?
Three pages bear on the question: Epic's patient help page for MyChart messaging, Epic's financial interface catalog, and a university health system's Epic education page for the staff side of MyChart. Each documents a surface a patient or a clerk works on; none is a specification for what a model receives from it.
The help page describes the inbox. It states that "You can use MyChart to send messages for non-urgent medical questions to your care team," and names the four Message Center folders. The same page says "Each organization chooses which providers are available for messaging," so the inbox is a local configuration rather than an Epic-wide guarantee (Epic Systems, MyChart Help, 2026). It describes who may be messaged and where replies land, not what a reader receives.
The financial catalog describes the payment path. Incoming Financial Transactions can "post or void charges on guarantor accounts," and card payments are gateway-mediated: "The gateway then sends the verified payment information back to the Epic system to post the payment," across "the patient portal and patient kiosk software as well as in over-the-phone and billing-office use cases" (Epic Systems, Financial, 2026). Its statement extracts carry "information about the patient and their Professional Billing balances in Epic," and the catalog warns "File format subject to change" (Epic Systems, Financial, 2026).
The staff-side page describes the proxy rules. Adolescent proxy messages are "routed to a general pediatric or pediatric specialty pool," and "HIM approved Patient Proxies are given access to view a patient's chart through MyChart via Proxy Access" (University of Iowa Health Care, 2026). It is an index of handout titles, so it states one organization's configuration and gives no age cutoffs.
The three pages add up to who may see and who may pay. What a model receives from the rendered page is not described in the pages reviewed.
| Dimension | What the documentation states | What a buyer should verify |
|---|---|---|
| Patient messages | "You can use MyChart to send messages for non-urgent medical questions to your care team"; four folders; provider availability set by each organization (Epic Systems, MyChart Help, 2026). | Whether the agent's task needs the whole thread or one message |
| Payment posting | A gateway returns verified payment data for the portal, the kiosk, the phone and the billing office (Epic Systems, Financial, 2026). | What the model sees on the payment page before it submits |
| Statements | Extracts carry information about the patient and the patient's Professional Billing balances; the format may change (Epic Systems, Financial, 2026). | Which fields the extract and the page hold |
| Proxy access | HIM-approved proxies view the chart; a confidential message can be hidden from a proxy (University of Iowa Health Care, 2026). | Which proxy view the agent runs under |
What does a proxy's account show an agent that reads the chart?
A proxy account is the portal's answer to a family's need: a parent manages a child's appointments and bills, an adult child manages a parent's. The university's staff-side page states that "HIM approved Patient Proxies are given access to view a patient's chart through MyChart via Proxy Access," and it describes a confidential message as one the patient and the clinician can keep from a proxy (University of Iowa Health Care, 2026). A proxy's view is a policy-shaped subset, and it is the subset an agent on that account inherits.
The inheritance cuts both ways. A parent's agent sees a child's record, including messages the portal routed to a pediatric pool, while an adult child's agent sees what the proxy approval covers and not the rest. Two proxy accounts, two reads, and neither is the patient's own view.
What the policy does not do is name software. The rules decide which person may open which chart, and a health information management office reviewed them, not a security team thinking about a model. An agent driving the proxy's session is, to the portal, the proxy.
The regulatory edge follows from what the model receives. OWASP's entry for sensitive information disclosure records that "Personal identifiable information (PII) may be disclosed during interactions with the LLM," which describes the exposure without saying where the control belongs (OWASP, 2025). Whether the model vendor becomes a business associate turns on what the model receives, because a business associate is defined by the data it handles rather than by the technology (Does an AI Model Vendor Need a BAA for Patient Records?).
That is why the visibility question is also a contracting question. A practice that cannot say what the model received cannot say whether the vendor needed an agreement. The portal will show the proxy the chart the policy allows; it keeps no view of what the agent did with it.
What record does the portal keep of an agent's reading?
The portal keeps an access record. It can say that the patient's account signed in, which pages the account opened and when, and which proxy account it was. That is a record of authorization. It is not a record of what a model read.
The agent's own record sits elsewhere. A hosted agent keeps a transcript of the pages it read and the actions it took; a local extension keeps less. Either way the custodian is the agent's operator, so the practice's log and the operator's transcript describe different events. A run that posts a patient payment can be made to work against ACCT_001 while the real name resolves only at the payment destination (How Do Hospitals Use AI Agents Without Exposing Patient Data?).
Why the values belong in the record is the research question. Information-flow research found that "poisoned data retrieved from one component can change the model's behavior and compromise the entire system," including "coercing the model to spread confidential data to untrusted components" (Siddiqui et al., 2025). Once a value is in the context, the model can carry it somewhere the practice did not intend.
A filter score does not replace that record. A firewall at the agent-tool interface can post a perfect score on four public benchmarks and still rest on benchmarks the same paper calls "easily saturated," which is why a filter's score is not a record of what the model read (Bhagwatkar et al., 2026). Adaptive attacks bypassed 12 published defenses with an "attack success rate above 90% for most," so a detection layer is not a guarantee that a page's values stay out of a model (Nasr et al., 2025).
A practice can ask for a record with the screen the model was shown, the values on it, the action the agent took, and the name of the person who approved a payment or a change. It exports to the practice's own monitoring.
What does a governed environment change?
A governed environment is a control class that acts where a screen is rendered, before any model reads it. Values chosen by policy are replaced with consistent tokens for the whole run, real values resolve only at an approved destination, and a named person approves each consequential step. Every screen, action and approval is written to a record that exports to the organization's own monitoring.
For a portal session, that changes the read. The result page draws PATIENT_014, RESULT_002 and the collection date, the statement draws ACCT_001 and the balance, and the agent works the task on those tokens. The real name, the real result and the real account number resolve at the destination the practice approved, so a payment posts while the model holds only the token.
The limit is the text. Substitution covers identifiers and values, not the meaning of a sentence, so a task that must read what a patient wrote or a clinician noted still carries that text into the model's context. That is why this page separates reading a result from reading a thread.
The category has a comparison. The comparison that matters for a portal session is where the control sits, and the browser-side category is compared on that axis in (RedactSure vs Akamai Workforce Protector: 2026 Comparison & Alternative). The question a buyer carries into it is the one this page asks: what does the model receive from the rendered page, and who approved the action that followed.
What the record shows
What the model receives from a patient portal is settled at the rendered page, not by the proxy rules that decide who may open the chart. The completeness that makes a portal useful is the same property that makes an agent on the patient's session a wide read: results, notes, medications, messages, statements and insurance sit behind one sign-in, and the rules that narrow a person's view name no software. The control that changes the answer replaces the identifiers and values on the rendered page with consistent tokens before the model reads them, resolves the real ones only where a named person approves an action, and writes down what the model received. A practice can test one session: pick an agent, a result and a statement, run the read and the payment with test values, and compare what the model received with what the portal logged. The difference between those two records is the exposure.
Methodology and limitations
The page rests on two Epic documentation pages, a university health system's Epic education page, AWS's agentic AI guidance, OWASP's entry on sensitive information disclosure, three research preprints on injection, information flow and adaptive attacks, and existing RedactSure research pages. The pages reviewed were read between October 16, 2026 and October 22, 2026, and each Sources line carries the date for its page. Public documentation read in full gives a sound view of where each product applies its control, and the portal pages quoted here are product help pages rather than any practice's policy.
No product on this page was tested hands-on, and "not described in the pages reviewed" means the pages reviewed do not state the point. Vendor features change and the page carries its date. RedactSure is deploying now with enterprise and government customers. The example describes a record type, not an organization. Determinations about contractual or regulatory requirements belong to counsel, assessors and the organization's own compliance officers, and nothing here replaces a pilot of one workflow on the practice's own screens.
Frequently asked questions
What can an AI agent see on the patient portal screen?
Whatever the patient's own view draws: test results with reference ranges, visit notes and after-visit instructions, the medication list, messages to the care team, appointments, statements and insurance details. A portal is built to show the patient the whole record, so an agent working inside the patient's session receives the page as rendered, including fields the task did not need. The proxy and messaging rules limit which people may open the chart, not what a model reads once it is open.
Does the portal know an AI agent is reading?
No. The agent works inside the patient's authenticated session, so the portal sees the account it has always seen. The access log records that the account signed in and which pages it opened, not the software driving the session. AWS's guidance asks for logs that attribute every action to an agent or a human actor, which is a design goal rather than a description of a patient portal (AWS, 2026).
Does the patient's own login limit what the model reads?
Not for what the model reads. The patient's login is the widest view the portal offers, because the portal is designed for the patient. A proxy account narrows it and a confidential message can be hidden from a proxy, but those rules govern people. They do not decide what a page renders to an assistant, and the patient's own session has no narrower view to fall back on.
What does an agent receive from a result page?
The result, its units and reference range, the collection date, the ordering provider and any comment, along with whatever else the page draws: prior results, the problem list, allergies and the link to the visit note. A person reads the one line; the model receives the page. Replacing the patient's identifiers and the values with consistent tokens before the model reads it keeps the result usable and the record out of the transcript.
What record should a practice ask for?
Ask for a record of the screen the model was shown, the values that were on it, the action the agent took and the name of the person who approved it, exported to the practice's own monitoring. The portal's access log is not that record, and the agent operator's transcript is not under the practice's control. Ask for the record before the first run, because after an incident the gap between the two logs is the first thing counsel will examine.
What would make an agent on a patient portal safe to read results?
Values replaced on the rendered page before any model reads them, a named person approving each payment and each change to the record, and an exported record of what the model received. That combination keeps a result or a balance usable while the identifiers stay out of the model's context. RedactSure builds that environment for agents working in applications an organization already runs, patient portals included.
How RedactSure Keeps the Whole Chart Out of the Model's Context
An agent on a patient's session reads the whole page, and the proxy rules reviewed above govern who may open the chart, not what the model receives.
The environment that enforces this is built by RedactSure, an AI agent controls, governance and data protection company.
Before: the agent opens the result page and the statement, so the model receives the result, the reference range, the patient's name and the balance. Inside the governed environment: the page draws PATIENT_014, RESULT_002 and ACCT_001, the agent works the task on those tokens, and the real values resolve only at the payment form after a named person approves.
RedactSure is deploying now with enterprise and government customers. Epic's statement extract carries information about the patient and the balance on the account.
Everyone else controls where data can go. RedactSure controls what the AI can see.
See it on your own workflow
A portal that draws the whole chart for a model leaves the practice exposed in ways its reviews missed. Bring one portal task and see, with test values, the page as the model reads it, the approval and the record. Book a demo