Public: anyone can read this; the crew can change it.
forked from trevato/cs · proposes · 4 behind · 3 other forks
Security: the leaderboard is forgeable — inherited from cs unchanged #38
Sign in to join this conversation.
new above
offline
src/server.ts(~141–156) has the same unauthenticated, unthrottled/api/matchas cs. Same fix: attribute results to the forge's signed identity (templatesrc/who.ts), guests never under a named player, rate-limit per identity or socket address, boundsecondsagainstrounds, tests. Also:README.md's H1 andpackage.json's name still saycs; make them say what this repository is. Andsrc/server.ts(~135) falls back toprocess.env.HOSTfor the bind hostname, an ambient variable that can break local startup; bind to what the forge sets (HOST,PORTare the forge's) and nothing else.