owasp_llm_classify
Map security observations to OWASP LLM Top 10 categories using keyword and regex pattern matching. Returns top matching categories with evidence and confidence scores.
Instructions
Map a finding or observation to OWASP LLM Top 10 (2025) categories.
Pure rule-based: keyword and regex patterns with weights per category.
Returns the top top_n matching categories with the matched evidence
snippets and a confidence score.
Args: observation: Free-form text describing a finding, scan result, bug report, threat model entry, or security observation. top_n: Number of matches to return (default 3).
Returns:
ClassifyReport with ranked matches. If nothing matches, unmatched
is True and matches is empty.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top_n | No | ||
| observation | Yes |