
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
@junaid1460/crawler
Advanced tools
Crawls hyperlink from provided base url
Example:
import fetch from 'node-fetch';
import { ThrottledAsyncCalls } from './async_throttle';
import { Crawler } from './crawler';
const mediumHostName = "medium.com"
const mediumCrawler = new Crawler(
ThrottledAsyncCalls.wrap({
concurrency: 5,
func: fetch
}).func,
{
baseUrl: `https://${mediumHostName}`,
hostName: mediumHostName,
startUrl: `https://${mediumHostName}`,
depth: 3,
verbose: true
}
)
mediumCrawler.start().then(async (e) => {
// Now process data
// play with it
})
The repo contains also a simple wrapper to limit call concurreny to specified number.
Example
import { ThrottledAsyncCalls } from '../src/async_throttle';
async function test(x: number) {
return x + 1
}
// Simple and powerfiul
const {func: func, object: boundObject} = ThrottledAsyncCalls.wrap({
concurrency: 4, // Max concurrent calls
func: test // function to wrap
})
// Call it like below
function start(index) {
return Promise.all([
func(0).then(e => console.log(index)),
func(0),
func(0),
func(0),
func(0),
func(0),
func(0),
func(0),
func(0).then(e => console.log(index))
])
}
start(1).then(async e => {
console.log("After all tasks done executing", e)
})
MIT
FAQs
Web Scraper
We found that @junaid1460/crawler 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.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.