feat(F-103): completed feature
This commit is contained in:
13
work/artifacts/F-103/security.json
Normal file
13
work/artifacts/F-103/security.json
Normal 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"
|
||||
}
|
||||
Reference in New Issue
Block a user