
Security News
Node.js Drops Bug Bounty Rewards After Funding Dries Up
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.
@datadome/service-worker-plugin
Advanced tools
Plugin for service workers to intercept block responses from DataDome Bot Protect
This package overrides the global fetch function to hook requests and display challenges for blocked requests.
Install the package using the command:
npm i @datadome/service-worker-plugin
Import the package into your service worker script.
import '@datadome/service-worker-plugin';
require('@datadome/service-worker-plugin');
To enable the JS Tag to listen to the service worker, update its configuration to include the enableServiceWorkerPlugin option:
<script>
window.ddjskey = 'YOUR_DATADOME_JS_KEY';
window.ddoptions = {
enableServiceWorkerPlugin: true,
};
</script>
The fetch override is applied when the service worker is activated.
The interception of requests and responses will be enabled as soon as the service worker is installed and ready to handle fetch events.
FAQs
Plugin for service workers to intercept block responses from DataDome Bot Protect
We found that @datadome/service-worker-plugin demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 11 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.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

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.