You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CLAUDE.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,12 +4,12 @@ Guidance for Claude Code when working with this repository.
4
4
5
5
## Project Overview
6
6
7
-
**CyberChef MCP Server** (v1.7.3) - Fork of GCHQ CyberChef wrapping the Node.js API into an MCP server. Exposes 300+ operations (encryption, encoding, compression, forensics) as AI assistant tools.
7
+
**CyberChef MCP Server** (v1.8.0) - Fork of GCHQ CyberChef wrapping the Node.js API into an MCP server. Exposes 300+ operations (encryption, encoding, compression, forensics) as AI assistant tools.
8
8
9
9
| Metric | Value |
10
10
|--------|-------|
11
-
| MCP Version | 1.7.3|
12
-
| Tests |493 (100% passing) |
11
+
| MCP Version | 1.8.0|
12
+
| Tests |563 (100% passing) |
13
13
| Coverage | 74.97% lines, 90.39% functions |
14
14
15
15
**Focus:** MCP server (`src/node/mcp-server.mjs`), not the web app.
@@ -38,7 +38,7 @@ npm start # Dev server with hot reload
38
38
npm run build # Production build
39
39
npm run lint # ESLint (zero errors required)
40
40
npm test# Core unit tests
41
-
npm run test:mcp # MCP server tests (493 tests)
41
+
npm run test:mcp # MCP server tests (563 tests)
42
42
npm run test:coverage # Coverage report (thresholds: 70% lines/functions)
43
43
npm run testnodeconsumer # Test CJS/ESM consumers
44
44
```
@@ -131,5 +131,5 @@ git tag -a v1.x.x -F docs/releases/v1.x.x.md && git push origin v1.x.x
Copy file name to clipboardExpand all lines: README.md
+25-11Lines changed: 25 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ This project provides a **Model Context Protocol (MCP)** server interface for **
4
4
5
5
By running this server, you enable AI assistants (like Claude, Cursor AI, and others) to natively utilize CyberChef's extensive library of 463 data manipulation operations—including encryption, encoding, compression, and forensic analysis—as executable tools.
*`cyberchef_cache_stats` / `cyberchef_cache_clear` - Cache inspection and management
58
58
*`cyberchef_quota_info` - Resource quota and usage tracking
59
+
***Migration Tools** (v1.8.0): Comprehensive v2.0.0 preparation and migration assistance
60
+
*`cyberchef_migration_preview` - Analyze recipes for v2.0.0 compatibility with two modes:
61
+
-`analyze` mode: Check recipes for breaking changes with detailed diagnostics
62
+
-`transform` mode: Automatically convert recipes to v2.0.0 format
63
+
*`cyberchef_deprecation_stats` - Track deprecated API usage statistics
64
+
- Shows deprecation warnings triggered in current session
65
+
- Reports session duration, suppression status, and v2 compatibility mode
66
+
- Lists all 8 deprecation codes (DEP001-DEP008) with details
59
67
60
68
### Technical Highlights
61
69
***Dockerized**: Runs as a lightweight, self-contained Docker container based on Chainguard distroless Node.js 22 (~90MB compressed, 70% smaller attack surface than traditional images).
@@ -68,7 +76,7 @@ The server exposes CyberChef operations as MCP tools:
68
76
***Advanced Features** (v1.7.0): Enterprise-grade capabilities with batch processing (parallel/sequential execution of up to 100 operations), privacy-first telemetry collection (disabled by default, no input/output data captured), sliding window rate limiting for resource protection, enhanced caching with inspection tools, and resource quota tracking (concurrent operations, data sizes). All features are configurable via environment variables with secure defaults. See [Release Notes](docs/releases/v1.7.0.md) for details.
69
77
***Enhanced Observability** (v1.5.0): Structured JSON logging with Pino for production monitoring, comprehensive error handling with actionable recovery suggestions, automatic retry logic with exponential backoff, request correlation with UUID tracking, circuit breaker pattern for cascading failure prevention, and streaming infrastructure for progressive results on large operations. See [Release Notes](docs/releases/v1.5.0.md) for details.
70
78
***Performance Optimized** (v1.4.0): LRU cache for operation results (100MB default), automatic streaming for large inputs (10MB+ threshold), configurable resource limits (100MB max input, 30s timeout), memory monitoring, and comprehensive benchmark suite. See [Performance Tuning Guide](docs/architecture/performance-tuning.md) for configuration options.
71
-
***Upstream Sync Automation** (v1.3.0): Automated monitoring of upstream CyberChef releases every 6 hours, one-click synchronization workflow, comprehensive validation test suite with 493 tests, and emergency rollback mechanism.
79
+
***Upstream Sync Automation** (v1.3.0): Automated monitoring of upstream CyberChef releases every 6 hours, one-click synchronization workflow, comprehensive validation test suite with 563 tests, and emergency rollback mechanism.
72
80
***Security Hardened** (v1.4.5+): Chainguard distroless base image with zero-CVE baseline, non-root execution (UID 65532), automated Trivy vulnerability scanning with build-fail thresholds, dual SBOM strategy (Docker Scout attestations + CycloneDX), read-only filesystem support, SLSA Build Level 3 provenance, and 7-day SLA for critical CVE patches. Fixed 11 of 12 code scanning vulnerabilities including critical cryptographic randomness weakness and 7 ReDoS vulnerabilities. See [Security Policy](SECURITY.md) and [Security Fixes Report](docs/security/SECURITY_FIX_REPORT.md) for details.
73
81
***Production Ready**: Comprehensive CI/CD with CodeQL v4, automated testing, and dual-registry container publishing (Docker Hub + GHCR) with complete supply chain attestations.
74
82
@@ -101,17 +109,17 @@ For environments without direct GHCR access, download the pre-built Docker image
101
109
1.**Download the tarball** (approximately 90MB compressed):
0 commit comments