
Security News
OWASP 2025 Top 10 Adds Software Supply Chain Failures, Ranked Top Community Concern
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.
@dfinity/ic-pub-key
Advanced tools
TypeScript library for working with ICP public keys.
This library contains TypeScript translations of the following functions:
ic_secp256k1::PublicKey::derive_subkey_with_chain_code()ic_ed25519::PublicKey::derive_subkey_with_chain_code()npmThis library will be published on npm after the source code has been open sourced.
Build the CLI as follows:
npm ci
npm run build
npx ic-pub-key --help
To derive one public key from another:
npx ic-pub-key derive ecdsa secp256k1 --pubkey 02b84ff3f88329a887657d0309bd1a1af9e37601e5d1a535d6fe7d42e37f79f40a --chaincode 212891bc032f28d369bacf39dc369feb516eced9a3d83498246aead1546f8cd1 --derivationpath fee/fie/foo/fum
The command line also includes tools for working with the Chain Fusion Signer. For example, to get the Ethereum address of a principal on the chain fusion signer:
npx ic-pub-key signer eth address -u nggqm-p5ozz-i5hfv-bejmq-2gtow-4dtqw-vjatn-4b4yw-s5mzs-i46su-6ae
Or to get the Bitcoin mainnet address of a principal on the chain fusion signer:
npx ic-pub-key signer btc address -u nggqm-p5ozz-i5hfv-bejmq-2gtow-4dtqw-vjatn-4b4yw-s5mzs-i46su-6ae -n mainnet
FAQs
TypeScript library for working with ICP public keys.
The npm package @dfinity/ic-pub-key receives a total of 28 weekly downloads. As such, @dfinity/ic-pub-key popularity was classified as not popular.
We found that @dfinity/ic-pub-key demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 12 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.

Security News
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.