cwe_info
Get information about a specific weakness (CWE), its related attack patterns (CAPEC) and ATT&CK techniques.
What this tool does
Returns the name and description of a CWE, its type, the related CAPEC attack patterns, the ATT&CK techniques mapped to those attack patterns, and the number of CVEs linked to it, with how many of them are in the CISA KEV and EU KEV catalogs.
When to use this tool
Use this tool when the user asks:
"What is CWE-79?"
"Which attack patterns are related to this weakness?"
"Which ATT&CK techniques are related to this weakness?"
"How often is this weakness exploited in the wild?"
Inputs
cwe_id: CWE identifier (
CWE-79or79).
Outputs
id,name,type,descriptioncapec: related attack patterns, each withidandnameattack: ATT&CK techniques mapped to these attack patterns (active techniques only), each withid,nameandvia(the CAPEC it comes from)cve_count: number of CVEs linked to this CWEcisa_kev_count: how many of these CVEs are in the CISA KEV catalogeu_kev_count: how many of these CVEs are in the EU KEV catalogkev_count: how many of these CVEs are in at least one of the two catalogsurl: link to the CWE on SecDB
LLM usage guidelines
Do not explain a CWE from memory when the user needs the official definition: use this tool.
Do not add
cisa_kev_countandeu_kev_count: a CVE can be in both catalogs. Usekev_countfor the total.Use
attack_infofor the details of an ATT&CK technique.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"cwe_id": "<cwe_id>"
},
"name": "cwe_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwe_id | Yes | CWE identifier (CWE-79 or 79) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | CWE identifier | |
| url | Yes | Link to the CWE on SecDB | |
| name | Yes | CWE name | |
| type | Yes | Type (weakness, category, view) | |
| capec | Yes | ||
| attack | Yes | ||
| cve_count | Yes | CVEs linked to this CWE | |
| kev_count | Yes | Linked CVEs in at least one KEV catalog (CISA or EU) | |
| description | No | Description | |
| eu_kev_count | Yes | Linked CVEs in the EU KEV catalog | |
| cisa_kev_count | Yes | Linked CVEs in the CISA KEV catalog |