RSA-10241024-bit Already broken Recorded traffic Renamed import 4 places See details
Classical key pair generated with Node crypto
`crypto.generateKeyPair()` or its synchronous form. The detector resolves the algorithm through a `promisify()` wrapper and through an import alias, both of which are common enough that missing them would leave real key generation unreported.
This is already unsafe today, with no quantum computer involved. A modulus of 1024 bits or less is below the NIST SP 800-57 floor and is within reach of classical factorisation. Shor is not the nearest problem here.
What to do. ML-KEM-768 for encryption, ML-DSA-65 for signatures. Node exposes neither yet, so this usually means an addon or a service boundary.
-
test/async_sign.tests.js:64
test path
const { privateKey } = generateKeyPairSync('rsa', { modulusLength: 1024 }); -
test/async_sign.tests.js:73
test path
const { privateKey } = generateKeyPairSync('rsa', { modulusLength: 1024 }); -
test/rsa-public-key.tests.js:19
test path
const { privateKey } = generateKeyPairSync('rsa', { modulusLength: 1024 }); -
test/rsa-public-key.tests.js:29
test path
const { privateKey } = generateKeyPairSync('rsa', { modulusLength: 1024 });