Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
The Python xmlmicroparser module is a small OOP based XML Parser without DTD / XSLT / SAX functionality.
Documentation including examples can be found at either ./doc or https://pythondocs.webcodex.de/xml-microparser/.
# pip install xmlmicroparser
Or download the current Relase Zip / Tarball @ Release 1.0rc1 and continue with section 2.2.
[!NOTE] Since Python 3.3 (PEP 405) Virtual Environments are proposed.
You need Python3 setuptools to build the package manually. Pytest / PEP-8 packages are required to run tests.
# apt-get install python3-setuptools python3-pip python3-pytest python3-pytest-pep8
[!IMPORTANT] The following section describes how to install the XML-Microparser package globally. Newer PIP Package Manager Versions prohibit this by default. It is possible to override by providing the
--break-system-packages
flag.
Do this for a pip system where --break-system-packages
is not needed.
# sudo pip3 install ./xmlmicroparser-1.0rc1.tar.gz
Do this for a pip system where --break-system-packages
is needed.
# sudo pip3 install ./xmlmicroparser-1.0rc1.tar.gz --break-system-packages
Clone git repository and change dir.
# git clone https://github.com/clauspruefer/python-xml-microparser.git
# cd python-xml-microparser
Build python-package with setup-tools (as non root user). This will generate the installabe tarball
into ./dist/xmlmicroparser-1.0rc1.tar.gz
.
# python3 setup.py sdist
# sudo pip3 install ./dist/xmlmicroparser-1.0rc1.tar.gz --break-system-packages
# pytest
Using the XML-Microparser Module with Boost Python C++ https://www.boost.org/doc/libs/1_86_0/libs/python/doc/html/index.html makes XML configuration handling in C++ projects easy.
FAQs
A tiny xml parser without DTD/XSLT/SAX functionality.
We found that xmlmicroparser demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.