Skip to content

chore: drop the unused Microsoft.Bcl.Memory reference (high-severity advisory) - #5

Merged
ybastide merged 1 commit into
mainfrom
chore/drop-unused-bcl-memory
Jul 27, 2026
Merged

chore: drop the unused Microsoft.Bcl.Memory reference (high-severity advisory)#5
ybastide merged 1 commit into
mainfrom
chore/drop-unused-bcl-memory

Conversation

@ybastide

Copy link
Copy Markdown
Collaborator

What

Microsoft.Bcl.Memory 10.0.2 carries GHSA-73j8-2gch-69rq, a high-severity .NET denial of service. Every build of pocketCrawler, which consumes this repo as a submodule, emits NU1903 because of it.

Removed, not bumped

Nothing here uses the package. I grepped for what it actually provides — Base64Url, the System.Buffers.Text surface, the Index/Range and Memory polyfills — and there is no reference anywhere in RobotsTxt. It is a .NET Framework-era polyfill, and both target frameworks (net8.0, net10.0) have that surface in the box. Removing it fixes the advisory outright rather than moving to 10.0.4.

(For the record, this repo has no .NET Framework target left to justify it: RobotsTxt and TestRobotsTxt are net8.0;net10.0, ConsoleApplication is net10.0, and the solution has only Debug|Release Any CPU.)

Verified, not assumed

  • RobotsTxt builds on net8.0 and net10.0 with the reference gone
  • TestRobotsTxt: 149 passed on both frameworks
  • the consuming crawler's suite: 437 passed on both frameworks
  • NU1903 is gone from the crawler's build; the only advisory warnings left there are two OpenTelemetry NU1902s, unrelated to this repo

🤖 Generated with Claude Code

…advisory)

Microsoft.Bcl.Memory 10.0.2 carries GHSA-73j8-2gch-69rq, a high-severity .NET denial of
service, so every build of pocketCrawler - which consumes this as a submodule - emitted
NU1903.

The reference is removed rather than bumped, because nothing here uses it. Grepped for what
the package actually provides (Base64Url, the System.Buffers.Text surface, the Index/Range and
Memory polyfills): no hit anywhere in RobotsTxt. It is a .NET Framework-era polyfill, and both
target frameworks - net8.0 and net10.0 - have that surface in the box.

Verified rather than assumed:
- RobotsTxt builds on net8.0 and net10.0 with the reference gone
- TestRobotsTxt: 149 passed on both frameworks
- the consuming crawler's suite: 437 passed on both frameworks
- NU1903 is gone from the crawler's build; the only advisory warnings left there are the two
  OpenTelemetry NU1902s, which are unrelated to this repo

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@ybastide
ybastide merged commit 5c6a880 into main Jul 27, 2026
1 check passed
@ybastide
ybastide deleted the chore/drop-unused-bcl-memory branch July 27, 2026 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant