
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
A tiny (330b gz) wrapper around localStorage with a familiar set of methods.
import { store } from 'babystore';
const s = store();
const p = store('prefixed:');
// automatically stringifies objects
s.add('itemName', { a: 1 });
// then parses them on the way out
s.find('itemName') // { a: 1 }
p.add('secondItemName', { b: 2 });
// check if the item exists
s.has('itemName') // true
s.has('doesntExist') // false
// prefixed stores are not accessible unless you use the
// prefixed store or include the prefix
s.find('secondItemName') // undefined
s.find('prefixed:secondItemName') // { b: 2 }
// use store.all to get all values in the storage
store.all() // [ { a: 1 }, { b: 2 } ]
// you can use .delete to remove single items
p.delete('secondItemName');
p.find('secondItemName') // undefined
// or use store.nuke to wipe the entire storage
store.nuke();
s.find('itemName') // undefined
import { store } from 'store';
store.all() // returns all items in localStorage
store.nuke() // removes all items in localStorage
async (key, obj) => which
makes then AsyncFunction'sFAQs
Smallest LocalStorage wrapper
We found that babystore 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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.