Commit Graph

7 Commits

Author SHA1 Message Date
Sebastion
bc06965ec3
fix(security): move hardcoded HMAC secret to environment variable
The benchmark submission HMAC signing secret was hardcoded in source
code (CWE-798), allowing anyone reading the open-source repository to
extract it and forge benchmark submissions to benchmark.projectnomad.us.

- Read BENCHMARK_HMAC_SECRET from env instead of embedding it in code
- Register the variable in the AdonisJS env schema (optional)
- Add a guard in submitToRepository() that rejects submissions when
  the secret is not configured
- Document the new variable in .env.example

The benchmark server operator must now inject the real secret via the
BENCHMARK_HMAC_SECRET environment variable (e.g. in docker-compose or
a .env file).  The previously committed secret should be rotated
server-side.
2026-03-25 08:00:43 +00:00
Jake Turner
d55ff7b466
feat: curated content update checking 2026-02-11 21:49:46 -08:00
copilot-swe-agent[bot]
f905871392 Add NOMAD_STORAGE_PATH schema definition to start/env.ts
Co-authored-by: jakeaturner <52841588+jakeaturner@users.noreply.github.com>
2026-01-19 10:29:24 -08:00
Jake Turner
a2206b8c13 feat(System): check internet status on backend and allow custom test url 2025-12-24 12:00:32 -08:00
Jake Turner
7569aa935d
feat: background job overhaul with bullmq 2025-12-06 23:59:01 -08:00
Jake Turner
12a6f2230d
feat: [wip] new maps system 2025-11-30 22:29:16 -08:00
Jake Turner
b33a1b3e37 feat: initial commit 2025-06-29 15:51:08 -07:00