
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
= 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.