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://dev.azure.com/miurahr/CodeBerg/_apis/build/status/CodeBerg-zipfile-inflate64-CI?branchName=releases :target: https://dev.azure.com/miurahr/CodeBerg :alt: Test Status
.. image:: https://readthedocs.org/projects/zipfile-inflate64/badge/?version=latest :target: https://zipfile-inflate64.readthedocs.io/en/latest/?badge=latest :alt: Documentation Status
Extract Enhanced Deflate ZIP archives with Python's zipfile
API.
.. code-block:: python
pip install zipfile-inflate64
Anywhere in a Python codebase:
.. code-block:: python
import zipfile_inflate64 # This has the side effect of patching the zipfile module to support Enhanced Deflate
Alternatively, zipfile_inflate64
re-exports the zipfile
API, as a convenience:
.. code-block:: python
import zipfile_inflate64 as zipfile
zipfile.ZipFile(...)
Recent versions of Microsoft Windows Explorer use Deflate64 compression when creating ZIP files larger than 2GB. With the ubiquity of Windows and the ease of using "Sent to compressed folder", a majority of newly-created large ZIP files use Deflate64 compression.
Python package inflate64 provide compression(deflate) and decompression(inflate) by Enhanced Deflate, aka Deflate64, procedure.
To manage ZIP archive extraction operations, the Python standard library zipfile module provides the essential features and is already ubiquitous in availability and usage. However, zipfile is difficult to extend, as it hardcodes many conditionals for compression formats and does not provide capabilities for easily augmenting or replacing parts of it. Monkey-patching can overcome some of these problems, and the promise of a drop-in, API-compatible patch to a standard library module outweighed the engineering benefits of basing a solution off a more naturally extensible third-party ZIP manipulation package.
Zipfile-deflate64 realize extraction of zipfile compressed with DEFLATE64(tm) algorithm by binding with infback9 extension in zlib.
zipfile-inflate64 is a fork that use inflate64 python package to realize compress and decompress of archives.
zipfile-inflate64 is distributed under GNU General Public License Version 3.0 or (in your choice) later.
zipfile-deflate64 is distributed under Apache-2.0 license. which authored by Kitware, Inc.
FAQs
Extract Enhanced Deflate ZIP archives with Python's zipfile API.
We found that zipfile-inflate64 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.