Prompt Injection
Inyección de Prompt
La inyección de prompt es un texto dañino o inesperado. Intenta hacer que una IA ignore las reglas confiables de la aplicación y siga otras instrucciones.
Otro ejemplo
Un evaluador de seguridad abre una página web que oculta una orden para exportar secretos. El agente debe tratarlo como texto no confiable y bloquear la llamada a la herramienta. Un prompt mal escrito no es una inyección a menos que tome el control de la instrucción.
Partes principales
- 01límite de instrucción
- 02carga no confiable
- 03acción privilegiada
Úsalo cuando
Use este término al comprobar si texto directo u oculto puede tomar el control de las instrucciones de un sistema de IA.
No lo uses cuando
No llames inyección de chat con respuesta incorrecta o violación de reglas cuando no ocurrió una toma de control de instrucciones.
Nombre usado en código
untrusted content ≠ trusted instruction Antes de lanzarlo
Work only within an explicitly authorized and isolated defense test. Check the trust boundary, inert regression case, mitigation, and handling of secrets and personal data. Check redacted detection signals, safe failure, incident owner, recovery, and rollback. Never test a real target.
Outcome: Complete the task with Inyección de Prompt (Prompt Injection). User context: Un evaluador de seguridad abre una página web que oculta una orden para exportar secretos. El agente debe tratarlo como texto no confiable y bloquear la llamada a la herramienta. Un prompt mal escrito no es una inyección a menos que tome el control de la instrucción. Risk or control to address: Inyección de Prompt (Prompt Injection). Why it applies: Use este término al comprobar si texto directo u oculto puede tomar el control de las instrucciones de un sistema de IA. Classification boundary: No llames inyección de chat con respuesta incorrecta o violación de reglas cuando no ocurrió una toma de control de instrucciones. Safety requirements: Test only in an isolated space with explicit permission. Use inert, harmless inputs. Protect secrets and personal data. Name the trust boundary and record the mitigation. Operational safeguards: Set up detection and logs that hide sensitive data. Name the incident owner. Define a safe failure mode and rollback before release. Acceptance criteria: A defensive regression test fails before the mitigation and passes after it. No real target, secret, or personal data is used. Monitoring and rollback are verified. Evidence and limits (evidence boundary): Es oficial para esa fuente. Otras plataformas o equipos pueden usar el término de otra manera. Unknowns to confirm: Authorized scope, affected assets, data class, threat actor, incident owner, and rollback limits.
Revisa esta petición
Review how Inyección de Prompt (Prompt Injection) is used now. Definition: La inyección de prompt es un texto dañino o inesperado. Intenta hacer que una IA ignore las reglas confiables de la aplicación y siga otras instrucciones. Release checks: Work only within an explicitly authorized and isolated defense test. Check the trust boundary, inert regression case, mitigation, and handling of secrets and personal data. Check redacted detection signals, safe failure, incident owner, recovery, and rollback. Never test a real target. Before changing code, list the evidence, gaps, severity, and the smallest safe fix.