Python
Review Python source and binary scanning support in JFrog Xray.
Introduction
JFrog Xray provides security and compliance analysis for Python applications throughout the software development lifecycle. This page describes the supported scan contexts, package managers, capabilities, and dependency analysis available for Python.
Capabilities
The following capabilities are available for Python.
| Capability | Source Code Scanning | Binary Scanning |
|---|---|---|
| Vulnerability Matching (CVEs) | ||
| License Detection | ||
| Malicious Package Detection | ||
| Operational Risk | ||
| Smart Remediation | 🔜 | 🔜 |
Source code scanning analyzes your project's dependency manifest files to identify components and their vulnerabilities. You can use it with the JFrog CLI jf audit command, Frogbot, IDE integrations, and CI pipelines. For more information, see Scan Your Source Code.
Which files a source scan reads depends on the scan method. For those differences, see Source Scanning Engines and Frogbot Versions.
Supported Files
| Package Manager | Supported Files | Available with |
|---|---|---|
| PyPI | requirements.txt | Default jf audit |
| PyPI | requirements.txt, pyproject.toml, poetry.lock, Pipfile.lock, uv.lock, setup.py, wheels (*.whl), eggs (*.egg) – pip, poetry, pipenv, uv, setuptools | Frogbot V3 |
| Conda | conda-meta/*.json – Installed Conda environment metadata | Frogbot V3 |
Dependency Graph
| Package Manager | Dependency Graph | Available with |
|---|---|---|
| PyPI | Default jf audit | |
| PyPI | ⚠️ Flat – No parent-child relationships, no transitive tracking | Frogbot V3 |
| Conda | ⚠️ Flat – Installed packages enumerated, no graph | Frogbot V3 |
Binary scanning analyzes built artifacts stored in JFrog Artifactory repositories, extracting package metadata from the artifact format itself. For more information, see Scan Your Binaries.
Supported Files
The following package formats are supported for Python binary scanning.
| Package Manager | Supported Files |
|---|---|
| PyPI | .whl, .egg, and all archive types |
| Conda | conda packages |
Additional Information
- Python source code scanning via
jf auditrequires pip andrequirements.txt. - Frogbot V3 expands support to poetry, pipenv, uv, setuptools, and Conda environment metadata.
Related Topics
Updated 25 days ago
