Research
Security News
Kill Switch Hidden in npm Packages Typosquatting Chalk and Chokidar
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
= crack
Really simple JSON and XML parsing, ripped from Merb and Rails. The XML parser is ripped from Merb and the JSON parser is ripped from Rails. I take no credit, just packaged them for all to enjoy and easily use.
= usage
gem 'crack' require '10to1-crack' # for xml and json require '10to1-crack/json' # for just json require '10to1-crack/xml' # for just xml
= examples
Crack::XML.parse("This is the contents") # => {'tag' => 'This is the contents'}
Crack::JSON.parse('{"tag":"This is the contents"}') # => {'tag' => 'This is the contents'}
== Copyright
Copyright (c) 2009 John Nunemaker and 10to1. See LICENSE for details.
FAQs
Unknown package
We found that 10to1-crack demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.