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.
Website: https://loitd.github.io/lutils
Pip: https://pypi.org/project/lutils/
Git: https://github.com/loitd/lutils/
JS: https://github.com/loitd/lutilsjs/ - Not equivalent
You can easily install this library with command pip
or pipenv
:
pip install lutils
With specific version (pip will automatically uninstall older version & install specific version):
pip install lutils~=2.11.73
Install with pipenv:
pipenv install lutils~=2.11.73
Update existing installation:
pipenv update lutils
Update existing installation (manually):
pipenv uninstall lutils
and then:
pipenv install lutils
In your python file:
from lutils.utils import printlog, printwait
printlog("abc", "test.log")
printwait("Please wait while doing things", 5, "logfile.log")
To connect SSH to Linux servers and get disk space status
from lutils.utils import LServer
srv = LServer()
srv.connect(ip="192.168.1.2", uname="root", pwd="123456")
srv.getdiskspace()
To build this package:
pip install --upgrade pip setuptools wheel
pip install tqdm
pip install --user --upgrade twine keyring
Compiling this package:
python setup.py sdist bdist_wheel
Upload to PyPI:
python -m twine upload --skip-existing dist/*
python -m twine upload --skip-existing -u loitd --repository-url https://upload.pypi.org/legacy/ dist/*
Easy upload with keyring:
python -m keyring set https://upload.pypi.org/legacy/ loitd
CI/CD Automated with Pytest and Circle CI
https://app.circleci.com/pipelines/github/loitd/lutils
FAQs
A Public Loitd Python Utility Library
We found that lutils 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.