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.
My experiment on a lightweight and high-performance file/object storage service...
Highlights:
It stores small files and metadata in sqlite, large files in the filesystem.
Tested on 2 million files, and it is still fast.
Usage:
pip install lfss
lfss-user add <username> <password>
lfss-serve
By default, the data will be stored in .storage_data
.
You can change storage directory using the LFSS_DATA
environment variable.
I provide a simple client to interact with the service:
lfss-panel --open
Or, you can start a web server at /frontend
and open index.html
in your browser.
The API usage is simple, just GET
, PUT
, DELETE
to the /<username>/file/url
path.
The authentication can be acheived through one of the following methods:
Authorization
header with the value Bearer sha256(<username><password>)
.token
query parameter with the value sha256(<username><password>)
.You can refer to frontend
as an application example, lfss/api/connector.py
for more APIs.
By default, the service exposes all files to the public for GET
requests,
but file-listing is restricted to the user's own files.
Please refer to docs/Permission.md for more details on the permission system.
More can be found in the docs directory.
FAQs
Lightweight file storage service
We found that lfss 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.