T09 · Insecure Skill Coding Practices
- Location
scripts/ws_client.py:391- Finding
Physical device safety workflow is not enforced by the controller
- Content
View full analysis
dict: channel = body.get("channel", "A") action = body.get("action", "set") value = int(body.get("value", 1)) self._run_async(self.session.send_strength(channel, action, value)) return { "ok": True, "action": f"strength {action}", "channel": channel, "value": value, } def _handle_waveform(self, body: dict) -> dict: channel = body.get("channel", "A") ...[truncated 2543 chars]- Remediation
View remediation
