
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).
= xml_data_builder
XmlDataBuilder renders Ruby data structures as XML using Builder. It is designed to use the lowest common denominator between JSON and XML. When using arrays as input XmlDataBuilder uses the key of the outer hash as a grouping tag and wraps the values in singularized tags. Symbols and Strings are equivalent.
Usage is simple: You initialize XmlDataBuilder with ruby data structure and call #document:
puts XmlDataBuilder.new({}).document
puts XmlDataBuilder.new({:data => 1}).document
1
dataputs XmlDataBuilder.new({:outer => {:inner => 'data'}}).document
dataputs XmlDataBuilder.new({:outer => {:inner => 'data'}}, :indent => 0).document
1 2 3puts XmlDataBuilder.new({:numbers => [1, 2, 3]}).document
odd 1 even 2puts XmlDataBuilder.new({:numbers => [{:value => 1, :type => 'odd'}, {:value => 2, :type => 'even'}]}).document
puts XmlDataBuilder.new({:verbatim => XmlDataBuilder::CDATA.new('eßcape thïs!')}).document
== Caveat
The root element has to be a Hash and at least every second level has to be a Hash. XML attributes are not supported.
== Installation
(sudo) gem install xml_data_builder
== Authors
Dr. Florian Odronitz (odo@mac.com)
== Contact
For questions, contact the authors or developer@traveliq.net
== Copyright
Copyright (c) 2011 www.travel-iq.com. See LICENSE.txt for further details.
FAQs
Unknown package
We found that xml_data_builder 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.