![Maven Central Adds Sigstore Signature Validation](https://cdn.sanity.io/images/cgdhsj6q/production/7da3bc8a946cfb5df15d7fcf49767faedc72b483-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
fastify-floc-off
Advanced tools
Fastify plugin to opt out of Google's Topics advertising-surveillance API
Fastify plugin to opt-out of Google's Topics advertising-surveillance API
The fastify-floc-off
plugin adds the "interest-cohort=()" directive to the Permissions-Policy
response header to opt-out of Google's Topics advertising-surveillance API. It will create a new header if one does not already exist.
This was originally created to opt-out of Google's FLoC (Federated Learning of Cohorts), which has since been replaced with their Topics API, though it has the same privacy issues.
You can read more about the issues that surround Google's FLoC on EFF and Plausible Analytics.
Helmet and fastify-helmet do not support the Permissions-Policy
response header setting yet, so this plugin was created out of a need for an easy way to disable/opt-out of Google's Topics API. This ensures users accessing web applications are not subject to Google's unsolicited tracking.
Install using npm
:
npm i fastify-floc-off
For Fastify v4.x support, use fastify-floc-off@2.1.11
.
const Fastify = require("fastify");
const flocOff = require("fastify-floc-off");
const server = Fastify();
server.register(flocOff);
server.get("/", (_req, res) => {
res.send("ok");
});
server.listen(3000, (err) => {
if (err) throw err;
console.log("Server listening on 3000");
});
Contributions are welcome, and any help is greatly appreciated!
See the contributing guide for details on how to get started. Please adhere to this project's Code of Conduct when contributing.
fastify-floc-off
is licensed under the MIT license.
FAQs
Fastify plugin to opt out of Google's Topics advertising-surveillance API
We found that fastify-floc-off demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.