<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Samuel Rojas</title>
    <description>The latest articles on DEV Community by Samuel Rojas (@samuelrojasdev).</description>
    <link>https://dev.to/samuelrojasdev</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4241464%2F06afdc5d-cdb2-4c92-bdb6-284f67fe2dd3.jpg</url>
      <title>DEV Community: Samuel Rojas</title>
      <link>https://dev.to/samuelrojasdev</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/samuelrojasdev"/>
    <language>en</language>
    <item>
      <title>I checked 422 security alerts in 5 Python projects: does the fix touch code the app even loads?</title>
      <dc:creator>Samuel Rojas</dc:creator>
      <pubDate>Tue, 01 Dec 2026 23:59:05 +0000</pubDate>
      <link>https://dev.to/samuelrojasdev/i-checked-422-security-alerts-in-5-python-projects-does-the-fix-touch-code-the-app-even-loads-226m</link>
      <guid>https://dev.to/samuelrojasdev/i-checked-422-security-alerts-in-5-python-projects-does-the-fix-touch-code-the-app-even-loads-226m</guid>
      <description>&lt;p&gt;When Dependabot or pip-audit warns you about a vulnerability, the alert names the package. It doesn't tell you if the broken code runs in your app. I wanted to know that, so I measured it.&lt;/p&gt;

&lt;h2&gt;
  
  
  The case that made me ask
&lt;/h2&gt;

&lt;p&gt;urwid had an advisory this year (CVE-2026-103022). The fix, commit &lt;code&gt;b79d9a9&lt;/code&gt;, changes a single file: &lt;code&gt;urwid/display/web.py&lt;/code&gt;. That's the part of urwid that serves its interface over the web.&lt;/p&gt;

&lt;p&gt;In mitmproxy, bumping urwid to 4.0.7 to close that alert broke mypy with 63 errors. And mitmproxy never loads &lt;code&gt;urwid/display/web.py&lt;/code&gt;: it imports urwid, but that file only loads if something uses &lt;code&gt;urwid.web_display&lt;/code&gt;. I checked by running the code.&lt;/p&gt;

&lt;p&gt;In other words: the fix broke the project to close a hole in code that never even ran.&lt;/p&gt;

&lt;h2&gt;
  
  
  How I measured it
&lt;/h2&gt;

&lt;p&gt;I added a new option to depquiet, an open source tool I'm building: &lt;code&gt;--fix-evidence&lt;/code&gt;. For each Python alert it does this:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Finds the commit that fixes the advisory. Of the 2,746 PyPI advisories GitHub reviewed in 2026, 1,639 (60%) link one.&lt;/li&gt;
&lt;li&gt;Looks at which files that commit changed.&lt;/li&gt;
&lt;li&gt;Checks, in the project's environment, whether your code loads those files: what you import, what that imports, and what can load later (an import inside a function, a plugin loaded by name).
It hides no alert. It just adds a line under each one with the evidence:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;🟢 fix changes urwid/display/web.py: your code imports urwid, which does not load
   urwid.display.web; only using urwid.display.web or urwid.web_display would, and nothing does.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  The results
&lt;/h2&gt;

&lt;p&gt;I ran it on GitHub Actions over 8 well-known projects, each at a pinned commit.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Project&lt;/th&gt;
&lt;th&gt;Alerts&lt;/th&gt;
&lt;th&gt;Loaded&lt;/th&gt;
&lt;th&gt;Can load later&lt;/th&gt;
&lt;th&gt;Not loaded&lt;/th&gt;
&lt;th&gt;Can't tell&lt;/th&gt;
&lt;th&gt;No fix commit&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;posthog&lt;/td&gt;
&lt;td&gt;257&lt;/td&gt;
&lt;td&gt;163&lt;/td&gt;
&lt;td&gt;12&lt;/td&gt;
&lt;td&gt;17&lt;/td&gt;
&lt;td&gt;25&lt;/td&gt;
&lt;td&gt;40&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;langflow&lt;/td&gt;
&lt;td&gt;83&lt;/td&gt;
&lt;td&gt;25&lt;/td&gt;
&lt;td&gt;27&lt;/td&gt;
&lt;td&gt;12&lt;/td&gt;
&lt;td&gt;18&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;mitmproxy&lt;/td&gt;
&lt;td&gt;51&lt;/td&gt;
&lt;td&gt;15&lt;/td&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;30&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;mlflow&lt;/td&gt;
&lt;td&gt;24&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;td&gt;11&lt;/td&gt;
&lt;td&gt;9&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;saleor&lt;/td&gt;
&lt;td&gt;7&lt;/td&gt;
&lt;td&gt;7&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Total&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;422&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;210&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;44&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;70&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;52&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;46&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;mealie and paperless-ngx had no Python alerts at all (I double-checked against PyPI). zulip couldn't be measured because its environment didn't install.&lt;/p&gt;

&lt;p&gt;Of the 324 alerts with a verdict:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;65%&lt;/strong&gt; touch code the app does load.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;14%&lt;/strong&gt; touch code that can load later.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;22%&lt;/strong&gt; touch code the app never loads. 59 of those 70 are tools the projects run as commands, not imports: virtualenv, filelock, datamodel-code-generator, pytest.
## What I didn't expect&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I thought it would show that most alerts don't matter. It showed the opposite: two in three fixes touch code that loads.&lt;/p&gt;

&lt;p&gt;So this isn't a way to ignore alerts. It's a way to know which ones to handle first, and why the others don't apply.&lt;/p&gt;

&lt;h2&gt;
  
  
  The 4 mistakes I found before publishing
&lt;/h2&gt;

