PromptShield

Pronounced PROMPT-sheeld  /ˈprɒmpt ʃiːld/

A desktop AI assistant that reads your files and answers your questions, and never lets your secrets leave your computer.

CS491/492 Senior Design Project
Department of Computer Engineering, Bilkent University
2026–2027

What the cloud model would see

A simplified version of our first detection layer, running only in your browser. Nothing you type here is sent anywhere.

Why we're building it

Cloud assistants like ChatGPT and Claude are powerful, but whatever you paste into them leaves your machine: API keys, passwords, client names, private code. Companies pay for enterprise contracts to protect this data, yet keeping it safe is still their own responsibility.

Local models avoid the problem but are much weaker. Today you have to pick one or the other for a whole session.

PromptShield sits between you and the model. It decides, per question, where your question can go. Before anything reaches the cloud, it finds sensitive data and masks it, and it keeps a record of every decision.

Strict mode

A local model answers using your local files. Nothing leaves the computer. Best for private notes, sensitive code and personal documents.

Sanitized mode

A cloud model answers harder questions, but only after secrets are removed from the prompt. The cloud sees the question, not the secrets.

How a question travels

  1. You ask

    Press Alt+Space and type in plain language.

  2. Local search

    Relevant passages are found in your own files, on your disk.

  3. Privacy check

    Pattern rules, then a small local model, look for secrets and mask them.

  4. Route

    Secrets found means it stays local. Otherwise hard questions may go to the cloud.

  5. Answer and log

    You get the answer, and every outgoing prompt is written to an audit log.

Team

NameStudent IDEmail
Leyla Abbasova22301172leyla.abbasova@ug.bilkent.edu.tr
Zaeem Masood Sheikh22201178zaeem.sheikh@ug.bilkent.edu.tr
Farrukh Mammadov22301186farrukh.mammadov@ug.bilkent.edu.tr
Shahin Ibrahimli22301574shahin.ibrahimli@ug.bilkent.edu.tr

Supervisor, instructors and innovation expert

Supervisor

Cevdet Aykanat

Innovation expert

Alper Sarikan

Course instructor

Mert Bıçakcı

Course instructor

Hüseyin Acacak

Reports