npm package
Homesecure-compare
secure-compare is a utility for securely comparing two strings using a constant-time algorithm to prevent timing attacks. It is useful in scenarios where security is a concern, such as comparing passwords or tokens. This package is a direct copy from cryptiles and can be easily integrated into Node.
- lurq health score
- 42/100
- Confidence
- unproven
- Weekly downloads
- 7,550,071
- Latest version
- 3.0.1
- Last release
- Mar 30, 2015
- License
- MIT
Should you depend on secure-compare?
lurq's verdict: low
- No known advisories
Check this from your coding agent
This page is a daily snapshot. lurq's verify tool checks secure-compare at the exact version your agent is about to install, and compat checks it against the rest of your stack. One command connects Claude Code, Cursor, VS Code and other agents:
npx lurqrun
Free to start. Quickstart
Other testing packages lurq scores
- fast-check94/100 · proven
- marked93/100 · proven
- @nestjs/testing93/100 · proven
- @middy/util93/100 · proven
- mocha91/100 · proven
Scored from public signals (npm registry, GitHub, deps.dev and advisory databases). Data as of Sep 5, 2026; this page refreshes every 24 hours. Source repository.