Pattern Catalog, page 15
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
- Local data includes metadata (timestamp, source)ab-001890 · mobile-offline-storageProlow
- Critical app data is persisted across app lifecycleab-001873 · mobile-offline-storageProcritical
- Database queries function without network connectivityab-001874 · mobile-offline-storageProcritical
- App gracefully restores state from storage on launchab-001875 · mobile-offline-storageProhigh
- App uses AsyncStorage/MMKV or equivalent for local persistenceab-001872 · mobile-offline-storageProcritical
- Navigation event listeners properly cleanup on unmountab-001871 · mobile-navigation-linkingProlow
- Route parameters are serialized safely and not vulnerable to injectionab-001870 · mobile-navigation-linkingPromedium
- Navigation state persists across app backgroundingab-001869 · mobile-navigation-linkingPromedium
- Back button behavior is correct for the platformab-001861 · mobile-navigation-linkingProhigh
- Navigation handles both cold-start and warm deep linksab-001863 · mobile-navigation-linkingPromedium
- Redirects for deprecated routes handled gracefullyab-001867 · mobile-navigation-linkingProlow
- Modal navigation properly overlays root navigationab-001862 · mobile-navigation-linkingPromedium
- Navigation history maintains correct screen orderab-001866 · mobile-navigation-linkingProlow
- Navigation prevents navigating back to initial/splash screenab-001864 · mobile-navigation-linkingPromedium
- Animated navigation transitions smooth and not jankyab-001868 · mobile-navigation-linkingProlow
- Bottom tab navigator maintains independent stacks per tabab-001865 · mobile-navigation-linkingPromedium
- React Navigation is properly initializedab-001852 · mobile-navigation-linkingProcritical
- All navigable screens are properly registered in navigation stack/tab/drawer definitionsab-001853 · mobile-navigation-linkingProhigh
- Navigation stack hierarchy is logically organizedab-001854 · mobile-navigation-linkingProhigh
- Navigation state is properly managed at the rootab-001855 · mobile-navigation-linkingPromedium
- App Links are properly configured for Androidab-001860 · mobile-navigation-linkingProhigh
- Deep links are defined for all primary linkable screensab-001856 · mobile-navigation-linkingProcritical
- Deep link parameters are validated before useab-001858 · mobile-navigation-linkingProcritical
- Deep link URL patterns are correctly mapped to screensab-001857 · mobile-navigation-linkingProcritical
- Universal Links are properly configured for iOSab-001859 · mobile-navigation-linkingProhigh
- SSE or Streamable HTTP transport implemented correctly if offeredab-001835 · mcp-serverPromedium
- Implements initialize method and returns capabilitiesab-001836 · mcp-serverProcritical
- JSON-RPC 2.0 message format is correctab-001833 · mcp-serverProcritical
- Handles notifications without sending a responseab-001838 · mcp-serverProlow
- Responds to ping requestsab-001839 · mcp-serverProlow
- Stdio transport reads stdin, writes stdout, no console.log pollutionab-001834 · mcp-serverProcritical
- Declares protocolVersion and handles version mismatchab-001837 · mcp-serverProhigh
- Tools have JSON Schema inputSchema with types, required fields, and descriptionsab-001825 · mcp-serverProcritical
- Prompts have names, descriptions, and argument schemasab-001829 · mcp-serverPromedium
- Resources use valid URI templates with mimeType setab-001828 · mcp-serverProhigh
- Tools return proper content types (text, image, resource)ab-001830 · mcp-serverProlow
- README shows how to connect to the serverab-001832 · mcp-serverProinfo
- Tool annotations (readOnlyHint, destructiveHint, openWorldHint) are setab-001831 · mcp-serverProlow
- Each tool has a description covering what it does, when to use it, and side effectsab-001827 · mcp-serverProhigh
- Tool names follow verb_noun or verb-noun convention with no collisionsab-001826 · mcp-serverProhigh
- Capabilities object accurately matches implementationab-001846 · mcp-serverProhigh
- File system operations are restricted to a declared scopeab-001849 · mcp-serverProhigh
- Tool arguments are validated against inputSchema before executionab-001847 · mcp-serverProcritical
- Uses notifications/message for logging, not console.logab-001851 · mcp-serverProlow
- Tool responses do not echo secrets or credentialsab-001848 · mcp-serverProhigh
- Expensive operations have resource limitsab-001850 · mcp-serverPromedium
- SIGINT and SIGTERM handled for graceful shutdownab-001845 · mcp-serverPromedium
- Invalid JSON and malformed parameters return InvalidParamsab-001843 · mcp-serverProhigh
- Unknown methods return -32601 Method not foundab-001842 · mcp-serverProhigh
- JSON-RPC error codes are used correctlyab-001840 · mcp-serverProhigh