audit_security
Scans every package in a Magento project's composer.lock against known security advisories with composer audit, reporting scanned=false and a reason if the check cannot run.
Instructions
Checks every installed package in the given Magento project's composer.lock — core Magento, third-party vendor/ extensions, dev dependencies, not just custom app/code — against known security advisories via composer audit. Returns scanned=false with a reason (e.g. no composer.lock, composer not found) rather than silently reporting zero advisories when the check never ran.
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": {
"path": "<path>"
},
"name": "audit_security"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Filesystem path to the Magento project root (holds composer.json). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||