&lt;p&gt;I checked the results by hand every round. I found 4 cases where depquiet said "not loaded" and the code did load:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Plugins.&lt;/strong&gt; virtualenv registers its own plugins, and depquiet counted them even when nothing loaded virtualenv. Now they only count if something loaded reads that plugin group.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Pillow.&lt;/strong&gt; It loads its format plugins (TIFF, EPS...) by name when you open an image. The names live in one file and the import in another.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Chains.&lt;/strong&gt; &lt;code&gt;PdfParser&lt;/code&gt; is loaded by &lt;code&gt;PdfImagePlugin&lt;/code&gt;, which itself loads later. Whatever a later-loaded module imports counts too.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;dnspython.&lt;/strong&gt; It builds the module name (&lt;code&gt;dns.rdtypes.IN.WKS&lt;/code&gt;) from the names of an enum, with no string anywhere. If a DNS server answers with that record type, the module loads. And an attacker can control that DNS answer.
I fixed all of them before making the table. I'd rather have a lower number that's true.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  The limits
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Python only, for now.&lt;/li&gt;
&lt;li&gt;Module level: if the file loads, it counts, even if the broken function is never called.&lt;/li&gt;
&lt;li&gt;It looks at imports, not commands. If your CI runs tox, tox uses virtualenv even though your code doesn't import it.&lt;/li&gt;
&lt;li&gt;It's static: a plugin picked at run time isn't seen.
## Try it on your project
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;uvx --with pip-audit depquiet --fix-evidence
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;On a uv project you don't need a &lt;code&gt;.venv&lt;/code&gt;: it builds a temporary one from &lt;code&gt;uv.lock&lt;/code&gt; and removes it when done. Your folder stays as it was.&lt;/p&gt;

&lt;p&gt;Full data and method: &lt;a href="https://github.com/samuelrojas-dev/depquiet/blob/main/docs/fix-evidence.md" rel="noopener noreferrer"&gt;docs/fix-evidence.md&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you run it on your project, I'd love to hear what you get, especially if you find a wrong verdict.&lt;/p&gt;

</description>
      <category>python</category>
      <category>security</category>
      <category>opensource</category>
      <category>devops</category>
    </item>
    <item>
      <title>I checked 120 popular Python projects. What blocks their security fixes isn't a package</title>
      <dc:creator>Samuel Rojas</dc:creator>
      <pubDate>Fri, 27 Nov 2026 22:01:10 +0000</pubDate>
      <link>https://dev.to/samuelrojasdev/i-checked-120-popular-python-projects-what-blocks-their-security-fixes-isnt-a-package-3efd</link>
      <guid>https://dev.to/samuelrojasdev/i-checked-120-popular-python-projects-what-blocks-their-security-fixes-isnt-a-package-3efd</guid>
      <description>&lt;p&gt;I wanted to find the packages that block security fixes the most across popular Python projects. Something like a "Blocker Index": package X holds back fixes in N projects.&lt;/p&gt;

&lt;p&gt;The biggest blocker turned out not to be a package at all.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I did
&lt;/h2&gt;

