Skip to main content
Challenges Home Assistant secrets
IoT Easy IoT and secrets management: Home Assistant backup archive and !secret references Solves: 11

Home Assistant secrets

Author: CyberSamSU
Points
20

A nightly backup of the Home Assistant system was taken from a smart building control server: backup.tar. Inside the archive there are configuration.yaml, secrets.yaml and a .storage/ directory.

In Home Assistant, secret keys are not written directly in configuration.yaml, but are linked to the secrets.yaml file through the !secret <kalit_nomi> directive. The administrator left more than ten old, test and backup keys in secrets.yaml (each of them looks like a base64-encoded flag, but only one is real!).

Analysing the configuration.yaml file, determine the api_token: !secret ... key name of the uncommented (active) samsu_iot_bridge integration, then find exactly that key's value in secrets.yaml and obtain BAYROQ{...} by base64 decoding. (Flag format: BAYROQ{HOME_ASSISTANT_SIR_<16 kichik hex>}).

Attached files
backup.tar Log in to download
Hints 3
Opening a hint reduces the points you get for solving this challenge.
Hint 1 −2 pts Log in
Hint 2 −4 pts Log in
Hint 3 −6 pts Log in
To submit a flag, log in.

First solvers

1. Mirjaxon Qaxxarov 24.11.2026
2. Odam 25.11.2026
3. Рашевский Илья 27.11.2026
4. Гек 27.11.2026
5. Anna Zhig 27.11.2026
6. Alex 27.11.2026
7. Andrei Mileshkin 27.11.2026
8. aluminum908 27.11.2026
9. UltraSwag 27.11.2026
10. Asmaa Mottery 27.11.2026