<h1 align="center">Pyscan</h1>
<p align="center">
<img src=" alt="CI">
<img src=" alt="License">
<a href=" src=" alt="PyPI"></a>
<a href=" src=" alt="Crates.io"></a>
<img src=" alt="Crates.io Downloads">
<a href=" src=" alt="PyPI Downloads"></a>
</p>
<p align="center">
<img src="./benchmarks/assets/readme_benchmark.svg" alt="Pyscan Performance Benchmark">
</p>
<p align="center">
Pyscan is a highly concurrent scanner written in Rust. It automatically tra your Python project, extracts dependencies across packaging formats, and cross-references them against the <a href=" Source (OSV)</a> database in a single asynchronous batch request.
</p>
---
Pyscan was engineered to solve the performance and memory bottlenecks of traditional Python-based security tools:
pip-audit and safety on medium to large datasets. Pyscan's runtime operates on an $O(\text{vulns})$ time complexity model, execution time scales with the number of found, not the number of dependencies you have.uv.lock, requirements.txt, pyproject.toml (Poetry, Hatch, PDM, Flit), or dynamically by parsing your raw .py source code.Read the deep-dive in Benchmarks Report.
You can install Pyscan via pipx, pip (compiled Python wheel) or cargo (native Rust binary):
Simply run pyscan in your project's root directory, or point it to a specific source folder:
bom.json, spdx.json)uv.lockrequirements.txtpyproject.toml.py)*Pyscan will fall back to querying PyPI for the latest if a dependency is found without a strictly pinned , though adhering to PEP-508 syntax is highly recommended.*
Pyscan requires a Rust toolchain >= v1.70 and le asynchronous networking via reqwest and tokio to parallelize OS and maximize throughput. If you're interested in how the parser and scanner are structured, check out theArchitecture O.
Pyscan is a highly optimized tool, but it hasn't been battle-hardened across every edge case yet. It does not guarantee your code is 100% safe from all . I highly recommend using a layered security approach alongside tools like Dependabot, pip-audit, or Trivy. PRs and issues are warmly welcomed!
I started this project when I was a broke high school student, and now I'm a broke college student. If Pyscan has saved your CI/CD pipelines some precious time and RAM, consider buying me a coffee:
![ko-fi]()
开发语言:Rust
Star 数:251
该项目属于安全软件方向的开源资源,代码结构清晰,适合安全研究人员学习参考。项目围绕python dependency vulnerability scanner, written in Rust.展开,提供了可运行的实现,对理解相关安全机制、工具原理与攻防技术具有较高的研究价值。
从技术实现角度看,此类项目的核心在于对底层原理的深入理解与工程化落地。开发者在研究过程中可以结合官方文档与社区讨论,梳理项目的初始化流程、核心模块职责与数据流转,逐步掌握其中的技术细节与设计思路。
1. 下载源码压缩包,解压到本地环境。
2. 根据项目类型准备对应的运行环境与依赖。
3. 按照 README 中的步骤完成配置与部署。
4. 在隔离的测试环境中运行验证,避免影响生产系统。
本资源来源于开源社区,仅供安全研究、技术学习与合法授权范围内的攻防演练使用,请勿用于任何非法或侵害他人权益的用途。使用本项目产生的一切后果由使用者自行承担。
| 资源标题 | pyscan - python dependency vulnerability scanner, written i |
| 所属分类 | 安全软件 |
| 发布作者 | admin |
| 发布时间 | 2026-10-05 22:38:54 |
| 下载权限 | 免费下载 |
| 附件数量 | 2 个下载链接 |
| 浏览次数 | 299 |
| 讨论数量 | 0 |
| 主题状态 | 正常讨论中 |