mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-11-04 08:04:37 +08:00
Suppress the root certificates' leak under a stripped libnode
The libnode-packs workflow's packs are stripped, so the certificate loading threads' Node frames have no names and the node::crypto suppressions do not match. Each certificate is parsed through libnode's OpenSSL PEM reader, which the runtime never links. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
597b759e4f
commit
db2c41910c
@@ -20,6 +20,11 @@ leak:node::crypto::GetSystemStoreCACertificates
|
||||
leak:node::crypto::GetExtraCACertificates
|
||||
leak:node::crypto::GetOpenSSLSystemCertificates
|
||||
leak:node::crypto::LoadCertsFromBIO
|
||||
# The same certificates under a stripped libnode (the packs the
|
||||
# libnode-packs workflow builds), where the loading threads' Node frames
|
||||
# have no names: each one is parsed through libnode's OpenSSL PEM reader.
|
||||
# The runtime has no OpenSSL of its own, so only libnode reaches it.
|
||||
leak:PEM_ASN1_read_bio
|
||||
# The certificates' lazily decoded keys, cached in them when a root store
|
||||
# is built.
|
||||
leak:node::crypto::NewRootCertStore
|
||||
|
||||
Reference in New Issue
Block a user