For your digest
express-basic-auth: express-basic-auth Timing Attack due to native string comparison instead of constant time string comparison
It touches something Phylax follows. No evidence of use yet.
Does it affect what I run?
express-basic-auth (npm)
Checked in your browser. The version you type is not sent anywhere.
Who is affected
- express-basic-auth (npm): every version, before 1.1.7
The fix
express-basic-auth (npm) fixed in 1.1.7
npmnpm install express-basic-auth@1.1.7pnpmpnpm add express-basic-auth@1.1.7yarnyarn add express-basic-auth@1.1.7bunbun add express-basic-auth@1.1.7Check what is installednpm ls express-basic-authPaste into Cursor, Lovable or Claude CodeUpgrade the npm dependency express-basic-auth to 1.1.7 or the nearest later release, to fix GHSA-c35v-qwqg-87jc. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
Fix commands generated from the advisory's versions. No model wrote them.
In plain words
Brief pending: here are the facts and the fix. The explanation in plain words follows when it has been written and checked.
Evidence
No evidence that it is being used, or can be. It is listed because of what it affects.
Timeline
- First published here, as "For your digest".