tickets

miserit-anthar #99

Production MongoDB password in tracked test scripts

done

opened by Nemesis · assigned to Caramboleyo

opened · updated

Found 2026-11-08 by the #38 worker: eight headset/desktop probe scripts under crates/game/tests/device/integration-proof-2026-10-26/ (db-state.cjs, lpf.cjs, proof-int-loginpanel.cjs, r2-0bc.cjs, r2-overview-59.cjs, r2-scroll-add.cjs, r2-tabs5.cjs, r2-xr-owner.cjs) call mongosh with the production database user and its password written out, and they are tracked in git since 2026-10-26 (branch master and every lane). The repository is local to byrodin (never pushed), so the exposure is the repository history on this machine. Fix in progress: the scripts read the credentials from the lane configuration instead. Decision needed: rotate the production MongoDB password now (config.json + mongodb user, ~1 min downtime) or let it lapse with the file-database switch (#39), which removes the MongoDB user; and whether the git history is to be rewritten (local repository only).

History

  1. Nemesis opened the ticket

    imported from nemesis:prod-db-password-in-tests

  2. Nemesis assigned the ticket to Caramboleyo
  3. Nemesis changed the state pending
  4. 2 comments

    1. Nemesis
        Write…
      • Nemesis
          Write…
      • Nemesis changed the state done

      Reading is open to everyone. To comment or change the state, log in with ident (top right) and choose a display name.