r/madeinpython • • 9h ago

How to fix vulnerabilities in Python? Introducing a new version of VenvHub with a security scanner

Hi,

I’m currently working on developing add-ons for VenvHub Pro. It’s a new feature – a security audit of Python virtual environments (venv). The tool downloads vulnerability data directly from OSV.dev.

In the attached video, I demonstrate how the whole process works:

- Loading the list of packages from a specific venv environment.

- Then displaying an overview of which packages contain vulnerabilities.

- Clicking on a specific issue (CVE) in the tree structure immediately shows all the necessary details and description in the right panel and offers an update option.

- Clicking on the entire package shows an aggregated list of all its issues and available fixes in the right menu.

- Via the dropdown menu, the user can select a specific target version of the package with which they want to fix the given vulnerabilities.

From a technical perspective, the application is designed modularly. It uses dynamic UI generation based on the active provider’s schema (plugin auto-discovery). This means the architecture is not hard-wired only to OSV.dev, but can be extended with other security scanners.

Important note on versions:
The video and screenshots demonstrate the latest development version 2.6.08. The version currently published on my GitHub repository is 2.6.04, in which the scanner is not yet applied.

Since this is work in progress, I’ll be glad for any feedback. I’d be interested in your opinion on the UI/UX layout, as well as on the concept itself of selecting specific versions for fixes.

Thank you.

1 Upvotes

0 comments sorted by