&lt;p&gt;I took the 120 most-starred GitHub projects that keep a &lt;code&gt;uv.lock&lt;/code&gt; and ran depquiet on each one (an open source tool I'm building). For every project it:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;scans &lt;code&gt;uv.lock&lt;/code&gt; with pip-audit,&lt;/li&gt;
&lt;li&gt;tries each security fix with uv,&lt;/li&gt;
&lt;li&gt;verifies the fixes together on a copy of the project.
115 projects could be scanned. 94 have advisories that need action: 8,007 in all, counting each advisory once per package per project.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Where every advisory ends up
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Outcome&lt;/th&gt;
&lt;th&gt;Advisories&lt;/th&gt;
&lt;th&gt;Share&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Fixed by a plan uv verifies&lt;/td&gt;
&lt;td&gt;4,623&lt;/td&gt;
&lt;td&gt;57.7%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Needs a newer Python than &lt;code&gt;requires-python&lt;/code&gt; allows&lt;/td&gt;
&lt;td&gt;991&lt;/td&gt;
&lt;td&gt;12.4%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Held back by another package that no release of lets the fix in&lt;/td&gt;
&lt;td&gt;275&lt;/td&gt;
&lt;td&gt;3.4%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Only an older release of a direct dependency allows it&lt;/td&gt;
&lt;td&gt;137&lt;/td&gt;
&lt;td&gt;1.7%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Left out for other reasons (conflicts, one-platform failures, GPU builds)&lt;/td&gt;
&lt;td&gt;918&lt;/td&gt;
&lt;td&gt;11.5%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;uv can't lock the project as it is&lt;/td&gt;
&lt;td&gt;768&lt;/td&gt;
&lt;td&gt;9.6%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;JavaScript side of a mixed repo (pnpm), not planned&lt;/td&gt;
&lt;td&gt;237&lt;/td&gt;
&lt;td&gt;3.0%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;No fixed version reported&lt;/td&gt;
&lt;td&gt;58&lt;/td&gt;
&lt;td&gt;0.7%&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The project's own &lt;code&gt;requires-python&lt;/code&gt; holds back 991 advisories. Every other package combined holds back 412. That's 2.4 times more.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F7ve92513jweab7t3mzv6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F7ve92513jweab7t3mzv6.png" alt=" " width="800" height="336"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Why this happens
&lt;/h2&gt;

&lt;p&gt;A real example: pillow 13.0.0 needs Python 3.11 or newer, and soupsieve 4.0 needs 3.11.5. If your &lt;code&gt;pyproject.toml&lt;/code&gt; still says &lt;code&gt;requires-python = "&amp;gt;=3.10"&lt;/code&gt;, uv can't lock those versions for every Python you claim to support, so the fix can't go in.&lt;/p&gt;

&lt;p&gt;Dependabot reports this as "cannot update to a non-vulnerable version" and leaves the alert open. It doesn't tell you the cause is one line in your own &lt;code&gt;pyproject.toml&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;What to do about it:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;An application, or your oldest Python is end-of-life:&lt;/strong&gt; raise &lt;code&gt;requires-python&lt;/code&gt;. Dependabot follows it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A library:&lt;/strong&gt; keep &lt;code&gt;requires-python&lt;/code&gt;, set &lt;code&gt;[tool.uv] environments&lt;/code&gt; so the lock only covers newer Pythons, and have something relock on a schedule, because Dependabot ignores that setting.
## The packages that do block fixes&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;29 packages hold back at least one fix. Only 4 of them do it in more than one project: crawl4ai, tensordict, vllm and daphne, in 2 projects each.&lt;/p&gt;

&lt;p&gt;So when a package is the blocker, it's usually one package in one project, not one package blocking the whole ecosystem. The useful thing is to name it in that project. The fix most often held back is pillow's (in airflow, camel, owl and private-gpt), and the packages holding it back are a different mix in each one.&lt;/p&gt;

&lt;h2&gt;
  
  
  Limits
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;One snapshot of one branch per project, on 2026-11-27. Locks change every day.&lt;/li&gt;
&lt;li&gt;Alerts come from scanning the lockfile (pip-audit, OSV.dev), not from GitHub's Security tab, so counts can differ a little.&lt;/li&gt;
&lt;li&gt;29 projects ran a second time on GitHub Actions, because the first machine couldn't reach package indexes outside PyPI. After the rerun no advisory is left as "could not be checked" over a fetch error.
The method, every project's result and the scripts are public, and you can rerun it yourself: github.com/samuelrojas-dev/depquiet/tree/main/research/2026-11-blocker-index&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Have you hit "Dependabot cannot update" on a Python repo? Was it the Python floor, or something else?&lt;/p&gt;

</description>
      <category>python</category>
      <category>security</category>
      <category>dependabot</category>
      <category>uv</category>
    </item>
    <item>
      <title>Dependabot cannot update soupsieve to a non-vulnerable version: the real reason</title>
      <dc:creator>Samuel Rojas</dc:creator>
      <pubDate>Thu, 26 Nov 2026 02:19:38 +0000</pubDate>
      <link>https://dev.to/samuelrojasdev/dependabot-cannot-update-soupsieve-to-a-non-vulnerable-version-the-real-reason-n66</link>
      <guid>https://dev.to/samuelrojasdev/dependabot-cannot-update-soupsieve-to-a-non-vulnerable-version-the-real-reason-n66</guid>
      <description>&lt;p&gt;If you use uv and Dependabot, you may have seen this on a security alert:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Dependabot cannot update soupsieve to a non-vulnerable version&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The GitHub docs say this happens when the fix would break other dependencies. In the Python projects I looked at, the reason was often something else, and the alert never says it.&lt;/p&gt;

&lt;h2&gt;
  
  
  The real reason: your Python floor
&lt;/h2&gt;

&lt;p&gt;Every soupsieve release that fixes the recent advisories (3.0.2 and later) says &lt;code&gt;requires-python &amp;gt;=3.11.5&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Now look at your &lt;code&gt;pyproject.toml&lt;/code&gt;. If it says &lt;code&gt;requires-python = "&amp;gt;=3.10"&lt;/code&gt; or &lt;code&gt;"&amp;gt;=3.11"&lt;/code&gt;, uv has to make a lock that works on every Python you claim, including 3.11.0 to 3.11.4. No fixed soupsieve installs there. So uv keeps an old one, or locks two copies: a fixed one for newer Pythons and a vulnerable one for older ones.&lt;/p&gt;

&lt;p&gt;Dependabot sees that, gives up, and shows the message above. The reason only shows up in the job log, as "Filtered out" lines. I opened an issue asking for the alert to say it: dependabot-core#16987.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to check if this is your case
&lt;/h2&gt;

&lt;p&gt;Look in &lt;code&gt;uv.lock&lt;/code&gt; for two copies of the package:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;name = "soupsieve"
version = "2.10"
...
name = "soupsieve"
version = "4.1.3"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;with markers like &lt;code&gt;python_full_version &amp;lt; '3.11.5'&lt;/code&gt;. If you see that, the alert is not about broken dependencies. It's about Python.&lt;/p&gt;

&lt;h2&gt;
  
  
  Three ways out
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;1. Raise &lt;code&gt;requires-python&lt;/code&gt;.&lt;/strong&gt; Set it to &lt;code&gt;&amp;gt;=3.11.5&lt;/code&gt; and relock. Fine for an application you deploy. For a library, be careful: I did this in a PR to wagtail, it got merged, and it broke the nightly install of wagtail in a downstream project that said &lt;code&gt;&amp;gt;=3.11&lt;/code&gt;. My mistake.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. For a library, change only the lock.&lt;/strong&gt; This is how the wagtail maintainer fixed it in a few hours:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight toml"&gt;&lt;code&gt;&lt;span class="k"&gt;[tool.uv]&lt;/span&gt;
&lt;span class="na"&gt;environments&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"python_full_version &amp;gt;= '3.11.5'"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;uv then locks only for Python 3.11.5 and newer. Your CI and development get the fix. Your users can still install your package on any 3.11.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Accept the split.&lt;/strong&gt; &lt;code&gt;uv lock --upgrade-package soupsieve&lt;/code&gt; (no version) gives newer Pythons the fix and older ones the best release they can install. The FinanceDatabase maintainer asked for exactly this in review and merged it. The alerts on the older copy stay open, but nobody on a newer Python is exposed.&lt;/p&gt;

&lt;h2&gt;
  
  
  The tool I built for this
&lt;/h2&gt;

&lt;p&gt;I hit this enough times that I built depquiet, an open source tool that reads your lock, checks each fix with uv's own resolver on a copy of your project, and tells you which of these three options works, with the exact command. It also checks with pip-audit that the version it suggests for older Pythons doesn't bring new advisories. That check came from a mistake too: my first numbers counted only the alerts a fix closes, not the ones it adds.&lt;/p&gt;

&lt;p&gt;So far, five projects merged PRs that came from it: beets, FinanceDatabase, Horizon, wagtail and banana-slides. The README lists all five, including the one that broke something.&lt;/p&gt;

&lt;p&gt;github.com/samuelrojas-dev/depquiet&lt;/p&gt;

&lt;p&gt;If you've seen this Dependabot message and the cause was different, I'd like to hear it.&lt;/p&gt;

</description>
      <category>python</category>
      <category>security</category>
      <category>dependabot</category>
      <category>uv</category>
    </item>
    <item>
      <title>Dependabot knows why it can't fix your alert. It just doesn't tell you.</title>
      <dc:creator>Samuel Rojas</dc:creator>
      <pubDate>Fri, 20 Nov 2026 23:18:54 +0000</pubDate>
      <link>https://dev.to/samuelrojasdev/dependabot-knows-why-it-cant-fix-your-alert-it-just-doesnt-tell-you-56pl</link>
      <guid>https://dev.to/samuelrojasdev/dependabot-knows-why-it-cant-fix-your-alert-it-just-doesnt-tell-you-56pl</guid>
      <description>&lt;p&gt;Last week I measured how many popular Python projects have security alerts that no upgrade can close, because every fixed release needs a newer Python. About half of the projects with alerts had at least one.&lt;/p&gt;

&lt;p&gt;I wanted to see what Dependabot says in that case. So I made a tiny public repo and let Dependabot run on it.&lt;/p&gt;

&lt;h2&gt;
  
  
  The setup
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;code&gt;requires-python = "&amp;gt;=3.10"&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;beautifulsoup4&lt;/code&gt; and &lt;code&gt;pillow&lt;/code&gt; as dependencies&lt;/li&gt;
&lt;li&gt;In &lt;code&gt;uv.lock&lt;/code&gt;: soupsieve 2.8.3 (it comes with beautifulsoup4) and pillow 12.2.0&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Every fixed soupsieve release from 3.0.2 up needs Python 3.11.5. The fixed pillow 13 needs Python 3.11. This project still allows 3.10.&lt;/p&gt;

&lt;p&gt;Repo: &lt;a href="https://github.com/samuelrojas-dev/depquiet-floor-test" rel="noopener noreferrer"&gt;https://github.com/samuelrojas-dev/depquiet-floor-test&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What Dependabot showed for soupsieve
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;Dependabot cannot update soupsieve to a non-vulnerable version&lt;br&gt;
The latest possible version of soupsieve that can be installed is 2.8.3.&lt;br&gt;
The earliest fixed version is 4.0.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;That's all. No reason. The error in the job log has an empty &lt;code&gt;conflicting-dependencies&lt;/code&gt; list.&lt;/p&gt;

&lt;p&gt;But the same log has this line, once for every release from 3.0.2 to 4.1.3:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Filtered out soupsieve 4.0 because python requirement &amp;gt;= 3.11.5 is not satisfied by python 3.10.22
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;So Dependabot finds the reason. It just doesn't show it on the alert.&lt;/p&gt;

&lt;p&gt;Two more things surprised me:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;One alert said "Patched version: 2.8.4", and right above it Dependabot said "The earliest fixed version is 4.0".&lt;/li&gt;
&lt;li&gt;soupsieve 2.10 does install on Python 3.10, and it fixes 5 of the 8 soupsieve alerts. Dependabot said the latest version it could install was 2.8.3.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What Dependabot did for pillow
&lt;/h2&gt;

&lt;p&gt;It opened a pull request: pillow 12.2.0 → 12.3.0. That closes 13 alerts. The other 43 are only fixed in pillow 13, which needs Python 3.11, and the pull request doesn't say that. If you merge it, you'd probably think you were done.&lt;/p&gt;

&lt;h2&gt;
  
  
  What would actually help
&lt;/h2&gt;

&lt;p&gt;Tell me the real choice:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Raise &lt;code&gt;requires-python&lt;/code&gt; to &lt;code&gt;&amp;gt;=3.11.5&lt;/code&gt;, and all the fixes install.&lt;/li&gt;
&lt;li&gt;Or keep Python 3.10, take the partial fixes now (soupsieve 2.10, pillow 12.3.0), and accept the rest.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I opened an issue on dependabot-core with the repro: &lt;a href="https://github.com/dependabot/dependabot-core/issues/16987" rel="noopener noreferrer"&gt;https://github.com/dependabot/dependabot-core/issues/16987&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What depquiet says on the same repo
&lt;/h2&gt;

&lt;p&gt;I built depquiet for this kind of case, so I ran it on the same repo:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;✓ pillow 12.2.0 → 12.3.0: the newest fix your Python range allows (closes 13 of 55 alerts; the other 42 need Python &amp;gt;=3.11)
✓ soupsieve 2.8.3 → 2.10.0: the newest fix your Python range allows (closes 5 of 8 alerts; the other 3 need Python &amp;gt;=3.11.5)
✗ pillow → 13.0.0: needs a newer Python: see Python floor below
✗ soupsieve → 4.0.0: needs a newer Python: see Python floor below

Python floor:
  Raising requires-python to &amp;gt;=3.11.5 would let 2 fixes install (pillow, soupsieve; 63 alerts), verified with uv's resolver.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;(depquiet reads advisories through pip-audit, so its pillow count is 55, not GitHub's 56.)&lt;/p&gt;

