
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.
@skyra/shared-http-pieces
Advanced tools
@skyra/shared-http-pieces
The shared commands used for ArchId Network's HTTP-only bots.
locales/{{lng}}/commands/shared:infoEmbedDescription
as a string. This is the content displayed in /info
's embed description.You can either register after setting environment parameters:
process.env.CLIENT_REPOSITORY = 'https://github.com/skyra-project/skyra';
process.env.CLIENT_INVITE =
'https://discord.com/oauth2/authorize?client_id=266624760782258186&permissions=534185897078&scope=bot%20applications.commands';
import '@skyra/shared-http-pieces/register';
Or import its utilities as well as registering:
import { setRepository, setInvite } from '@skyra/shared-http-pieces';
import '@skyra/shared-http-pieces/register';
setRepository('skyra'); // setRepository('https://github.com/skyra-project/skyra');
setInvite('266624760782258186', '534185897078');
Furthermore, error handling can be enabled by setting the SENTRY_DSN
, @skyra/shared-http-pieces
includes a way to register Sentry and registers handlers to handle errors into Sentry. The plugin also reads SENTRY_ROOT
to set RewriteFrames
's root, defaults to process.cwd()
.
FAQs
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.