T07 · Tool Hijacking and Spoofing
- Location
assets/panel.html:31- Finding
Static Panel Fabricates Successful Security Scan Results
- Content
View full analysis
{ log('PI hits: 0 malicious'); log('Gateway: Safe'); document.getElementById('status').innerHTML = 'Status: 🟢 CLEAN'; }, 2000); } ``` ### Technical Analysis The recommended panel does not execute `scripts/audit.sh`, call a server endpoint, read an audit report, or validate the state of the OpenClaw installation. After a fixed two-second delay, it unconditionally displays zero malicious prompt-injection hits, a safe gateway, and a clean status. This behavior spoofs the output of a security tool. Execution failures, detected threats, unavailable dependencies, and unsafe gateway conditions cannot affect the displayed result. ### Attack Path 1. An OpenClaw installation contains a prompt-injection payload, unsafe gateway state, or another detectable condition. 2. The operator opens the recommended panel and selects **SCAN NOW**. 3. The `scan()` function only starts a timer and does not invoke the audit script. 4. The panel displays `PI hits: 0 malicious`, `Gateway: Safe`, and `CLEAN`. 5. The operator trusts the fabricated result and does not investigate or remediate the actual condition. ### Impact Assessment This issue does not directly grant operating-system privileges. Its security impact arises from suppressing accurate detection and misleading users responsible for security decisions. Any threat that the panel claims to assess may remain active because the panel always reports success. The scope includes every installation where this panel is used as the recommended security interface. It can cause missed prompt-injection findings, missed gateway issues, and prolonged exposure to an e ...[truncated 25 chars]- Remediation
View remediation
