
Security News
Critical Security Vulnerability in React Server Components
React disclosed a CVSS 10.0 RCE in React Server Components and is advising users to upgrade affected packages and frameworks to patched versions now.
This fork of https://github.com/golang/glog provides all of glog's functionality and adds the ability to send errors/logs to Airbrake.io.
Please refer to the glog code & docs.
A basic example of how to configure glog to send logged errors to Airbrake.io:
package main
import (
"errors"
"gopkg.in/airbrake/glog.v2"
"gopkg.in/airbrake/gobrake.v2"
)
var projectId int64 = 123
var apiKey string = "API_KEY"
func doSomeWork() error {
return errors.New("hello from Go")
}
func main() {
airbrake := gobrake.NewNotifier(projectId, apiKey)
defer airbrake.Close()
defer airbrake.NotifyOnPanic()
airbrake.AddFilter(func(n *gobrake.Notice) *gobrake.Notice {
n.Context["environment"] = "production"
return n
})
glog.Gobrake = airbrake
if err := doSomeWork(); err != nil {
glog.Errorf("doSomeWork failed: %s", err)
}
}
The default is to send only error logs to Airbrake.io. You can change the severity threshold to also send lower severity logs too, such as warnings:
glog.GobrakeSeverity = "WARNING"
FAQs
Unknown package
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
React disclosed a CVSS 10.0 RCE in React Server Components and is advising users to upgrade affected packages and frameworks to patched versions now.

Research
/Security News
We spotted a wave of auto-generated “elf-*” npm packages published every two minutes from new accounts, with simple malware variants and early takedowns underway.

Research
/Security News
Malicious Rust crate evm-units disguised as an EVM version helper downloads and silently executes OS-specific payloads likely aimed at crypto theft.