
Research
/Security News
Malicious npm Packages Target WhatsApp Developers with Remote Kill Switch
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.
@tsparticles/plugin-rgb-color
Advanced tools
tsParticles plugin for adding the RGB color support.
The CDN/Vanilla version JS has one required file in vanilla configuration:
Including the tsparticles.plugin.rgbColor.min.js
file will export the function to load the plugin:
loadRgbColorPlugin
Once the scripts are loaded you can set up tsParticles
and the plugin like this:
(async () => {
await loadRgbColorPlugin();
await tsParticles.load({
id: "tsparticles",
options: {
/* options */
},
});
})();
This package is compatible also with ES or CommonJS modules, firstly this needs to be installed, like this:
$ npm install @tsparticles/plugin-rgb-color
or
$ yarn add @tsparticles/plugin-rgb-color
Then you need to import it in the app, like this:
const { tsParticles } = require("@tsparticles/engine");
const { loadRgbColorPlugin } = require("@tsparticles/plugin-rgb-color");
(async () => {
await loadRgbColorPlugin();
})();
or
import { tsParticles } from "@tsparticles/engine";
import { loadRgbColorPlugin } from "@tsparticles/plugin-rgb-color";
(async () => {
await loadRgbColorPlugin();
})();
FAQs
tsParticles RGB color plugin
The npm package @tsparticles/plugin-rgb-color receives a total of 81,048 weekly downloads. As such, @tsparticles/plugin-rgb-color popularity was classified as popular.
We found that @tsparticles/plugin-rgb-color demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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
/Security News
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.
Research
/Security News
Socket uncovered 11 malicious Go packages using obfuscated loaders to fetch and execute second-stage payloads via C2 domains.
Security News
TC39 advances 11 JavaScript proposals, with two moving to Stage 4, bringing better math, binary APIs, and more features one step closer to the ECMAScript spec.