OWASP / OWASP/OpenCRE

Improve OpenCRE Chat substantially by using all relevant resources, instead of just one

Open
#962 2 comments 0 reactions 1 assignee View on GitHub

@northdpole is already working on this.

Since Jul 8, 2026.

Dominant language
Python
Stars
180
Forks
137
Avg merge
3d 23h
Merged PRs (30d)
21

Description

Status

Acknowledged Yes — thanks @robvanderveer for filing and for the clear examples
Scheduled Yes — planned after the GSoC/LLM ETL ingestion pipeline is ready
Blocked Yes — depends on completion of the cheat-sheet LLM ETL pipeline (see Dependencies)

Target timeline: late August / September 2026


Scope

Improve OpenCRE Chat so it leverages the full relevant knowledge base — multiple matching resources, not just the single best-scoring one — once those resources are reliably ingested and linked via the new pipeline.

Today, chat retrieves one resource (the best-matching hit) even when several resources could better answer the question. Selecting and surfacing more relevant resources should increase accuracy, richness, and give users more links to explore.

Key design question (from original report): finding the right break-off point for similarity scores when including additional resources.


Original report (@robvanderveer)

Currently, openCRE chat retrieves one resource: the best matching one, while there may be several resources to help answer the question - potentially ones with much better or more extensive information. Selecting more relevant resources would definitely increase accuracy, richness, and also it would allow users to have more resource links to go to for more information.

The trick is to find a break-off point when it comes to the calculated similarity.

Example:
"how to pick the right people to join in threat modeling"
In my session this selected the Cheat sheets. Great resource, but not with the answer to the question.

When I do: "how to pick the right people to join in threat modeling according to SAMM"
It will select SAMM and tell me "Product owners, architects, security champions, and security testers. At Maturity Level 1, the goal is to expose teams and stakeholders to threat modeling to increase security awareness and create a shared vision for the system's security."


Dependencies

This issue is blocked until the GSoC/LLM ETL ingestion pipeline is ready:

Chat improvements should proceed once ingested cheat-sheet (and related) resources are available in the graph with reliable CRE links.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.