
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
@hart/modmap
Advanced tools
npm install @hart/modmap
import { set, get, all, byTag, getTags, unset, clear } from '@hart/modmap';
//default import is 'get'
import get from '@hart/modmap';
const value = { ... };
set('key', value);
const value = { ... };
set('key', value, 'tag1', 'tag2', 'tag3');
set('key1', { ... });
const value = get('key'); // { ... }
const noValue = get('badKey'); // null
set('key1', { ... });
set('key2', { ... });
const allKeyValues = all(); // { key1: {}, key2: {} }
set('key1', { ... }, 'tag1');
set('key2', { ... }, 'tag1', 'tag2');
const tag1Values = byTag('tag1'); // { key1: {}, key2: {} }
const tag2Values = byTag('tag2'); // { key2: {} }
const tag3Values = byTag('tag3'); // { }
set('key1', { ... }, 'tag1');
set('key2', { ... }, 'tag1', 'tag2');
const tags = getTags(); // [ "tag1", "tag2" ]
set('key1', { ... }, 'tag1');
set('key2', { ... }, 'tag1');
unset('key1');
const value = get('key1'); // null
const valuesByTag = byTag('tag1'); // { key2: {} }
set('key1', { ... }, 'tag1');
set('key2', { ... }, 'tag1', 'tag2');
clear();
const value = get('key1'); // null
const allKeyValues = all(); // { }
const allTags = getTags(); // [ ]
FAQs
modmap: easy access key/value store with tags
We found that @hart/modmap demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 9 open source maintainers 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.