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.

CapabilitySource Code ScanningBinary Scanning
Vulnerability Matching (CVEs)YESYES
License DetectionYESYES
Malicious Package DetectionYESYES
Operational RiskNONO
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 ManagerSupported FilesAvailable with
PyPIrequirements.txtDefault jf audit
PyPIrequirements.txt, pyproject.toml, poetry.lock, Pipfile.lock, uv.lock, setup.py, wheels (*.whl), eggs (*.egg) – pip, poetry, pipenv, uv, setuptoolsFrogbot V3
Condaconda-meta/*.json – Installed Conda environment metadataFrogbot V3

Dependency Graph

Package ManagerDependency GraphAvailable with
PyPINO Flat (no parent-child relationships)Default jf audit
PyPI⚠️ Flat – No parent-child relationships, no transitive trackingFrogbot V3
Conda⚠️ Flat – Installed packages enumerated, no graphFrogbot V3

Additional Information

  • Python source code scanning via jf audit requires pip and requirements.txt.
  • Frogbot V3 expands support to poetry, pipenv, uv, setuptools, and Conda environment metadata.

Related Topics


Did this page help you?