Skip to content

feat(enrichment): SPDX license policy analyzer (deps.dev)#1496

Merged
JSONbored merged 1 commit into
mainfrom
feat/enrichment-license
Jun 26, 2026
Merged

feat(enrichment): SPDX license policy analyzer (deps.dev)#1496
JSONbored merged 1 commit into
mainfrom
feat/enrichment-license

Conversation

@JSONbored

Copy link
Copy Markdown
Owner

Third analyzer behind the REES /v1/enrich contract (#1473). Resolves each added/upgraded dependency's SPDX license via deps.dev (free, no key; npm/PyPI/Go) and flags copyleft (verify compatibility) or unknown licenses; permissive ones aren't flagged, failed lookups are skipped. Reuses extractDependencyChanges. 4 new node:test units (16 total) + a live deps.dev check. Closes #1475.

Third analyzer behind the REES /v1/enrich contract. For each dependency a PR adds/upgrades,
resolves its SPDX license via deps.dev (free, no key; npm/PyPI/Go) and flags copyleft
(GPL/AGPL/LGPL/MPL/EPL/… — verify compatibility with a permissive project) or unresolved/
unknown licenses. Permissive licenses are not flagged; a failed lookup is skipped rather than
false-flagged. Reuses the shipped extractDependencyChanges extractor. 4 new node:test units
(16 total) + a live deps.dev check.

Closes #1475
@JSONbored JSONbored merged commit 478b68c into main Jun 26, 2026
2 checks passed
@dosubot dosubot Bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Jun 26, 2026
@JSONbored JSONbored deleted the feat/enrichment-license branch June 26, 2026 12:40
@superagent-security

Copy link
Copy Markdown

Superagent didn't find any vulnerabilities or security issues in this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(enrichment): SPDX license policy analyzer

1 participant