Skip to main content
Back

Developer weekly update February 21, 2024

February 21 2024

Hello developers, and welcome to this week's developer weekly update! In this week's update, we have a very important message about a critical security bug in Agent JS, updates from the NFT working group, and info about ICP at ETHDenver next week! Let's get started.

Critical security vulnerability in Agent JS v1.0.0

A critical security vulnerability in Agent JS versions 1.0.0 and older has been identified and patched. This vulnerability had to do with the agent-js library's Ed25519KeyIdentity.generate function, which generates an ed25519 key pair with the optional parameter to provide a 32 byte seed value. Due to a recent change in agent-js, this function was altered so that when no seed value was provided, the library generated an insecure seed for key pair generation. The resulting principal was a constant identity that was based on an all-zero private key. With this vulnerability, attackers could steal funds associated with this principal on a ledger or compromise access to canisters controlled by this principal.

The patch for the vulnerability is available in agent-js v1.0.1. It is encouraged that all developers upgrade and deploy their canisters immediately.

NFT working group updates

The NFT working group has recently concluded work on the ICRC-7 standard and is looking ahead to the next steps for NFTs on ICP. The group has put together 4 possible new ICRC standards that can be pursued by the working group moving forward:

  • ICRC-8: Ledger markets: This standard would define marketplace standards for fungible or non-fungible ledgers, including the data structures and workflows necessary to support other token standards and achieve atomic trades.

  • ICRC-56: Infinitely scalable multi-canister file system: This standard would define parameters for a standard file system that can be used for storing on-chain NFT media.

  • ICRC-59: Static NFT metadata interface standard: This standard would define a static standard for NFT metadata.

  • ICRC-60: Dynamic NFT metadata interface standard: This standard would define a dynamic standard for NFT metadata.

The NFT working group meets every other Tuesday at 5PM CEST.

Read more and participate in the discussion on the forum.

Upcoming event: ETHDenver

If you're going to ETHDenver, be sure to stop by the ICP booth! Our team will be hosting and participating in some exciting events:

Want to learn more or sign up for email updates on these events? Join the mailing list to stay updated!

That'll wrap up this week. Tune back in next week for more developer updates!

-DFINITY