
Research
Shai-Hulud Descends to Hades: Miasma Worm Campaign Spreads with New PyPI Wave
Socket found 37 malicious PyPI wheels that abuse Python startup hooks to launch a Bun-powered credential stealer tied to Mini Shai-Hulud/Miasma.
chroma-custom-utils
Advanced tools
Hello Everyone, this is part of a port of the razer chroma rest sdk, while razer offers the official javascript implementation of the SDK, it is implemented in ES5 and it is quite of an All in one solution, you could easily use it there's nothing wrong
Hello Everyone, this is part of a port of the razer chroma rest sdk, while razer offers the official javascript implementation of the SDK, it is implemented in ES5 and it is quite of an All in one solution, you could easily use it there's nothing wrong on that. However I wanted to practice a little bit and also have some typescript support as well.
Please refer to the src/tests directory to see how it is used, but for short
// true is for development
const keyboard = new KeyboardHelper(true, {
author: {
name: "Chroma Tester",
contact: "Tester"
},
title: "Chroma SDK Test Runner",
device_supported: ["keyboard"],
category: "application",
description: "Test App"
});
async function main() {
// either init at the beggining of the app or inside the function
// just take in mind that this calls the chroma api each 5s
await keyboard.init();
let id;
const autoapply = false; // or true depending on you
if(autoapply) {
id = await keyboardInstance
// auto apply effect
.stopAnimation(true);
// do more stuff...
} else {
id = await keyboardInstance.stopAnimation();
// do more stuff...
// apply the effect
await keyboard.applyEffect(id);
}
// do more stuff...
// you need to delete the effects to release resources
await keyboard.deleteEffect(id);
// remove the connection with the server and remove polling to the endpoint
keyboard.unload();
}
main();
npm install
npm run build
this will create a Dist directory with the UMD compiled javascript files
npm install
npm run test:watch
if these two run well, you are ready to add/modify whatever you need
alsso if you are using vscode you can debug the tests since they are run with
--inspect by default
This code does not use razer specific product inside the code I based the code to reflect the Rest API that is documented on the Razer Rest SDK Docs
FAQs
Hello Everyone, this is part of a port of the razer chroma rest sdk, while razer offers the official javascript implementation of the SDK, it is implemented in ES5 and it is quite of an All in one solution, you could easily use it there's nothing wrong
We found that chroma-custom-utils 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 found 37 malicious PyPI wheels that abuse Python startup hooks to launch a Bun-powered credential stealer tied to Mini Shai-Hulud/Miasma.

Security News
RubyGems and Bundler 4.0.13 introduced an opt-in cooldown feature that delays newly published gems during dependency resolution.

Security News
pnpm 11.5 now recognizes npm staged publish approvals in release metadata, preventing those releases from being mistaken for lower-trust package publishes.