&lt;p&gt;You can try it without installing anything:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;uvx --with pip-audit depquiet --fix-plan
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Repo: &lt;a href="https://github.com/samuelrojas-dev/depquiet" rel="noopener noreferrer"&gt;https://github.com/samuelrojas-dev/depquiet&lt;/a&gt;&lt;/p&gt;

</description>
      <category>python</category>
      <category>security</category>
      <category>dependabot</category>
      <category>github</category>
    </item>
    <item>
      <title>13 popular Python projects moved to 3.11 and still can't close their soupsieve alerts</title>
      <dc:creator>Samuel Rojas</dc:creator>
      <pubDate>Fri, 20 Nov 2026 05:26:40 +0000</pubDate>
      <link>https://dev.to/samuelrojasdev/13-popular-python-projects-moved-to-311-and-still-cant-close-their-soupsieve-alerts-published-i4e</link>
      <guid>https://dev.to/samuelrojasdev/13-popular-python-projects-moved-to-311-and-still-cant-close-their-soupsieve-alerts-published-i4e</guid>
      <description>&lt;p&gt;Last week I wrote about a small trap: raising &lt;code&gt;requires-python&lt;/code&gt; to 3.11 does not close the soupsieve alerts, because every fixed soupsieve release needs Python 3.11.5. I wanted to know how common this is, so I measured it.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I checked
