Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Install pipenv
to manage dependencies
pip install --user pipenv
If you get a warning like
WARNING: The scripts pipenv and pipenv-resolver are installed in '/home/${REPLACE_UBUNTU_USERNAME_HERE}/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Modify PATH
system variable to use pipenv
nano ~/.zshrc
Add the next line at the end of the file
export PATH="$PATH:/home/${REPLACE_UBUNTU_USERNAME_HERE}/.local/bin"
Create .env
file with environment variable
PIPENV_VENV_IN_PROJECT=1
Finally, install dependencies using pipenv
pipenv install --dev
Open Command Prompt: Ctrl + Shift + P
Write Python: Select Interpreter
Select your virtual environment
Should be something like
./.venv/bin/python
pytest
Install pre-commit hooks in your repository to use pytest
pre-commit install
Install commit linter hook to follow conventional commits guide like here
commit-linter install
Open Command Prompt: Ctrl + Shift + P
Write Python: Select Linter
Select pylint
GH_TOKEN
secret using a personal access token to use semantic releasePYPI_TOKEN
secret using an auth token from PyPI to upload your projectFAQs
Python Project Package Template
We found that web-utils-soft 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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.