
Research
Malicious NuGet Packages Typosquat Nethereum to Exfiltrate Wallet Keys
The Socket Threat Research Team uncovered malicious NuGet packages typosquatting the popular Nethereum project to steal wallet keys.
@opencrvs/toolkit
Advanced tools
OpenCRVS toolkit for building country configurations.
src/
events/ # re-exports events module from commons package
scopes/ # re-exports scopes module from commons package
conditionals/ # provides tools for easily formulating complex conditionals and deduplication rules
api/ # provides an API wrapper for OpenCRVS APIs with strict typing and validation
# tsconfig.json references commons. when `tsc --build` is run, both are built.
> yarn build:all
# If you miss this part you might face issues with types.
> cd dist
> yarn link
When adding internal package as dependency, understand that:
Toolkit "re-exports" TRPC router to allow for easy client interaction.
Toolkit "re-exports" common definitions (e.g. events, conditionals) and make them available through npm.
package.json
yarn build:all
npm publish
package.json
packages/commons
must be also defined in the package.json of the toolkit. Otherwise someone installing the package will get errors./events, /scopes
directory, with types, from packages/commons
through the library, others are excluded.esbuild
. See build.sh
on how to expose subdirectories:# Build common events
npx esbuild src/events/index.ts --bundle --format=cjs --outdir=./dist/events --allow-overwrite --packages=external
mkdir -p ./dist/commons/events
cp -r ../commons/build/dist/common/events/*.d.ts ./dist/commons/events
mkdir -p ./dist/commons/events/state # <-- create the subdirectory
cp -r ../commons/build/dist/common/events/state/*.d.ts ./dist/commons/events/state # <-- copy the types over
FAQs
OpenCRVS toolkit for building country configurations
The npm package @opencrvs/toolkit receives a total of 292,799 weekly downloads. As such, @opencrvs/toolkit popularity was classified as popular.
We found that @opencrvs/toolkit demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 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
The Socket Threat Research Team uncovered malicious NuGet packages typosquatting the popular Nethereum project to steal wallet keys.
Product
A single platform for static analysis, secrets detection, container scanning, and CVE checks—built on trusted open source tools, ready to run out of the box.
Product
Socket is launching experimental protection for the Hugging Face ecosystem, scanning for malware and malicious payload injections inside model files to prevent silent AI supply chain attacks.