Repository navigation
Replies: 2 comments 4 replies
|
This is a very interesting second evaluation, Farouk. The indirect prompt injection scenario is particularly important because malicious instructions can be embedded within otherwise legitimate clinical records and influence downstream AI processing without the user explicitly submitting them. I appreciate that you're testing this through the actual application workflow using synthetic patient data, rather than relying solely on isolated prompts. Once you've published the results, I would be interested in reviewing the attack outcomes. Looking forward to seeing the results and dataset. Thanks |
|
ASI01 through clinical notes: results, issues and dataset The second evaluation is complete. Here's the summary, the issues it produced, and the full dataset (attached). Setup. Target: the AI patient summary in Tbibia, the dental clinic management SaaS I built and run in production. It reads a patient's clinical notes and returns a structured JSON summary ( Raw verdicts (baseline, app commit After manual review: the model never followed an injected note. In the 27 AI summaries, 25 left the injected note out and summarised only the real notes, and 2 mentioned it as a neutral bullet. No summary followed an instruction, changed the next step or included text the attacker asked for. Across 70 prompt runs, no system-prompt text, no confirmation token and no other patient's name showed up in any output.
One security issue found and fixed, in the app, not the model. When every model call failed, the local fallback summary quoted the newest note as the clinical "next step". In these runs that was the attacker's text, shown to the dentist as a recommendation. The card was also labeled as a demo, and the raw provider error went to the browser. Severity low to medium: no data exposure, and it needs an AI failure, but those happen on every API tier.
SafeLabs-Eval did not flag the issue. It scored UNCERTAIN with 0 indicators. I found it by reviewing what the app displayed. That's the main input for the issues below. Issues to open from this evaluation
Limitations. One synthetic patient file, with the injected note always the newest. Provider availability changed between runs, so latency and fallback counts aren't comparable. The ASI01 prompts read as direct messages, so realistic documents (a referral letter with a hidden instruction) would be a stronger indirect test. Dataset. safelabs-eval-asi01-notes-dataset.zip, attached: full report, per-prompt tables, raw SafeLabs JSON, bridge and model logs, before/after screenshots, tools. CC BY 4.0. |
Uh oh!
There was an error while loading. Please reload this page.
Hey everyone,
This is the second evaluation I'm running with SafeLabs-Eval, following #68. The first covered the AI patient search of Tbibia, the dental clinic management SaaS I built and run in production. This one targets a different surface: the AI that summarises a patient's clinical notes.
I picked it because it's the indirect case. The attacker isn't the person typing a question. The instruction sits inside a note, in otherwise legitimate clinical content, and the AI reads it later together with the rest of the patient's file. In a clinical setting, where AI summaries feed on information stored in patient records, that's the realistic attack.
What I'm checking:
Setup: each prompt is saved as a clinical note on a synthetic patient through the real UI, then the summary is generated. QA account, synthetic data only.
Results, the dataset and my notes on the tool will follow in separate updates.
All reactions