Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@cypress/registry-js
Advanced tools
A simple and opinionated library for working with the Windows registry
reg.exe
Note: This is currently in preview, with support for features that GitHub Desktop and Atom require.
$ npm install --save registry-js
# or
$ yarn add registry-js
The current set of libraries for interacting with the registry have some limitations that meant we couldn't use it in GitHub Desktop:
windows-registry
depends
on ffi
at runtime, which caused issues with webpack-ing, and was missing
APIs we needed.node-winreg
depends on
reg.exe
which breaks as soon as you enable "Prevent access to registry
editing tools" Group Policy rules (yes, even QUERY
operations are caught by
this). More details about this can be found in
desktop/desktop#3105.After exploring other options like invoking PowerShell - which was too slow - we decided to write our own little library to do the stuff we require by invoking the Win32 APIs directly.
See the documentation under the
docs
folder.
Read the Setup section to ensure your development environment is setup for what you need.
This project isn't about implementing a 1-1 replication of the Windows registry API, but implementing just enough for whatever usages there are in the wild.
If you want to see something supported, open an issue to start a discussion about it.
FAQs
A simple and opinionated library for working with the Windows registry
We found that @cypress/registry-js demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 9 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
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.