fix(security): rotate benchmark HMAC signing secret

Rotate the HMAC secret used for signing benchmark submissions to the
community leaderboard. The previous secret was compromised (hardcoded
in open-source code and used to submit a fake leaderboard entry).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Chris Sherwood 2026-03-12 17:50:14 -07:00 committed by Jake Turner
parent db22b0c5f6
commit baf16ae824

View File

@ -32,7 +32,7 @@ import Dockerode from 'dockerode'
// This provides basic protection against casual API abuse. // This provides basic protection against casual API abuse.
// Note: Since NOMAD is open source, a determined attacker could extract this. // Note: Since NOMAD is open source, a determined attacker could extract this.
// For stronger protection, see challenge-response authentication. // For stronger protection, see challenge-response authentication.
const BENCHMARK_HMAC_SECRET = 'nomad-benchmark-v1-2026' const BENCHMARK_HMAC_SECRET = '778ba65d0bc0e23119e5ffce4b3716648a7d071f0a47ec3f'
// Re-export default weights for use in service // Re-export default weights for use in service
const SCORE_WEIGHTS = { const SCORE_WEIGHTS = {