
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/hultan/dialog
A simple message dialog package.
This package needs GoTK3 (GTK) to run (see link below), and you will need to run gtk.Init() somewhere in your application, before using the dialogs.
// Initialize gtk
gtk.Init(&os.Args)
_, _ = dialog.Title("A custom icon!").
Text("This is a custom icon, really?").
Extra(getLongText()).
ExtraHeight(200).
CustomIcon("./example/assets/armour.png").
HeaderColor("#6879D0FF").
OkButton().
Size(300, 50).
Show()
_, _ = dialog.Title("Hello World!").
TextMarkup("<span foreground=\"black\">How are you <i><b>today</b></i>?</span>`5").
InfoIcon().
OkButton().
Size(300, 100).
Show()
_, _ = dialog.Title("No image dialog!").
Text("How are you today?").
Extra(getLongText()).
ExtraHeight(50).
ExtraName("Extra name test").
OkButton().
Height(100).
Show()
response, _ := dialog.Title("Hello World!").
Text("How are you today?").
Extra(getLongText()).
ExtraHeight(50).
QuestionIcon().
YesNoButtons().
Height(125).
Show()
if response == gtk.RESPONSE_YES {
_, _ = dialog.Title("Your response...").
Text("...was affirmative!").
WarningIcon().
OkButton().
Show()
} else {
_, _ = dialog.Title("Your response...").
Text("...was very negative!").
ErrorIcon().
OkButton().
Show()
}
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.