Questionário vinculado ao guia · Difícil Nível
Teste de vazamento de prompt e extração de prompt do sistema
Testa como funciona o vazamento de prompt, como ele difere da injeção de prompt e por que aplicativos seguros mantêm segredos e aplicação fora do prompt do sistema.
Pergunta 1 de 8
Por que não é possível garantir que um prompt do sistema permaneça secreto?
Visualize cada pergunta8 perguntas
As respostas e explicações aparecem conforme você responde ao teste.
- Por que não é possível garantir que um prompt do sistema permaneça secreto?
- 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
- Como o vazamento imediato difere da injeção imediata?
- Eles são exatamente a mesma coisa
- 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
- O que foi revelado no conhecido vazamento do bate-papo Bing em fevereiro de 2023?
- Microsoft's source code
- User passwords
- Instructions including the internal codename Sydney
- Os dados de treinamento do modelo
- Qual abordagem o guia diz ser a maneira mais segura de lidar com uma chave de API que o aplicativo precisa?
- 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
- Por que filtros de saída simples não conseguem estancar um vazamento?
- 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
- O RGPD
- The HTTP specification
- The Unicode standard