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.
This package is one of the implementation available in the fsspec module.
It can be used alone, or dask and intake by indicating the protocol in the path file:
dropbox://file_path
Small nicety : file_path in dropbox needs to start at the root "/folder1/folder2/etc." which means your path when using the protocol identifier should look like this :
dropbox:///folder1/folder2/etc
Yes, with three /// ! What happen if not, for some reasons the dropbox api will remove everything before the first / in the path keep only what is after.
It can also be used directly from the fsspec module to download and upload files in the github account.
The upload part is using the dropbox API.
The download part is using the dropbox API to create a temporary link and then used the already existing webhdfs implementation. Caching (see fsspec module) is available in that case.
Documentation of the fsspec module : https://github.com/intake/filesystem_spec/blob/master/docs/source/features.rst
pip install dropboxdrivefs
https://blogs.dropbox.com/developers/2014/05/generate-an-access-token-for-your-own-account/
Thanks to martindurant and TomAugspurger for the help to developping this implementation see info about the development: https://github.com/intake/filesystem_spec/pull/207
FAQs
Dropbox implementation for fsspec module
We found that dropboxdrivefs 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.