Back to Home
dswbx icon

jsonv-ts

Verified Safe

by dswbx

Overview

Provides a type-safe JSON Schema builder and validator in TypeScript, with integrated Hono middleware for OpenAPI generation and request validation, and an MCP (Model Context Protocol) server/client for agent-based interactions.

Installation

Run Command
bun run src/mcp/examples/test.ts

Security Notes

The library primarily enhances security through robust JSON schema validation and type-safety. No direct use of `eval` or obvious code injection vectors were found within the MCP-related source code. The `RegExp` constructor is used for pattern validation, which is a potential ReDoS vector if patterns are derived from unsanitized user input, but in typical usage, patterns are developer-defined in the schema. Logging mechanisms could potentially expose sensitive data if not configured appropriately at the application layer.

Similar Servers

Stats

Interest Score41
Security Score9
Cost ClassLow
Avg Tokens500
Stars22
Forks1
Last Update2025-12-02

Tags

JSON SchemaValidationTypeScriptHonoOpenAPIMCPAPI