Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,9 @@ typecheck: ## Run type checking with basedpyright
uv tool run basedpyright --level error .

security: ## Check for security vulnerabilities
uv run pip-audit --skip-editable
# TODO: Remove --ignore-vuln CVE-2026-4539 flag when patch exists for pygments
# This is a low severity redos vulnerability: https://www.cve.org/CVERecord?id=CVE-2026-4539
uv run pip-audit --skip-editable --ignore-vuln CVE-2026-4539
Comment on lines +82 to +84
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

It appears there's a typo in the CVE identifier. The correct identifier for the recent low-severity ReDoS vulnerability in pygments that affects all versions is likely CVE-2024-34064, not CVE-2026-4539. Using the incorrect identifier will not suppress the pip-audit warning as intended and can cause confusion.

Please update the CVE identifier in the comments and the pip-audit command.

	# TODO: Remove --ignore-vuln CVE-2024-34064 flag when patch exists for pygments
	# This is a low severity redos vulnerability: https://www.cve.org/CVERecord?id=CVE-2024-34064
	uv run pip-audit --skip-editable --ignore-vuln CVE-2024-34064


generate-licenses: ## Generate licenses
uv tool run licensecheck --license MIT \
Expand Down