Skip to content

feat!(detector): replace go-cti with vuls2#2530

Draft
MaineK00n wants to merge 1 commit intomasterfrom
MaineK00n/go-cti
Draft

feat!(detector): replace go-cti with vuls2#2530
MaineK00n wants to merge 1 commit intomasterfrom
MaineK00n/go-cti

Conversation

@MaineK00n
Copy link
Copy Markdown
Collaborator

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

  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

How Has This Been Tested?

by unit test

Checklist:

You don't have to satisfy all of the following.

  • Write tests
  • Write documentation
  • Check that there aren't other open pull requests for the same issue/feature
  • Format your source code by make fmt
  • Pass the test by make test
  • Provide verification config / commands
  • Enable "Allow edits from maintainers" for this PR
  • Update the messages below

Is this ready for review?: YES

Reference

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>
@MaineK00n MaineK00n self-assigned this Apr 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant