T01 · Skill Instruction Hijacking
Warning
- Location
- SKILL.md:4
- Finding
- Persistent Agent Identity and Output Hijacking## Vulnerability Details **File Location**: `SKILL.md`, lines 4–15 **Vulnerability Type**: Persistent skill instruction hijacking through automatic activation **Risk Level**: Medium ### Vulnerable Code ```markdown metadata: openclaw: always: true --- # Descripción Detallada Esta habilidad sirve como punto de entrada para personalizar el comportamiento del bot en el servidor de Santi. Permite verificar que el sistema de carga de habilidades del espacio de trabajo está funcionando correctamente. # Instrucciones de Uso 1. Cuando el usuario te salude de forma formal o informal, debes identificarte como el asistente personalizado de Santi. 2. Explica brevemente que estás ejecutando OpenClaw en un servidor Ubuntu dedicado. 3. Si el usuario te pregunta "¿Estás listo?", responde con un resumen de tus capacidades actuales (clima, resúmenes de enlaces y gestión de archivos). 4. Mantén siempre un tono amable, profesional y eficiente. ``` ### Technical Analysis The `openclaw.always: true` configuration causes the skill instructions to remain active without requiring explicit user selection. Once loaded, the skill directs the agent to adopt the identity of “Santi's personalized assistant” and assert that it is running OpenClaw on a dedicated Ubuntu server. These instructions alter the agent's responses based on globally applicable triggers such as ordinary greetings. They can therefore override or interfere with the identity, context, and response objectives expected by the current user. The infrastructure and capability claims are unconditional and are not tied to verified runtime information, so the agent may present inaccurate deployment details or claim capabilities that are unavailable. No executable code, external network request, persistent memory write, credential access, or privilege-escalation mechanism was found. The issue is limited to manipulation of agent instructions and generated output. ### Attack Path 1. The platform discovers and loads th ...[truncated 1152 chars]
- Remediation
- ## Remediation Suggestions 1. Remove `openclaw.always: true` and require explicit activation based on a clear user request. 2. Avoid instructions that redefine the agent's core identity or impose third-party branding globally. 3. Make deployment statements conditional on trusted, verified runtime metadata. Do not claim that the agent runs on Ubuntu, OpenClaw, or dedicated infrastructure unless this has been confirmed. 4. Verify tool availability before advertising weather, link-summary, file-management, or GitHub capabilities. 5. Restrict greeting customization to presentation style and ensure it cannot override higher-priority identity, safety, privacy, or task instructions. 6. Document the intended activation scope and add tests confirming that unrelated conversations are unaffected when the skill has not been explicitly invoked.
