
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/openfoodfacts/openfoodfacts-go
This library is for accessing OpenFoodFacts data for food product, ingredients and nutritional data from within your go application. You can also get the Nutri-Score and the Eco-Score
Use of the OpenFoodFacts database is subject to the OpenFoodFacts Terms of Use, please read them before using this library in your application.
This library is copyright © 2019-2021 OpenFoodFacts. All rights reserved. Use of this library is governed by the MIT license which can be found in the LICENSE.txt file.
This is a very simple example how to use the library in you go program.
package main
import (
"github.com/openfoodfacts/openfoodfacts-go"
)
func main() {
api := openfoodfacts.NewClient("world", "", "")
product, err := api.Product("0737628064502")
}
There are runnable examples in the examples
subdirectory.
Ken Allan
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.