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://api.travis-ci.org/moremoban/httpfs.svg :target: http://travis-ci.org/moremoban/httpfs
.. image:: https://codecov.io/github/moremoban/httpfs/coverage.png :target: https://codecov.io/github/moremoban/httpfs .. image:: https://badge.fury.io/py/httpfs.svg :target: https://pypi.org/project/httpfs
.. image:: https://pepy.tech/badge/httpfs/month :target: https://pepy.tech/project/httpfs/month
.. image:: https://img.shields.io/github/stars/moremoban/httpfs.svg?style=social&maxAge=3600&label=Star :target: https://github.com/moremoban/httpfs/stargazers
With Python File System 2
_, you can do:
.. code::
import fs with fs.open_fs('https://www.google.com') as f: ... print(f.readbytes('index.html')) b'<!doctype ....'
Have fun!
It enables moban
_ to use any files over http(s) as its
template or data file:
.. code-block:: bash
$ moban -t 'https://raw.githubusercontent.com/moremoban/pypi-mobans/dev/templates/_version.py.jj2'\
-c 'https://raw.githubusercontent.com/moremoban/pypi-mobans/dev/config/data.yml'\
-o _version.py
.. _Python File System 2: https://docs.pyfilesystem.org/en/latest .. _moban: https://github.com/moremoban/moban
You can install httpfs via pip:
.. code-block:: bash
$ pip install httpfs
or clone it and install it:
.. code-block:: bash
$ git clone https://github.com/moremoban/httpfs.git
$ cd httpfs
$ python setup.py install
first release
#. what a feat!
FAQs
Read file over HTTP protocol via python file system 2 interface
We found that httpfs 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.