Kedis ku xidhan hagaha · Adag Heerka
Bixinta degdega ah iyo Kediska Soo saarista Degdegga ah ee Nidaamka
Wuxuu tijaabiyaa sida daadaynta degdega ah u shaqeyso, sida ay uga duwan tahay duritaanka degdega ah, iyo sababta abka ammaansan ay u xafidaan siraha iyo xoojinta ka baxsan nidaamka degdegga ah.
Su'aal 1 ee 8
Why can't a system prompt be guaranteed to stay secret?
Horudhac su'aal kasta8 su'aalo
Jawaabaha iyo sharraxaadaha waxay soo baxayaan markaad qaadanayso kediska.
- Why can't a system prompt be guaranteed to stay secret?
- System prompts are stored on public servers
- The model reads it as ordinary text in its context, and keeping it private is only a learned tendency
- All APIs publish system prompts automatically
- System prompts are deleted after each message
- How does prompt leaking differ from prompt injection?
- Dhab ahaan waa isku shay
- Leaking is about extracting hidden content, while injection is about making the model follow the attacker's instructions
- Injection only affects images
- Leaking only happens with open-source models
- What was revealed in the well-known Bing Chat leak in February 2023?
- Microsoft's source code
- User passwords
- Instructions including the internal codename Sydney
- Xogta tababarka modelka
- Which approach does the guide say is the safest way to handle an API key the app needs?
- Put it in the system prompt with a note saying 'keep this secret'
- Encode it in base64 inside the prompt
- Keep it in server-side code or a secrets manager and give the model scoped tools
- Split it across several messages
- Why can simple output filters fail to stop a leak?
- Filters slow the model too much to be used
- Attackers can ask for the prompt paraphrased, translated or extracted a piece at a time
- Filters only work on images
- Output filters block all responses
- What is the purpose of placing a canary string in a system prompt?
- To make the model answer faster
- To detect in logs when the prompt has been leaked
- To encrypt the prompt
- To prevent all injection attacks
- A support bot's refund limit is written in its prompt and also enforced in the backend. What happens if the prompt leaks?
- Users can now issue unlimited refunds
- The rule becomes known but cannot be bypassed because the backend still enforces it
- The bot shuts down
- The refund limit is automatically deleted
- Which document listed system prompt leakage as its own risk in its 2025 edition?
- The OWASP Top 10 for LLM Applications
- The GDPR
- The HTTP specification
- The Unicode standard