Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@ietf-tools/pypi-publish
Advanced tools
Tool for publishing a Python package to PyPI from a GitHub Release
This tool is a CLI which provides the following automation:
This tool assumes that you have the signing key used to sign Python packages already configured on your system. It will be used when publishing the package to PyPI.
Install the @ietf-tools/pypi-publish
NPM package globally using:
npm install -g @ietf-tools/pypi-publish
Then run (from any location):
pypi-publish
Enter the necessary info as prompted.
These arguments can also be passed to the CLI to automate values and bypass the questions. All arguments are optional.
Short | Long | Description |
---|---|---|
-t TARGET | --target=TARGET | Target PyPI repository [pypi , testpypi ] |
-a TOKEN | --token=TOKEN | PyPI API Token |
-i IDENTITY | --identity=IDENTITY | GPG identity to use for package signing |
-p PROJECT | --project=PROJECT | GitHub project (repository) to publish from |
-r RELEASE | --release=RELEASE | GitHub release to publish |
--python-path=PATH | Path to Python executable | |
-h | --help | Display usage + help message and exit |
-v | --version | Display CLI version and exit |
BSD-3-Clause
FAQs
Tool for publishing a Python package to PyPI from a GitHub Release
We found that @ietf-tools/pypi-publish demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers 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
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.