
Research
Malicious Go “crypto” Module Steals Passwords and Deploys Rekoobe Backdoor
An impersonated golang.org/x/crypto clone exfiltrates passwords, executes a remote shell stager, and delivers a Rekoobe backdoor on Linux.
light-storer
Advanced tools
Light store based on React, inspired by Zustand
yarn add light-store --save-dev
# or
npm install light-store --save-dev
# or
pnpm install light-store --save-dev
use-sync-external-store which is the shim of react
hooks of version v18 useSyncExternalStore.useSyncExternalStore support selector to avoid unnecessary
rerendering. But it does not support when your react version >=18 and it will
use built-in hooks called useSyncExternalStore to implement reactive
updates.store.ts
import { createStore } from 'light-store'
const store = createStore<{
count: number
setCount: () => void
}>((get, set) => ({
count: 0,
setCount: () => {
set({
count: get().count + 1
})
}
}))
export default store
Foo.tsx
import React, { FC } from 'react'
import { useStore } from 'light-store'
import store from './store'
const Foo: FC = () => {
const { count, setCount } = useStore(store)
return (
<>
<h2>{count}</h2>
<button onClick={setCount}>+1</button>
</>
)
}
export default Foo
Bar.tsx
import React, { FC } from 'react'
import { useStore } from 'light-store'
import store from './store'
const Bar: FC = () => {
const { count } = useStore(store)
return (
<>
<h2>{count}</h2>
</>
)
}
export default Bar
FAQs
Light store based on React, inspired by Zustand
The npm package light-storer receives a total of 0 weekly downloads. As such, light-storer popularity was classified as not popular.
We found that light-storer 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
An impersonated golang.org/x/crypto clone exfiltrates passwords, executes a remote shell stager, and delivers a Rekoobe backdoor on Linux.

Security News
npm rolls out a package release cooldown and scalable trusted publishing updates as ecosystem adoption of install safeguards grows.

Security News
AI agents are writing more code than ever, and that's creating new supply chain risks. Feross joins the Risky Business Podcast to break down what that means for open source security.