
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Access the system certificate store on Windows, macOS and Linux.
import { systemCertsSync, systemCertsAsync } from 'system-ca';
console.log(systemCertsSync())
console.log(await systemCertsAsync())
tls.connect({
host: 'google.com',
port: 443,
ca: await systemCertsAsync({ includeNodeCertificates: true })
})
The systemCertsSync()
and systemCertsAsync()
functions perform the same
operation, namely, listing all trusted certificates as an array of PEM-formatted
X.509 certificates.
The result can be passed directly to the ca
option of tls.connect()
and similar methods.
systemCertsAsync()
may be preferable, because accessing the
system store can be slow, especially on Windows.systemCertsAsync()
uses a worker thread under the hood on Windows and macOS./etc/ssl
, /etc/pki
).Apache-2.0
FAQs
Access the system certificate store on Windows, macOS and Linux
The npm package system-ca receives a total of 60,247 weekly downloads. As such, system-ca popularity was classified as popular.
We found that system-ca demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 33 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.