Add tests for two critical features identified by code review:
1. 10KB Safety Limit Test:
- Verify DISABLED_TOOLS environment variable is truncated at 10KB
- Test with 15KB input to ensure truncation works
- Confirm first tools are parsed, last tools are excluded
- Prevents DoS attacks from massive environment variables
2. Security Information Disclosure Test:
- Verify error messages only reveal attempted tool name
- Ensure full list of disabled tools is NOT leaked
- Critical security test to prevent configuration disclosure
- Tests defense against information leakage attacks
Test Coverage:
- Total tests: 47 (up from 45)
- Both tests passing
- Addresses critical gaps from code review
Files Modified:
- tests/unit/mcp/disabled-tools-additional.test.ts
Conceived by Romuald Członkowski - https://www.aiadvisors.pl/en🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>