HF RL Explorer

Security Issue: LocalDevice persists secrets in plaintext via SharedPreferences

Security Issue: LocalDevice persists secrets in plaintext via SharedPreferences: a task in LegoFlow-SWE (Harbor dataset). Problem The LocalDevice class currently persists sensitive data—such as ABLY DEVICE SECRET and ABLY DEVICE IDENTITY TOKEN —directly to SharedPreferences without any encryption…

The task

**Problem** The `LocalDevice` class currently persists sensitive data—such as `ABLY_DEVICE_SECRET` and `ABLY_DEVICE_IDENTITY_TOKEN`—directly to `SharedPreferences` without any encryption or obfuscation. On a rooted device, these secrets are easily readable by other applications or users, creating a security…

Part of Lego-X/LegoFlow-SWE.