Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Key-value store with iterator and glob semantics. Allows to store multiple values per key and can be modified during iteration.
Repository: https://github.com/mantoni/glob-store.js
npm install glob-store
To use this module in a browser, download the npm package and then use Browserify to create a standalone version.
var Store = require('glob-store').Store;
var s = new Store();
s.add('**', 1);
s.add('a.b', 2);
s.add('a.c', 3);
s.add('a.c', 7);
var c, i = s.iterator('a.*');
while ((c = i.next()) !== undefined) {
console.log(c);
}
The implementation is based on glob-tree, but allows multiple values to be stored under the same key.
add(name, value)
remove(name, value)
removeAll([name])
iterator(name[, options])
values([name])
The iterator is derived from min-iterator and supports the same options
as the glob-tree iterator:
matchers
: whether to include matchers, defaults to true
onlyMatchers
: whether to only include matchers, defaults to false
MIT
0.1.0
FAQs
Key-value store with iterator and glob semantics
The npm package glob-store receives a total of 5 weekly downloads. As such, glob-store popularity was classified as not popular.
We found that glob-store 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
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.