feat(F-103): completed feature

This commit is contained in:
chattie
2026-08-21 07:55:18 +02:00
parent 5177a851aa
commit c07776822d
40 changed files with 886 additions and 156 deletions

View File

@@ -0,0 +1,13 @@
{
"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"
}