Files
MikrotikManager/docs/mcp-native-write-hardening-audit.json
T

54 lines
2.3 KiB
JSON

{
"recordedAt": "2026-10-24T08:53:05.409Z",
"scope": "Read-only static audit; no network or native behavior claims",
"generatedWrites": 97,
"delegated": 11,
"generic": 86,
"genericActions": {
"create": 29,
"update": 31,
"delete": 26
},
"schemaAffectedCreateAliases": 30,
"findings": [
{
"id": "create-caller-id",
"status": "open",
"sources": [
"backend/src/modules/mcp/actions.ts:132",
"backend/src/modules/mcp/resources.ts:114",
"backend/src/modules/mcp/resources.ts:167",
"backend/src/modules/mcp/runtime.ts:194",
"backend/src/modules/mcp/recovery-actions.ts:95"
],
"finding": "CREATE accepts caller ID; PUT ignores it, verifier and inverse prefer it over assigned ID. Existing object can be selected instead of created object.",
"next": "Reject caller IDs in CREATE schema/validator/dispatch/legacy recovery; verify assigned ID only; bump generated CREATE versions."
},
{
"id": "generic-conservation",
"status": "open",
"finding": "Generic verifier checks selected row requested fields or absence; does not prove newly assigned ID or conservation of existing rows.",
"next": "Use per-step before/after snapshots to verify one added/updated/deleted object, unique IDs and preservation of other projected fields."
},
{
"id": "prefix-consistency",
"status": "open",
"finding": "Per-step fresh baseline may accept external inter-step drift; initial snapshot alone cannot represent prior writes.",
"next": "Maintain verified expected prefix and dependency snapshots before each intent and native dispatch."
},
{
"id": "ordered-catalogs",
"status": "open",
"finding": "Generic configurationRows sorts firewall and routing_rule rows by ID, losing native ordering.",
"next": "Version ordered normalization and check requested position/order preservation."
},
{
"id": "projection-source-limits",
"status": "open",
"finding": "Allowlisted snapshots do not seal all opaque fields or endpoint epoch. Certificate UPDATE lacks full dependency closure; IPsec peer CREATE lacks exact profile parent.",
"next": "Add private whole-source/dependency contracts and native acceptance; do not claim these follow from projected conservation."
}
],
"fullPlanComplete": false
}