functional-ts-ja
Pass
Audited by Gen Agent Trust Hub on Apr 8, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill defines architectural patterns for TypeScript that enhance code reliability and security through functional programming principles.
- [SAFE]: It includes a specialized Sensitive wrapper designed to prevent Personally Identifiable Information (PII) from being leaked through serialization (e.g., JSON.stringify) or logging.
- [SAFE]: The instructions explicitly advocate for boundary defense, requiring runtime validation of all external data inputs (API, DB, Files) using well-established validation libraries like Zod, Valibot, and ArkType.
- [SAFE]: It promotes Railway Oriented Programming using Result types (Neverthrow, Byethrow, etc.), ensuring that errors are handled explicitly and exhaustively, which reduces risks associated with unhandled exceptions.
- [SAFE]: The guide discourages unsafe TypeScript practices like type assertions (as), which can hide implementation errors and lead to type-confusion vulnerabilities.
Audit Metadata