Pattern Catalog, page 48
The AI-Built Software Pattern Catalog — 2,557 active patterns across 119 bundles. Each pattern describes a specific failure mode in AI-built software, with citation against CWE, OWASP, WCAG, NIST, and other standards. Detection criteria ship inside the audits (free for Stack Scan patterns, Pro for the rest); the published definitions, rationale, and remediation are licensed CC-BY-4.0.
2,557 / 2,557
- Public asset references exist on diskab-000041 · ai-slop-hallucinationsPromedium
- No hardcoded JSON fixture files loaded into handlersab-000258 · ai-slop-half-finishedProhigh
- No in-memory data stores used as production databasesab-000256 · ai-slop-half-finishedProcritical
- No hardcoded fake data returned from API handlersab-000255 · ai-slop-half-finishedProcritical
- No mock libraries imported in production codeab-000257 · ai-slop-half-finishedProhigh
- No stub return values in non-trivial handlersab-000259 · ai-slop-half-finishedPromedium
- No dev-only auth bypass patternsab-000265 · ai-slop-half-finishedProhigh
- Critical handlers are not empty or return-onlyab-000266 · ai-slop-half-finishedProhigh
- No `if (false)` / `if (true)` debug blocksab-000268 · ai-slop-half-finishedPromedium
- Explicit 501 Not Implemented responses are justifiedab-000269 · ai-slop-half-finishedProlow
- No `throw new Error("not implemented")` in production codeab-000267 · ai-slop-half-finishedPromedium
- No fallback admin credentials in authentication codeab-000260 · ai-slop-half-finishedProcritical
- No hardcoded localhost URLs in non-config source filesab-000264 · ai-slop-half-finishedProlow
- No hardcoded test users seeded at production startupab-000261 · ai-slop-half-finishedProhigh
- No hardcoded user IDs in handler logicab-000262 · ai-slop-half-finishedPromedium
- No uninterpolated template variables in outputab-000263 · ai-slop-half-finishedPromedium
- No debug routes active in productionab-000270 · ai-slop-half-finishedPromedium
- No dev-only feature flags hardcoded to trueab-000271 · ai-slop-half-finishedProlow
- No "Coming Soon" buttons without backing implementationab-000274 · ai-slop-half-finishedProinfo
- `.env.example` does not contain placeholder values in production templatesab-000272 · ai-slop-half-finishedProlow
- No hardcoded `process.env.NODE_ENV === 'development'` blocks with empty elseab-000273 · ai-slop-half-finishedProlow
- Email send routes have per-recipient rate limitingab-000242 · ai-slop-cost-bombsProhigh
- External API calls have an explicit timeoutab-000245 · ai-slop-cost-bombsProlow
- External API calls inside loops use Promise.all batchingab-000244 · ai-slop-cost-bombsProhigh
- SMS send routes are rate-limitedab-000243 · ai-slop-cost-bombsProhigh
- Database list queries have LIMIT and paginationab-000237 · ai-slop-cost-bombsProcritical
- File upload handlers enforce a maximum file sizeab-000238 · ai-slop-cost-bombsProcritical
- Image processing has output dimension limitsab-000239 · ai-slop-cost-bombsProhigh
- External API calls inside loops are batched or rate-pacedab-000241 · ai-slop-cost-bombsProhigh
- PDF generation has page count limitsab-000240 · ai-slop-cost-bombsPromedium
- Background jobs have explicit retry capsab-000247 · ai-slop-cost-bombsProhigh
- Cron jobs have execution-time limitsab-000246 · ai-slop-cost-bombsPromedium
- User-triggered code paths have infinite-loop guardsab-000249 · ai-slop-cost-bombsPromedium
- Background queues have a dead-letter or error-handling pathab-000250 · ai-slop-cost-bombsProlow
- Webhook handlers are idempotentab-000248 · ai-slop-cost-bombsProcritical
- Expensive operations are cached or marked as fresh-requiredab-000251 · ai-slop-cost-bombsPromedium
- GET handlers consider stale-while-revalidate cachingab-000254 · ai-slop-cost-bombsProinfo
- Third-party SDK clients are constructed once (singleton)ab-000253 · ai-slop-cost-bombsProlow
- Webhook handlers verify the signatureab-000252 · ai-slop-cost-bombsProhigh
- At most one component library familyab-000222 · ai-slop-code-driftPromedium
- At most one CSS approach dominatesab-000223 · ai-slop-code-driftPromedium
- At most one form libraryab-000220 · ai-slop-code-driftProhigh
- At most one icon libraryab-000224 · ai-slop-code-driftProlow
- At most one global state managerab-000221 · ai-slop-code-driftProhigh
- At most one date libraryab-000229 · ai-slop-code-driftPromedium
- At most one HTTP clientab-000225 · ai-slop-code-driftProhigh
- At most one client-side routerab-000227 · ai-slop-code-driftProhigh
- At most one unit test frameworkab-000228 · ai-slop-code-driftPromedium
- At most one toast/notification libraryab-000230 · ai-slop-code-driftProlow
- At most one validation libraryab-000226 · ai-slop-code-driftProhigh