
Security News
Rust RFC Proposes a Security Tab on crates.io for RustSec Advisories
Rustâs crates.io team is advancing an RFC to add a Security tab that surfaces RustSec vulnerability and unsoundness advisories directly on crate pages.
@bonniernews/gcp-trace-logging-correlator
Advanced tools
Helps you correlate both request and application logs in an app running on GCP
Helps you correlate both request and application logs in an app running on GCP. You can read more about log correlation in GCP here https://cloud.google.com/run/docs/logging#correlate-logs
npm install @bonniernews/gcp-trace-logging-correlator
This package comes with an express middleware and a function that extracts the trace as an object that should be injected into your logs.
Install the middleware somewhere globally in your app. You have to provide the GCP project ID meaning you probably want to set this up with an environment variable.
import { middleware } from "@bonniernews/gcp-trace-logging-correlator";
// ...
app.use(middleware(config.get("gcp_project_id")));
You should then provide the object returned by the function getTraceObject to your logging library.
If you're using pino, you should pass it to a mixin like this
import { getTraceObject } from "@bonniernews/gcp-trace-logging-correlator";
const logger = pino({
// ...
mixin = () => ({
somethingElse: "foo",
...getTraceObject(),
});
});
FAQs
Helps you correlate both request and application logs in an app running on GCP
We found that @bonniernews/gcp-trace-logging-correlator demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 33 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
Rustâs crates.io team is advancing an RFC to add a Security tab that surfaces RustSec vulnerability and unsoundness advisories directly on crate pages.

Security News
/Research
Socket found a Rust typosquat (finch-rust) that loads sha-rust to steal credentials, using impersonation and an unpinned dependency to auto-deliver updates.

Research
/Security Fundamentals
A pair of typosquatted Go packages posing as Googleâs UUID library quietly turn helper functions into encrypted exfiltration channels to a paste site, putting developer and CI data at risk.