
Security News
Open VSX Unblocks Extension IDs Used in Malware Campaign
Open VSX has removed three extension IDs from its malicious-extension list as the legitimate publishers they impersonated move to claim the names for themselves.
@metamask/toprf-secure-backup
Advanced tools
@metamask/toprf-secure-backupyarn add @metamask/toprf-secure-backup
or
npm install @metamask/toprf-secure-backup
This package is part of a monorepo. Instructions for contributing can be found in the monorepo README.
This SDK handles sensitive cryptographic material including passwords, seeds, authentication tokens, and private keys.
Important: JavaScript's garbage collector provides no guarantees about when sensitive data is removed from memory. While the SDK performs best-effort cleanup internally, complete memory clearing cannot be guaranteed.
null and call array.fill(0) when done// ✅ Good: Use immediately and clear
async function decrypt(data) {
const { encKey } = await toprfBackup.recoverEncKey(params);
try {
return await processData(data, encKey);
} finally {
encKey.fill(0);
}
}
// ❌ Bad: Long-lived storage
this.encKey = result.encKey; // Persists in memory
The SDK internally clears sensitive Uint8Array data (session keys, password bytes, seeds) where possible, but JavaScript strings and BigInts cannot be reliably cleared from memory.
FAQs
The MetaMask Node module template
The npm package @metamask/toprf-secure-backup receives a total of 46,220 weekly downloads. As such, @metamask/toprf-secure-backup popularity was classified as popular.
We found that @metamask/toprf-secure-backup demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 7 open source maintainers collaborating on the project.

Security News
Open VSX has removed three extension IDs from its malicious-extension list as the legitimate publishers they impersonated move to claim the names for themselves.

Product
Socket’s PHP and Composer support is now in Beta for all customers, with PHP reachability analysis generally available.

Product
Socket is bringing experimental protection to Firefox, scanning 97,000+ extensions in Mozilla's official directory for malware and risky updates.