Smart home: unprotected automation rule
In smart home platforms, every "automation rule" consists of three parts: trigger (what gives the signal — a schedule, a sensor, or an external webhook), condition (an additional requirement — for example, token verification), and action (what is executed).
Problem: if a rule triggering a sensitive action (like unlock_door) has no condition or it is not verified, anyone coming from the outside can simply send a request to the webhook address and open the door — no password or token is needed.
There are 6 rules in the attached automations.yaml file. Some are without a condition, but their action is harmless (for example, turning on a light or locking the door — this is a safe direction). Only one rule — which is triggered via an external webhook, has no condition, and opens (unlocks) the door — is a real vulnerability.
Find the id value of that rule.
Flag: BAYROQ{IOT_QOIDA_<ID>}