
Research
Supply Chain Attack on Axios Pulls Malicious Dependency from npm
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.
@lauf/store-edit
Advanced tools
An idiot-proof mechanism to write @lauf/store state without breaking immutability. Guarantees safe Immutable edits without needing to learn Immutable update patterns
Read the API Reference or the reference usages below.
// given this example store
const counterState = createStore({ counter: 0 });
// editing a draft writes a new immutable state
edit(counterState, (draft) => (draft.counter += 1));
Your editor function is passed a draft object matching store state. Edit the
draft using any javascript syntax. Immer
then efficiently composes a new Immutable state to reflect your drafted changes,
leaving the old state intact. The new state is passed to store.write(...).
import { edit } from "@lauf/store-edit"; // for esm
const { edit } = require("@lauf/store-edit"); // for commonjs
npm install @lauf/store-edit
Selected Example Counter Apps offer minimal demonstrations of @lauf/store-edit. See the following...
FAQs
Intuitive editing of @lauf/store state, (using Immer drafts)
We found that @lauf/store-edit 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
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.

Security News
TeamPCP is partnering with ransomware group Vect to turn open source supply chain attacks on tools like Trivy and LiteLLM into large-scale ransomware operations.