
Research
/Security News
jscrambler npm Package Compromised in Supply Chain Attack
A compromised jscrambler npm release added a malicious preinstall hook that runs hidden native binaries on Linux, macOS, and Windows.
@yeskiy/sitemapper
Advanced tools
Parser for XML Sitemaps to be used with Robots.txt and web crawlers
ESM and ts. The original package can be found hereParse through a sitemaps xml to get all the urls for your crawler.
npm install @yeskiy/sitemapper --save
import Sitemapper from '@yeskiy/sitemapper';
const sitemap = new Sitemapper();
sitemap.fetch('https://www.google.com/work/sitemap.xml').then((sites) => {
console.log(sites);
});
You can add options on the initial Sitemapper object when instantiating it.
requestHeaders: (Object) - Additional Request Headers (e.g. User-Agent)timeout: (Number) - Maximum timeout in ms for a single URL. Default: 15000 (15 seconds)url: (String) - Sitemap URL to crawldebug: (Boolean) - Enables/Disables debug console logging. Default: Falseconcurrency: (Number) - Sets the maximum number of concurrent sitemap crawling threads. Default: 10retries: (Number) - Sets the maximum number of retries to attempt in case of an error response (e.g. 404 or Timeout). Default: 0rejectUnauthorized: (Boolean) - If true, it will throw on invalid certificates, such as expired or self-signed ones. Default: Truelastmod: (Number) - Timestamp of the minimum lastmod value allowed for returned urlsgotParams: (GotOptions) - Additional options to pass to the got library. See Got OptionsFAQs
Parser for XML Sitemaps to be used with Robots.txt and web crawlers
We found that @yeskiy/sitemapper 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
/Security News
A compromised jscrambler npm release added a malicious preinstall hook that runs hidden native binaries on Linux, macOS, and Windows.

Research
/Security News
A malicious .NET package is typosquatting the Braintree SDK to steal live payment card data, merchant API keys, and host secrets from production apps.

Security News
/Research
Compromised Injective SDK npm version 1.20.21 exfiltrates wallet private keys and mnemonics through fake telemetry functionality.