
Research
SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains
An emerging npm supply chain attack that infects repos, steals CI secrets, and targets developer AI toolchains for further compromise.
multi-profile-store
Advanced tools
Manage multiple corestores easily in a multi profile setup
npm install multi-profile-store
Note that all io is sync for simplicity.
const MultiProfileStore = require('multi-profile-store')
// open one
const p = MultiProfileStore.open('./profiles')
// if you might have made a single corestore first and want to move to this setup, use migrate
const p = MultiProfileStore.migrate('./profiles')
// active profile, ie { id, name, storage } or null
p.active()
// list all profiles
p.list()
// gc removed profiles, optionally pass a delay to gc only profiles removed after that delay (relative)
p.gc({ delay: 0 })
// remove a profile, moves it to gc list, not removed until gc is run above
p.remove({ id })
// update to be active or not
p.update({ id, active: true })
// create a new profile, optionally pass a name, returns { id, name, storage }
p.create({ name: 'test' })
Apache-2.0
FAQs
Manage multiple corestores easily in a multi profile setup
We found that multi-profile-store demonstrated a healthy version release cadence and project activity because the last version was released less than 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
An emerging npm supply chain attack that infects repos, steals CI secrets, and targets developer AI toolchains for further compromise.

Company News
Socket is proud to join the OpenJS Foundation as a Silver Member, deepening our commitment to the long-term health and security of the JavaScript ecosystem.

Security News
npm now links to Socket's security analysis on every package page. Here's what you'll find when you click through.