Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
.. contents:: mbstrdecoder :backlinks: top :local:
mbstrdecoder <https://github.com/thombashi/mbstrdecoder>
__ is a Python library for multi-byte character string decoder.
.. image:: https://badge.fury.io/py/mbstrdecoder.svg :target: https://badge.fury.io/py/mbstrdecoder :alt: PyPI package version
.. image:: https://img.shields.io/pypi/pyversions/mbstrdecoder.svg :target: https://pypi.org/project/mbstrdecoder :alt: Supported Python versions
.. image:: https://img.shields.io/pypi/implementation/mbstrdecoder.svg :target: https://pypi.org/project/mbstrdecoder :alt: Supported Python implementations
.. image:: https://github.com/thombashi/mbstrdecoder/actions/workflows/lint_and_test.yml/badge.svg :target: https://github.com/thombashi/mbstrdecoder/actions/workflows/lint_and_test.yml :alt: CI status of Linux/macOS/Windows
.. image:: https://coveralls.io/repos/github/thombashi/mbstrdecoder/badge.svg?branch=master :target: https://coveralls.io/github/thombashi/mbstrdecoder?branch=master :alt: Test coverage
.. image:: https://github.com/thombashi/mbstrdecoder/actions/workflows/codeql-analysis.yml/badge.svg :target: https://github.com/thombashi/mbstrdecoder/actions/workflows/codeql-analysis.yml :alt: CodeQL
::
pip install mbstrdecoder
::
sudo add-apt-repository ppa:thombashi/ppa
sudo apt update
sudo apt install python3-mbstrdecoder
:Sample Code: .. code:: python
from mbstrdecoder import MultiByteStrDecoder
encoded_multibyte_text = "マルチバイト文字".encode("utf-8")
decoder = MultiByteStrDecoder(encoded_multibyte_text)
print("encoded bytes: {}".format(encoded_multibyte_text))
print("unicode: {}".format(decoder.unicode_str))
print("codec: {}".format(decoder.codec))
:Output: ::
encoded bytes: b'\xe3\x83\x9e\xe3\x83\xab\xe3\x83\x81\xe3\x83\x90\xe3\x82\xa4\xe3\x83\x88\xe6\x96\x87\xe5\xad\x97'
unicode: マルチバイト文字
codec: utf_8
Python package dependencies (automatically installed) <https://github.com/thombashi/mbstrdecoder/network/dependencies>
__FAQs
mbstrdecoder is a Python library for multi-byte character string decoder
We found that mbstrdecoder 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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.