
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@openledcontrol/rest
Advanced tools
Expose a REST api to control your LED strip.
npm install @openledcontrol/rest
yarn add @openledcontrol/rest
This will host an express server which exposes a few endpoints to control LED strips:
Returns the capabilities of the LED strip in the following form:
// Response
{
"ledCount": <number>,
"maximumBrightness": <number>
}
Expects an array of either css hex, hsl or rgb values exactly matching the ledCount from the capabilities call.
If you don't want to set certain LEDs, you can replace the values with null instead.
Responds with 200 OK in case the LEDs were set successfully.
Note: This does not immediately update any attached LED strip.
// Request
[
"#ffffff",
"rgb(255,255,255)",
null,
"#001122"
]
Triggers an update of the light strip. In case of success will return 200 OK.
This request has neither a request nor response payload.
Resets the LEDs on the strip.
This request has neither a request nor response payload.
In your openledcontrol.toml
file you can set the following options
[REST]
# Port number the rest server will listen on. Make sure it's not in use by something else.
Port = 8081
FAQs
Adds a REST API to your lightstrip
The npm package @openledcontrol/rest receives a total of 1 weekly downloads. As such, @openledcontrol/rest popularity was classified as not popular.
We found that @openledcontrol/rest 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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.