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.
For Conda environment:
ipython
,
ipykernel
, which are used for purpose other than the library itself.listcondalic conda environment.yml > output.json
Here environment.yml
should be the environment specification file.
The package licence information will be saved at output.json
.
Note: We use liccheck internally to produce the analysis.
requirements.txt
)
including all the packages required.
pipreqs is a good helping tool for this as well.listcondalic pip requirements.txt > output.json
The package licence information will be saved at output.json
.
This packages isn't quite clever yet:
python
, setuptools
, wheel
and pip
.
Hopefully, we won't neglect any important packages.NotFound
.For a pip-based requirements.txt
:
name: Report licence status
on:
workflow_dispatch:
jobs:
check-using-pip:
name: Report using a pip environment
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@master
- name: Set up Python 3.7
uses: actions/setup-python@v1
with:
python-version: 3.7
- name: Install packages and listcondalic
run: |
pip install -r requirements.txt
pip install listcondalic
- name: Produce report
run: listcondalic pip requirements.txt
For a conda produced environment.yml
:
name: Report licence status
on:
workflow_dispatch:
jobs:
check-using-conda:
name: Report using a conda environment
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@master
- name: Install conda and prepare the environment
uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: YOUR_ENVIRONMENT_NAME
environment-file: environment.yml
python-version: 3.7
auto-activate-base: false
- name: Install listcondalic
shell: 'bash -l {0}' # this is required by the conda action
run: pip install listcondalic
- name: Produce report
shell: 'bash -l {0}' # this is required by the conda action
run: listcondalic conda environment.yml
FAQs
List license requirement of a project based on configuration file.
We found that listcondalic 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
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.