
Security News
GPT-6 Astra Attempts Supply Chain Attacks Against Open Source Maintainers in Testing
GPT-6 Astra hits 100% on ExploitBench and finds zero-days autonomously, while independent tests reveal scope violations and monitoring gaps.
@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 27,848 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
GPT-6 Astra hits 100% on ExploitBench and finds zero-days autonomously, while independent tests reveal scope violations and monitoring gaps.

Product
Socket can now send alerts and supply chain attack notifications to Microsoft Teams, with filters that route the right updates to each channel.

Security News
pnpm 12 rewrites the package manager in Rust, cutting install times by up to 90% while preserving pnpm 11 workflows and lockfiles.