&lt;/h2&gt;

&lt;p&gt;I took the 300 most-starred Python repos on GitHub that had a push this month. 94 of them use uv (they have a &lt;code&gt;uv.lock&lt;/code&gt;), and I could analyze 92.&lt;/p&gt;

&lt;p&gt;For each one I read the lock file, listed the vulnerable packages, and then asked PyPI a simple question: does any fixed release still install on the oldest Python this project supports? If the answer is no, no upgrade can close that alert. Someone has to decide to drop a Python version first.&lt;/p&gt;

&lt;p&gt;Everything was read-only. I didn't run a resolver or change anything in anyone's project.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I found
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;70 of the 92 projects had open alerts.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;40 of those 70 (57%)&lt;/strong&gt; have at least one vulnerable package that no fixed release reaches on their oldest supported Python.&lt;/li&gt;
&lt;li&gt;Counting packages, it's 100 of 831 vulnerable packages (12%).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The packages behind it: soupsieve, filelock, pillow, dnspython, tornado, plus a few more. For the fixes, pillow, filelock, dnspython and tornado all need Python 3.11, and soupsieve needs 3.11.5.&lt;/p&gt;

&lt;h2&gt;
  
  
  The 3.11.5 trap
&lt;/h2&gt;

&lt;p&gt;30 projects have a vulnerable soupsieve that they can't fix on their oldest Python. The part that surprised me: &lt;strong&gt;13 of them already require Python 3.11&lt;/strong&gt;, and they're still blocked, because 3.11.0 to 3.11.4 are still allowed.&lt;/p&gt;

&lt;p&gt;Those 13 are manim, prefect, skyvern, airflow, graphrag, mlflow, serena, pydantic, python-telegram-bot, spotify-downloader, hindsight, wagtail and private-gpt.&lt;/p&gt;

&lt;p&gt;For them, &lt;code&gt;requires-python = "&amp;gt;=3.11"&lt;/code&gt; isn't enough. It has to be &lt;code&gt;"&amp;gt;=3.11.5"&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  What this is not
&lt;/h2&gt;

&lt;p&gt;This is not a criticism of any project. Supporting older Pythons is a fair choice, and some projects keep it on purpose. The point is that Dependabot or any other tool can't close these alerts by itself: someone has to decide.&lt;/p&gt;

&lt;p&gt;Some limits, so you can judge the numbers:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The alerts come from pip-audit, not from Dependabot. They mostly agree, but not 100%.&lt;/li&gt;
&lt;li&gt;"Blocked" comes from PyPI metadata, not from running a resolver. A project can still close an alert with an environment marker.&lt;/li&gt;
&lt;li&gt;Counting alerts makes pillow look bigger (it has many advisories), so the per-package numbers are the fair ones.&lt;/li&gt;
&lt;li&gt;It's one snapshot, from November 20, 2026.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Check it yourself
&lt;/h2&gt;

&lt;p&gt;The scripts, the method and the data for every package are here: &lt;a href="https://github.com/samuelrojas-dev/depquiet/tree/main/research/2026-11-python-floor" rel="noopener noreferrer"&gt;https://github.com/samuelrojas-dev/depquiet/tree/main/research/2026-11-python-floor&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I measured this with depquiet, the tool I'm building. If you have alerts stuck like this, &lt;code&gt;depquiet --fix-plan --raise-python-floor&lt;/code&gt; finds the exact floor (3.11.5, not 3.11) and checks it with uv or Poetry before you change anything.&lt;/p&gt;

</description>
      <category>python</category>
      <category>security</category>
      <category>opensource</category>
      <category>java</category>
    </item>
    <item>
      <title>Raising requires-python to 3.11 won't close your soupsieve alerts</title>
      <dc:creator>Samuel Rojas</dc:creator>
      <pubDate>Thu, 19 Nov 2026 00:47:36 +0000</pubDate>
      <link>https://dev.to/samuelrojasdev/raising-requires-python-to-311-wont-close-your-soupsieve-alerts-3gjc</link>
      <guid>https://dev.to/samuelrojasdev/raising-requires-python-to-311-wont-close-your-soupsieve-alerts-3gjc</guid>
      <description>&lt;p&gt;Python 3.10 reached end of life in October, so a lot of projects are bumping &lt;code&gt;requires-python&lt;/code&gt; to &lt;code&gt;&amp;gt;=3.11&lt;/code&gt; to finally close their Dependabot alerts. Pillow 13, filelock 4.2 and others dropped 3.10, so that bump makes sense.&lt;/p&gt;

&lt;p&gt;But if your project has beautifulsoup4 anywhere in the tree, there's a catch: soupsieve.&lt;/p&gt;

&lt;h2&gt;
  
  
  The catch
&lt;/h2&gt;

&lt;p&gt;The patched soupsieve releases need Python 3.11.5 or later, not 3.11. You can check it on PyPI: soupsieve 4.1.1 declares &lt;code&gt;requires-python &amp;gt;=3.11.5&lt;/code&gt;. The early 3.0 releases were even yanked because they allowed Python versions with a broken regex engine, which was fixed in 3.11.5.&lt;/p&gt;

