Portal Grok runs in a home and holds a Grok Gadgets device token. If you find a vulnerability, report it in private to the repository owners (THATMUCH). Do not open a public issue.
In scope: this repository and the Portal Grok app it builds (com.grokportal.gadget).
Out of scope: Grok Bot and SpaceXSI services, the Grok Gadgets gateway
(https://github.com/adidshaft/grok-gadgets-gateway), Meta's services and Portal firmware.
The device token lives in the gateway's config directory and, on the Portal, encrypted with an Android
Keystore key. It is configured once from a grok.json file that the app deletes after reading. Never commit
it. If a token leaks: grok-gadgets-gateway enroll portal-mini --rotate, oauth revoke grok-bot, and
remote off while the tunnel is up.
The files in core/src/test/resources are synthetic or public fixtures inherited from Muse_portal
(pairing, Noise and RTC vectors, public Mozilla root certificates). They are not secrets. Do not replace
them with real tokens, keys or captured traffic.