
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).
A data validation library providing a rule-based schema definition language.
For checking (incoming) data against a specified schema definition.
GDS stands for General Data Structure.
gem install gds-data-validation
require "gds-data-validation"
dataValidation = GdsDataValidation.create( <<-EOS )
company = :name : @t_string,
:address : address,
:ceo : person,
:employees : person*
person = :firstname : @t_string,
:lastname : @t_string,
:yearOfBirth : @t_int,
:address : address
address = :street : @t_string,
:zipcode : @t_int,
:city : @t_string
EOS
dataValidation.check( nil ) # => false
dataValidation.check(
{ name: 'My Company', address: { street: 'Broadway 300', zipcode: 22222, city: 'New York' },
ceo: { firstname: 'John', lastname: 'McArthur', yearOfBirth: 1959,
address: { street: 'Rosedale Dr. 40', zipcode: 34003, city: 'Los Angeles' } },
employees: [
{ firstname: 'Berry', lastname: 'Miller', yearOfBirth: 1989,
address: { street: 'South St. 12', zipcode: 48333, city: 'Chicago' } },
{ firstname: 'Jane', lastname: 'Smith', yearOfBirth: 1993,
address: { street: 'Mainstreet 4', zipcode: 62883, city: 'Seattle' } } ] }
) # => true
The original idea was to create a library for the validation of data structures which have been created by the GDS (General Data Structure) language.
Synonyms and related terms are data validation, validation checker, schema validation, schema validator, schema checker.
You can find it on RubyGems.org:
rubygems.org/gems/gds-data-validation
You can find the source code on GitHub:
github.com/uliramminger/gds-data-validation
You will find detailed information here: urasepandia.de/gds-data-validation.html
Uli Ramminger uli@urasepandia.de
Copyright (c) 2019 Ulrich Ramminger
See MIT-LICENSE for further details.
FAQs
Unknown package
We found that gds-data-validation demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
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.