&lt;p&gt;So when you set &lt;code&gt;requires-python = "&amp;gt;=3.11"&lt;/code&gt;, uv does the right thing: it still has to support 3.11.0 to 3.11.4, so it splits the lock at 3.11.5 and keeps the old soupsieve for those versions. Your &lt;code&gt;uv.lock&lt;/code&gt; ends up with something like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;name&lt;/span&gt; &lt;span class="err"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"soupsieve"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;version&lt;/span&gt; &lt;span class="err"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"2.10"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;marker&lt;/span&gt; &lt;span class="err"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"python_full_version &amp;lt; '3.11.5'"&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;name&lt;/span&gt; &lt;span class="err"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"soupsieve"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;version&lt;/span&gt; &lt;span class="err"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"4.1.1"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;marker&lt;/span&gt; &lt;span class="err"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"python_full_version &amp;gt;= '3.11.5'"&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;2.10 is still a vulnerable version. Dependabot sees it in the lock, and the alert stays open. You raised the floor, regenerated the lock, and nothing changed for soupsieve.&lt;/p&gt;

&lt;p&gt;Sometimes uv picks a different way out: instead of keeping old soupsieve, it moves beautifulsoup4 itself way back for those Python versions. On one project I tested, Python 3.11.0–3.11.4 got beautifulsoup4 4.6.3, from 2018.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to check your project
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;grep -n &lt;span class="s2"&gt;"3.11.5"&lt;/span&gt; uv.lock
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If you see soupsieve or beautifulsoup4 with a &lt;code&gt;&amp;lt; '3.11.5'&lt;/code&gt; marker, you have it.&lt;/p&gt;

&lt;h2&gt;
  
  
  The fix
&lt;/h2&gt;

&lt;p&gt;Use &lt;code&gt;&amp;gt;=3.11.5&lt;/code&gt; instead of &lt;code&gt;&amp;gt;=3.11&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight toml"&gt;&lt;code&gt;&lt;span class="na"&gt;requires-python&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"&amp;gt;=3.11.5"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then run &lt;code&gt;uv lock&lt;/code&gt; again. The split goes away and you get one patched soupsieve. Python 3.11.5 came out in August 2023, so very few people should still be on 3.11.0 to 3.11.4.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why I noticed
&lt;/h2&gt;

&lt;p&gt;I found this same split in four public projects this month, all of them dropping 3.10 to clear alerts. In most of them, the PR or issue said the alerts would close, and the soupsieve ones wouldn't have.&lt;/p&gt;

&lt;p&gt;I build depquiet, an open source tool that works out what to change to close your dependency alerts and checks it with uv or Poetry on a copy of your project. When the floor you'd pick still leaves a split like this, it tries the split points and suggests the exact one, here &lt;code&gt;&amp;gt;=3.11.5&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pip install depquiet pip-audit
depquiet --fix-plan --raise-python-floor
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It only checks that the versions resolve together, not that your code works with them. Your tests still decide that.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/samuelrojas-dev/depquiet" rel="noopener noreferrer"&gt;https://github.com/samuelrojas-dev/depquiet&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;I used Claude Code to help dig through the lock files and write the tool.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>python</category>
      <category>security</category>
      <category>uv</category>
      <category>dependabot</category>
    </item>
    <item>
      <title>Fixing one bug in my security tool would have hidden every alert in my test project</title>
      <dc:creator>Samuel Rojas</dc:creator>
      <pubDate>Thu, 12 Nov 2026 23:53:40 +0000</pubDate>
      <link>https://dev.to/samuelrojasdev/fixing-one-bug-in-my-security-tool-would-have-hidden-every-alert-in-my-test-project-l5c</link>
      <guid>https://dev.to/samuelrojasdev/fixing-one-bug-in-my-security-tool-would-have-hidden-every-alert-in-my-test-project-l5c</guid>
      <description>&lt;p&gt;I maintain &lt;a href="https://github.com/samuelrojas-dev/depquiet" rel="noopener noreferrer"&gt;depquiet&lt;/a&gt;. It sits on top of pip-audit, uv audit and npm audit and tries to cut down the noise. The one rule I care about is that it should never hide something real.&lt;/p&gt;

&lt;p&gt;This week I found out how close I came to breaking it with what looked like a simple bug fix.&lt;/p&gt;

&lt;h2&gt;
  
  
  The setup
&lt;/h2&gt;

&lt;p&gt;depquiet had an EPSS filter. EPSS is a score from FIRST.org that estimates how likely a CVE is to get exploited in the next 30 days. My defaults were:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;under 10%: filter it out&lt;/li&gt;
&lt;li&gt;under 30%: move it to "review"&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I picked those numbers because they felt sensible. Most CVEs never get exploited, so why bug people about them?&lt;/p&gt;

&lt;p&gt;Then I noticed the filter basically never ran on Python projects. EPSS only works with CVE ids, and pip-audit gives you ids like &lt;code&gt;PYSEC-2023-74&lt;/code&gt;. uv audit gives you &lt;code&gt;GHSA-...&lt;/code&gt;. The CVE is there, but as an alias, and depquiet wasn't looking at aliases. No CVE, no score, no filtering.&lt;/p&gt;

&lt;p&gt;Easy fix, right? Look up the alias.&lt;/p&gt;

&lt;p&gt;But that would turn the filter on for every Python user at once, so I stopped and thought about what it would actually throw away. I didn't like the answer, so I shipped the alias fix and also stopped EPSS from filtering by default. More on why below.&lt;/p&gt;

&lt;h2&gt;
  
  
  Then I ran it on real data
&lt;/h2&gt;

&lt;p&gt;After the release I made a tiny project with three old pins:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;requests==2.25.0
urllib3==1.26.4
jinja2==2.11.2
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;pip-audit found 22 vulnerabilities. With the alias fix, all 22 got an EPSS score. The highest was 4%. The lowest was 0.2%.&lt;/p&gt;

&lt;p&gt;So if I had only fixed the alias and kept my 10% default, the filter would have thrown away all 22. Every single one. That list includes requests leaking your &lt;code&gt;.netrc&lt;/code&gt; credentials and urllib3 forwarding &lt;code&gt;Proxy-Authorization&lt;/code&gt; headers. The 30% rule would have pushed all of them down to "review" too.&lt;/p&gt;

&lt;p&gt;I knew it would filter a lot. I didn't expect it to filter everything. The tool would have told me the project was fine.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I got wrong
&lt;/h2&gt;

