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 project uses pre-commit to enforce code quality and consistency. To install the pre-commit hooks, run the following command:
pre-commit install
poetry cache clear --all pypi
poetry update
poetry install --all-extras
You can install your CLI tool locally to test it:
pip install --editable ‘.[morph-project]’
This command installs the package in editable mode, which means changes to the source files will immediately affect the installed package without needing a reinstallation.
This project uses poetry to manage dependencies and packaging. To publish a new version of the package, run the following command:
First, update the version in pyproject.toml
file.
poetry version patch
git commit -am "Bump version"
git push origin main
If you want to update the version of morphdb-utils, you can do it by editing the template file:
vim core/morph/task/template/pyproject.toml
git commit -am "Update template file"
git push origin main
Publish the package:
poetry publish --build
First, create a virtual environment and activate it:
python -m venv venv
source venv/bin/activate
Install the dependencies:
pip install morphdb-utils
pip install 'morphdb-utils[morph-project]'
Import the package:
❯ python
Python 3.11.8 (main, Jun 11 2024, 14:34:56) [Clang 15.0.0 (clang-1500.3.9.4)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>
>>> from morphdb_utils import annotations
FAQs
Unknown package
We found that morphdb-utils 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.