
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
github.com/ibm/push-notifications-go-sdk
The IBM Cloud Push Notifications service provides a unified push service to send real-time notifications to mobile and web applications. The Go SDK is used to manage Push Notifications service.
Ensure that you go through IBM Cloud Push Notifications service documentation before you start.
Install using the command.
go get -u github.com/IBM/push-notifications-go-sdk
To import the module
import "github.com/IBM/push-notifications-go-sdk/pushservicev1"
then run go mod tidy
to download and install the new dependency and update your Go application's
go.mod
file.
Initialize the sdk to connect with your App Configuration service instance.
func init() {
authenticator := &core.IamAuthenticator{
ApiKey: "apikey",
}
options := &pushservicev1.PushServiceV1Options{
ServiceName: "imfpush",
Authenticator: authenticator,
URL: "url",
}
app, err := pushservicev1.NewPushServiceV1(options)
if err != nil {
log.Fatal(err)
}
}
Refer to the example directory
This project is released under the Apache 2.0 license. The license's full text can be found in LICENSE
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.
Research
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.