Files
mercadodevida/work/artifacts/F-103/security.json
2026-08-21 07:55:18 +02:00

14 lines
632 B
JSON

{
"feature_id": "F-103",
"agent": "security",
"verdict": "APPROVED",
"summary": "New AI and category endpoints require admin role; inputs bounded; generated HTML sanitized before storage/render; no new secret exposure.",
"evidence": [
"POST /categories/:id/generate-seo gated by authenticate + requireRole(admin)",
"bgColor/textColor limited to 20 chars, description to 4000",
"aiTextToHtml strips script/style/iframe/on* handlers and javascript: URLs; storefront formatRichText mirrors it",
"Orders search uses parameterized SQL with LEFT JOIN identity_users"
],
"timestamp": "2026-08-21T05:55:30Z"
}