
Research
Security News
The Growing Risk of Malicious Browser Extensions
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
crypto-storage
Advanced tools
A light & secure way to store data in a browser.
Build for create server less front end application in a safe way.
yarn add crypto-storage
const CryptoStorage = require('crypto-storage')
// create a storage
const safeStorage = CryptoStorage({name: 'tester', password: 'super-pw'})
safeStorage.create()
// create an item and get it
await safeStorage.setItem('foo', 'bar')
const foo = await safeStorage.getItem('foo')
console.log(foo) // => 'bar'
// close your session
safeStorage.close()
// open it again (.use() this time)
const safeStorage2 = CryptoStorage({name: 'tester', password: 'super-pw'})
safeStorage2.use()
const newFoo = await safeStorage.getItem('foo')
console.log(newFoo) // => 'bar'
// if you try to create the session again
safeStorage2.create() // => throw!!
Init a new storage instance.
Create a new safe storage session.
Open an existing session.
Set an item in the storage.
Get an item from the storage.
Remove an item from the storage and return the key.
Close access to CryptoStorage disabling set/get/removeItem.
FAQs
A light & secure way to store data in browser.
The npm package crypto-storage receives a total of 0 weekly downloads. As such, crypto-storage popularity was classified as not popular.
We found that crypto-storage demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Security News
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
Research
Security News
An in-depth analysis of credential stealers, crypto drainers, cryptojackers, and clipboard hijackers abusing open source package registries to compromise Web3 development environments.
Security News
pnpm 10.12.1 introduces a global virtual store for faster installs and new options for managing dependencies with version catalogs.