17 lines
1013 B
JSON
17 lines
1013 B
JSON
{
|
|
"feature_id": "F-102",
|
|
"agent": "security",
|
|
"stage": "security_gate",
|
|
"verdict": "APPROVED",
|
|
"reviewed_at": "2026-08-21",
|
|
"summary": "No new attack surface. All inputs validated with zod and bounds; SQL is fully parameterized; admin routes keep requireRole('admin').",
|
|
"checks": [
|
|
{ "item": "SQL injection: all new queries (shipping methods insert/patch, catalog) use parameterized placeholders", "ok": true },
|
|
{ "item": "Input validation: numeric bounds on unitWeightKg/minPurchaseQty/maxWeightKg/freeShippingMaxWeightKg/cartWeightKg prevent absurd values and DoS via oversized numbers", "ok": true },
|
|
{ "item": "Authorization: shipping method create/patch remain admin-only; checkout weight calc is server-side", "ok": true },
|
|
{ "item": "Secrets scan of diff: no credentials, tokens or SMTP data introduced", "ok": true },
|
|
{ "item": "Client-side min purchase enforcement is mirrored server-side only as UX; pricing/inventory not bypassed", "ok": true }
|
|
],
|
|
"issues": []
|
|
}
|