Patch Vulnerability
Last updated
Patches an existing AttackForge vulnerability (also called a finding or issue) inside a project. Only the fields supplied in args are changed; omitted fields are left untouched.
A two-step workflow is required:
Call get_args_schema_for_tool(tool="patch_vulnerability") to retrieve the current JSON Schema for args.
Build args to match that schema and call this tool.
The schema requires at minimum a vulnerability id (source: find_vulnerabilities) and a project id (source: find_projects, or the project_ids on the vulnerability returned by find_vulnerabilities). Preconditions: the caller needs Edit access to the target project. Any rich-text field must use the AttackForge richtext format from the richtext_format block. On success the patched vulnerability id is returned.
Go to Users
Select the user you would like to provide access to this tool
Click on Access > MCP
Click on Add Tools
Select the tool patch_vulnerability and click Add
Change the priority of vulnerability X to Critical.
Mark vulnerability X as closed.
Update the steps to reproduce on this finding.
Set the CVE custom field on vulnerability X to CVE-2025-26943.
args
object
Yes
The vulnerability-patch payload. Build it to satisfy get_args_schema_for_tool(tool="patch_vulnerability"). Requires at minimum a vulnerability id and a project id; other keys apply a partial update.
Last updated
{
"id": "656168055d7035a12ade4cb3"
}