
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@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 21,416 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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.