
Research
Supply Chain Attack on Axios Pulls Malicious Dependency from npm
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.
@types/workbox-sw
Advanced tools
TypeScript definitions for workbox-sw
npm install --save @types/workbox-sw
This package contains type definitions for workbox-sw (https://github.com/GoogleChrome/workbox).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/workbox-sw.
import * as WorkboxBackgroundSync from "workbox-background-sync";
import * as WorkboxBroadcastUpdate from "workbox-broadcast-update";
import * as WorkboxCacheableResponse from "workbox-cacheable-response";
import * as WorkboxCore from "workbox-core";
import * as WorkboxExpiration from "workbox-expiration";
import * as WorkboxGoogleAnalytics from "workbox-google-analytics";
import * as WorkboxNavigationPreload from "workbox-navigation-preload";
import * as WorkboxPrecaching from "workbox-precaching";
import * as WorkboxRangeRequests from "workbox-range-requests";
import * as WorkboxRouting from "workbox-routing";
import * as WorkboxStrategies from "workbox-strategies";
import * as WorkboxStreams from "workbox-streams";
declare global {
namespace workbox {
const backgroundSync: typeof WorkboxBackgroundSync;
const broadcastUpdate: typeof WorkboxBroadcastUpdate;
const cacheableResponse: typeof WorkboxCacheableResponse;
const core: typeof WorkboxCore;
const expiration: typeof WorkboxExpiration;
const googleAnalytics: typeof WorkboxGoogleAnalytics;
const navigationPreload: typeof WorkboxNavigationPreload;
const precaching: typeof WorkboxPrecaching;
const rangeRequests: typeof WorkboxRangeRequests;
const routing: typeof WorkboxRouting;
const strategies: typeof WorkboxStrategies;
const streams: typeof WorkboxStreams;
function loadModule(moduleName: string): void;
function setConfig(options?: WorkboxOptions): void;
interface WorkboxOptions {
debug?: boolean | undefined;
modulePathCb?: ModulePathCallback | undefined;
modulePathPrefix?: string | undefined;
}
type ModulePathCallback = (moduleName: string, debug: boolean) => string;
}
}
These definitions were written by Frederik Wessberg, and Jason Kwok.
FAQs
TypeScript definitions for workbox-sw
The npm package @types/workbox-sw receives a total of 4,812 weekly downloads. As such, @types/workbox-sw popularity was classified as popular.
We found that @types/workbox-sw 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
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.

Security News
TeamPCP is partnering with ransomware group Vect to turn open source supply chain attacks on tools like Trivy and LiteLLM into large-scale ransomware operations.