&lt;p&gt;I was treating EPSS like it says something about my app. It doesn't. It tells you how likely a CVE is to be exploited somewhere on the internet. A 0.5% score means nobody is spraying that bug at scale right now. It doesn't tell you if your code passes credentials through a proxy you don't control.&lt;/p&gt;

&lt;p&gt;Using that number to hide alerts means a global statistic gets to decide what you see about your own project. That's not what I want this tool to do.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I changed
&lt;/h2&gt;

&lt;p&gt;In v0.42:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;EPSS doesn't filter anything by default anymore. It just sorts. Known exploited (CISA KEV) go first, then highest EPSS, then severity.&lt;/li&gt;
&lt;li&gt;If you still want the filter, &lt;code&gt;--epss-threshold 0.05&lt;/code&gt; works. You just have to turn it on yourself.&lt;/li&gt;
&lt;li&gt;Lookups use the CVE alias now, so Python and npm findings actually get scores.&lt;/li&gt;
&lt;li&gt;Tiny scores show as &lt;code&gt;0.4%&lt;/code&gt; instead of &lt;code&gt;0%&lt;/code&gt;. Seeing "0%" next to a credential leak felt wrong.
Going through the whole release afterwards also turned up two other things I'm not happy about. &lt;code&gt;depquiet init&lt;/code&gt; was still writing the old 10% threshold into new config files. And if you passed a &lt;code&gt;--kev-file&lt;/code&gt; that didn't exist, depquiet crashed with exit code 1, which is the same code it uses for "found vulnerabilities". So a CI job that tolerates findings would just pass, without ever checking KEV. Both are fixed in 0.42.1.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  If you build tools like this
&lt;/h2&gt;

&lt;p&gt;Run your filter on real data and look at what it throws away, not just what it keeps. My numbers looked fine on paper. On an actual project they would have hidden everything.&lt;/p&gt;




&lt;p&gt;&lt;code&gt;pip install depquiet&lt;/code&gt;, or use the GitHub Action &lt;code&gt;samuelrojas-dev/depquiet@v0&lt;/code&gt;. If you think I'm wrong about EPSS, I'd like to hear why: &lt;a href="https://github.com/samuelrojas-dev/depquiet" rel="noopener noreferrer"&gt;github.com/samuelrojas-dev/depquiet&lt;/a&gt;&lt;/p&gt;

</description>
      <category>security</category>
      <category>python</category>
      <category>opensource</category>
      <category>devops</category>
    </item>
    <item>
      <title>I audited my own security tool for every place it said "you're safe" when you weren't. I found 10.</title>
      <dc:creator>Samuel Rojas</dc:creator>
      <pubDate>Thu, 12 Nov 2026 16:31:35 +0000</pubDate>
      <link>https://dev.to/samuelrojasdev/i-audited-my-own-security-tool-for-every-place-it-said-youre-safe-when-you-werent-i-found-10-4081</link>
      <guid>https://dev.to/samuelrojasdev/i-audited-my-own-security-tool-for-every-place-it-said-youre-safe-when-you-werent-i-found-10-4081</guid>
      <description>&lt;p&gt;I maintain &lt;a href="https://github.com/samuelrojas-dev/depquiet" rel="noopener noreferrer"&gt;depquiet&lt;/a&gt;, an open-source (MIT) triage layer for &lt;code&gt;pip-audit&lt;/code&gt;, &lt;code&gt;uv audit&lt;/code&gt; and &lt;code&gt;npm audit&lt;/code&gt;. It drops the alerts that only reach your dev tooling and tells you which of the rest you can actually fix.&lt;/p&gt;

&lt;p&gt;A triage tool has one job it must never get wrong: it must not hide a real alert. So this week I went through every feature with one question: &lt;strong&gt;where can depquiet say "you're protected" or "this doesn't matter" when that isn't true?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I found 10 places. All are fixed in v0.40.4. Here they are, because if you build security tooling, you probably have some of the same.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. &lt;code&gt;--fail-on high&lt;/code&gt; let every Python alert through
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;pip-audit&lt;/code&gt; and &lt;code&gt;uv audit&lt;/code&gt; report no severity. depquiet filled the gap with a placeholder, &lt;code&gt;moderate&lt;/code&gt;, and then compared that placeholder against &lt;code&gt;--fail-on high&lt;/code&gt; as if a scanner had measured it. On a real project (pallets/flask), two ACTION alerts: exit 1 without the flag, &lt;strong&gt;exit 0 with &lt;code&gt;--fail-on high&lt;/code&gt;&lt;/strong&gt;. And the README recommended &lt;code&gt;--fail-on high&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Now an alert with no severity counts as meeting any threshold, with a note on stderr.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. The same placeholder was shown everywhere
&lt;/h2&gt;

&lt;p&gt;Even after the gate fix, "moderate" still appeared in the terminal, the Job Summary, the HTML report, the JSON, GitHub annotations, SARIF and the exported SBOM's CycloneDX ratings. SARIF marked those alerts as &lt;code&gt;warning&lt;/code&gt;, so code scanning merge protection set to block on errors let them through.&lt;/p&gt;

&lt;p&gt;Now it says &lt;code&gt;unknown&lt;/code&gt; everywhere, and an ACTION alert with no severity is a SARIF &lt;code&gt;error&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. &lt;code&gt;--fix&lt;/code&gt; "fixed" vulnerabilities by installing into the wrong environment
&lt;/h2&gt;

&lt;p&gt;In a uv project scanned with pip-audit, &lt;code&gt;--fix&lt;/code&gt; ran &lt;code&gt;pip install pkg==fix&lt;/code&gt; &lt;strong&gt;with depquiet's own interpreter&lt;/strong&gt;. The project's &lt;code&gt;uv.lock&lt;/code&gt; did not change, and the report said ✅ Fixed.&lt;/p&gt;

&lt;p&gt;Now it runs &lt;code&gt;uv lock --upgrade-package&lt;/code&gt; and says what blocks the fix when uv refuses. Python projects without a lockfile are never pip-installed; you get the requirement to raise instead.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. &lt;code&gt;--license&lt;/code&gt; checked depquiet's environment, not your project
&lt;/h2&gt;

