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.
.. image:: https://badge.fury.io/py/ndeflib.svg :target: https://pypi.python.org/pypi/ndeflib :alt: Python Package
.. image:: https://readthedocs.org/projects/ndeflib/badge/?version=stable :target: http://ndeflib.readthedocs.io/en/stable/?badge=stable :alt: Stable Documentation
.. image:: https://readthedocs.org/projects/ndeflib/badge/?version=latest :target: http://ndeflib.readthedocs.io/en/latest/?badge=latest :alt: Latest Documentation
.. image:: https://travis-ci.org/nfcpy/ndeflib.svg?branch=master :target: https://travis-ci.org/nfcpy/ndeflib :alt: Build Status
.. image:: https://codecov.io/gh/nfcpy/ndeflib/branch/master/graph/badge.svg :target: https://codecov.io/gh/nfcpy/ndeflib :alt: Code Coverage
The ndeflib
is an ISC <http://choosealicense.com/licenses/isc/>
_-licensed Python package for parsing and generating NFC Data Exchange Format (NDEF) messages:
.. code-block:: pycon
import ndef hexstr = '9101085402656e48656c6c6f5101085402656e576f726c64' octets = bytearray.fromhex(hexstr) for record in ndef.message_decoder(octets): print(record) NDEF Text Record ID '' Text 'Hello' Language 'en' Encoding 'UTF-8' NDEF Text Record ID '' Text 'World' Language 'en' Encoding 'UTF-8' message = [ndef.TextRecord("Hello"), ndef.TextRecord("World")] b''.join(ndef.message_encoder(message)) == octets True
The ndeflib
documentation can be found on Read the Docs <https://ndeflib.readthedocs.io/>
, the code on GitHub <https://github.com/nfcpy/ndeflib>
. It is continously tested <https://travis-ci.org/nfcpy/ndeflib>
_ for Python 2.7 and 3.5 with pretty complete test coverage <https://codecov.io/gh/nfcpy/ndeflib>
_.
FAQs
NFC Data Exchange Format decoder and encoder.
We found that ndeflib 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.