feat!(detector): replace go-cti with vuls2#2530
Draft
Conversation
Drop go-cti and the embedded ATT&CK / CAPEC technique dictionary in favor of the new vuls2 attack / capec / cwe datasources. The CTI mapping is rebuilt downstream by walking each VulnInfo's CWE IDs to RelatedAttackPatterns -> CAPEC.RelatedAttacks, and the resolved techniques and CAPEC entries are emitted under VulnInfo.CtiDetails so that reporter / TUI no longer needs a static lookup table. The [cti] config section is removed (breaking) but VulnInfo.Ctis is preserved for backward compat with existing report consumers. Also drop the lingering go-exploitdb entry from dependabot.yml left behind by the earlier vuls2 migration. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
If this Pull Request is work in progress, Add a prefix of “[WIP]” in the title.
What did you implement:
Drop go-cti and the embedded ATT&CK / CAPEC technique dictionary in favor of the new vuls2 attack / capec / cwe datasources.
The CTI mapping is rebuilt downstream by walking each VulnInfo's CWE IDs to RelatedAttackPatterns -> CAPEC.RelatedAttacks, and the resolved techniques and CAPEC entries are emitted under VulnInfo.CtiDetails so that reporter / TUI no longer needs a static lookup table.
The [cti] config section is removed (breaking) but VulnInfo.Ctis is preserved for backward compat with existing report consumers.
Also drop the lingering go-exploitdb entry from dependabot.yml left behind by the earlier vuls2 migration.
Type of change
How Has This Been Tested?
by unit test
Checklist:
You don't have to satisfy all of the following.
make fmtmake testIs this ready for review?: YES
Reference