&lt;p&gt;For Python, the license scan listed what &lt;code&gt;pip list&lt;/code&gt; saw where depquiet runs. On flask it reported &lt;strong&gt;187 packages&lt;/strong&gt;, including playwright, pytest and depquiet itself. A GPL dependency of your project that was not installed next to depquiet was never read, and the check could PASS.&lt;/p&gt;

&lt;p&gt;Now it reads your lockfile (78 packages on flask, matching its &lt;code&gt;uv.lock&lt;/code&gt;) and each license from your own virtualenv or PyPI for that exact version. An unread license is UNKNOWN and fails.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. &lt;code&gt;--kev&lt;/code&gt; never matched uv audit findings
&lt;/h2&gt;

&lt;p&gt;The CISA KEV catalog lists CVE ids. uv audit names advisories by GHSA id and pip-audit by PYSEC or GHSA, with the CVE as an alias, and depquiet dropped the aliases. So an actively exploited vulnerability in a dev-only package was never escalated.&lt;/p&gt;

&lt;p&gt;Now aliases are kept and KEV matches any of them.&lt;/p&gt;

&lt;h2&gt;
  
  
  6. A comment turned a policy rule into "filter everything"
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;action&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;filter&lt;/span&gt;
&lt;span class="na"&gt;match&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;severity&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s"&gt;low&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;info&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;  &lt;span class="c1"&gt;# noise only
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The trailing comment broke the list, the severity condition was dropped, and the rule filtered a &lt;strong&gt;critical alert with EPSS 0.9&lt;/strong&gt;. The same happened with a typo (&lt;code&gt;severty:&lt;/code&gt;), an unreadable &lt;code&gt;epss_below&lt;/code&gt;, and &lt;code&gt;severity: medium&lt;/code&gt;, the value my own README documented (internally it is &lt;code&gt;moderate&lt;/code&gt;).&lt;/p&gt;

&lt;p&gt;Now comments are stripped, &lt;code&gt;medium&lt;/code&gt; means &lt;code&gt;moderate&lt;/code&gt;, and a rule with anything unreadable is skipped with a warning instead of widening.&lt;/p&gt;

&lt;h2&gt;
  
  
  7. Temporary suppressions became permanent
&lt;/h2&gt;

&lt;p&gt;In &lt;code&gt;.depquiet-ignore&lt;/code&gt;, &lt;code&gt;expires: 2025-06-01  # temp&lt;/code&gt;, &lt;code&gt;2025/06/01&lt;/code&gt; or &lt;code&gt;2025-13-01&lt;/code&gt; was read as "no expiry". Now an unreadable date counts as expired.&lt;/p&gt;

&lt;h2&gt;
  
  
  8. &lt;code&gt;.depquiet.yaml&lt;/code&gt; slips weakened the scan
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;kev: true  # exploited&lt;/code&gt; turned KEV off. &lt;code&gt;always_flag: [lodash]  # core&lt;/code&gt; left lodash unprotected. &lt;code&gt;epss_threshold: 5&lt;/code&gt; (meant as 5%) was accepted, which filters every alert with an EPSS score. Now comments are stripped, EPSS must be between 0 and 1, and unknown keys are reported.&lt;/p&gt;

&lt;h2&gt;
  
  
  9. Fix versions from the wrong release line
&lt;/h2&gt;

&lt;p&gt;Scanners list every release line that has the fix (&lt;code&gt;0.3.81, 1.2.22&lt;/code&gt;). depquiet took the first one listed, which could be older than what you have installed. Now it takes the nearest fix above your version.&lt;/p&gt;

&lt;h2&gt;
  
  
  10. The PR comment cleanup deleted human comments
&lt;/h2&gt;

&lt;p&gt;The GitHub Action removed any PR comment starting with "## 🔍 depquiet", whoever wrote it. Now it only removes its own.&lt;/p&gt;

&lt;h2&gt;
  
  
  And one number I had to correct
&lt;/h2&gt;

&lt;p&gt;Two days ago I published that 54% of the fixes scanners suggest can't be installed. That was an upper bound: my first run checked only one fix per package. The exact per-alert figure, on 18 public uv projects, is &lt;strong&gt;502 of 991 (51%)&lt;/strong&gt;. The more useful finding came with it: in &lt;strong&gt;58 of the 72 blocked upgrades (81%)&lt;/strong&gt;, the blocker is a pin in the project's own &lt;code&gt;pyproject.toml&lt;/code&gt;. "Update to X" usually really means "widen your own pin". &lt;a href="https://github.com/samuelrojas-dev/depquiet/tree/main/benchmarks/fixcheck_study" rel="noopener noreferrer"&gt;Data, script and every resolver message&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  The pattern
&lt;/h2&gt;

&lt;p&gt;Almost every bug had the same shape: &lt;strong&gt;a missing or unreadable value was replaced by a default that sounded safe&lt;/strong&gt;. "No severity" became "moderate". "Unreadable date" became "no expiry". "Unknown key" became "no condition". "Not installed here" became "not a dependency".&lt;/p&gt;

&lt;p&gt;The fix was the same each time: when the tool doesn't know, it has to say so, and treat "unknown" as the risky case, never the safe one.&lt;/p&gt;

&lt;p&gt;If you build security tooling, it's worth grepping for your defaults.&lt;/p&gt;




&lt;p&gt;&lt;code&gt;pip install depquiet&lt;/code&gt;, or the GitHub Action &lt;code&gt;samuelrojas-dev/depquiet@v0&lt;/code&gt;. Issues and disagreements welcome: &lt;a href="https://github.com/samuelrojas-dev/depquiet" rel="noopener noreferrer"&gt;github.com/samuelrojas-dev/depquiet&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>security</category>
      <category>python</category>
      <category>opensource</category>
      <category>devops</category>
    </item>
  </channel>
</rss>
