Skip to content

Latest commit

 

History

History
978 lines (789 loc) · 27.2 KB

tasks.md

File metadata and controls

978 lines (789 loc) · 27.2 KB

CyberChef MCP Server - Task Tracker

This file is a stale bootstrap-era artefact and is NOT the current task list.

It was last touched in December 2025, when the current version was v1.1.0, and its per-release checklists were never maintained past that point — v1.2.0 through v2.0.0 all shipped without it being updated. Reading it as current state will mislead you.

The live sources are:

It is kept rather than deleted because it records what was originally intended for each release, which is occasionally useful when asking why something was or was not built. Treat every unchecked box below as "unknown", not as "outstanding".

Last Updated: December 2025 (stale — see the notice above) Version at time of writing: v1.1.0 Target Version: v3.0.0

Overview

This document tracks all implementation tasks organized by release version. For detailed feature descriptions, see individual release plans in docs/planning/release-v*.md.


Completed Tasks (v1.0.0 - v1.1.0)

v1.0.0 - Initial Release

  • Run npm install @modelcontextprotocol/sdk zod
  • Add "type": "module" to package.json if not present
  • Imports: Set up imports for SDK, index.mjs, and Config
  • Helper: sanitizeToolName(name): Convert "AES Decrypt" to cyberchef_aes_decrypt
  • Helper: mapArgs(args): Convert CyberChef arg types to Zod types
  • Server Setup: Initialize new Server(...)
  • listTools Handler: Define cyberchef_bake, loop through OperationConfig
  • callTool Handler: Implement bake and individual operation calls
  • Error Handling: Wrap calls in try/catch
  • Create Dockerfile.mcp with node:22-alpine base
  • Create GitHub Action workflow for Docker build
  • Test "To Base64", "Gunzip", multi-step bake

v1.1.0 - Security & Compatibility

  • Fix CWE-116 incomplete string escaping (Utils.mjs, PHPDeserialize.mjs, JSONBeautify.mjs)
  • Fix CWE-79 XSS in BindingsWaiter.mjs
  • Fix CWE-916 insufficient password hash iterations in DeriveEVPKey.mjs
  • Remove vulnerable babel-plugin-transform-builtin-extend
  • Add npm overrides for shelljs, ws, js-yaml, serialize-javascript
  • Update @modelcontextprotocol/sdk to 1.24.3
  • Create serialize-javascript patch for Node.js 22
  • Add Docker image tarball distribution
  • Reorganize documentation structure
  • Update README and CHANGELOG
  • Create Claude Code project guidance (CLAUDE.md)

Phase 1: Foundation (v1.2.0 - v1.4.0)

v1.2.0 - Security Hardening

Target: January 2026 | Effort: L (2 weeks)

Docker Hardened Images (P0)

  • Research DHI availability for Node.js 22
  • Update Dockerfile.mcp with DHI base image
  • Test all operations on hardened image
  • Benchmark image size changes
  • Document migration in release notes

Non-Root User (P0)

  • Create dedicated user/group in Dockerfile
  • Update file permissions for app directory
  • Test server functionality as non-root
  • Verify no permission errors in logs

Security Scanning (P0)

  • Add Trivy scan step to mcp-docker-build.yml
  • Configure severity thresholds (CRITICAL, HIGH fail build)
  • Upload results to GitHub Security tab (SARIF)
  • Add security scan badge to README
  • Create weekly scheduled scan workflow

Read-Only Filesystem (P1)

  • Identify required writable paths
  • Configure read-only filesystem in runtime
  • Add tmpfs mounts for temporary operations
  • Test file-based operations
  • Document filesystem restrictions

SBOM Generation (P2)

  • Add SBOM generation to CI/CD
  • Attach SBOM to GitHub releases
  • Document SBOM location and format

v1.3.0 - Upstream Sync Automation ✅

Target: February 2026 | Actual: December 14, 2025 | Effort: XL (3-4 weeks)

Upstream Monitoring (P0)

  • Research Renovate vs GitHub Actions approach (chose GitHub Actions)
  • Configure upstream monitoring (6-hour checks via cron)
  • Test detection of new releases
  • Configure notification channels (GitHub Issues)
  • Document monitoring architecture (workflow comments + release notes)

Automated Config Regeneration (P0)

  • Create upstream-sync.yml workflow
  • Implement config regeneration step (npx grunt configTests)
  • Add validation step for breaking changes (MCP test suite)
  • Configure git commit automation
  • Test with mock upstream changes

MCP Tool Validation Suite (P0)

  • Set up Vitest test framework
  • Create MCP client test harness (validation.test.mjs)
  • Implement tool listing validation (465 tools)
  • Add 50+ operation execution tests
  • Create schema regression tests (baseline.json)
  • Add breaking change detection
  • Integrate into CI/CD pipeline (upstream-sync workflow)
  • Generate coverage reports

Rollback Mechanism (P1)

  • Define rollback criteria (documented in workflow)
  • Implement git revert automation (rollback.yml workflow)
  • Create notification system (PR creation)
  • Test rollback mechanism (full test suite execution)
  • Document rollback procedures (v1.3.0 release notes)

Upstream Merge Workflow (P1)

  • Document merge workflow (upstream-sync.yml comments)
  • Create merge conflict resolution guide (workflow comments + issue notifications)
  • Implement automated merge attempts
  • Add conflict detection (merge status checks)
  • Create manual intervention procedures (issue comments with instructions)

v1.4.0 - Performance Optimization

Target: March 2026 | Effort: L (2 weeks)

Streaming API (P0)

  • Identify streaming-capable operations
  • Implement chunked processing
  • Configure high-water marks
  • Handle backpressure correctly
  • Add streaming tests with large inputs

Worker Threads (P1)

  • Identify CPU-intensive operations
  • Create worker pool (4 workers default)
  • Implement task queue with Piscina
  • Add timeout handling (30s max)
  • Test with concurrent requests

Memory Management (P0)

  • Implement buffer pooling
  • Add memory monitoring
  • Configure heap size limits
  • Implement LRU cache for operations
  • Add memory leak detection tests

Performance Benchmark Suite (P1)

  • Set up Benchmark.js or Tinybench
  • Create benchmarks for 20+ operations
  • Test various input sizes
  • Add CI/CD integration
  • Create performance regression detection

Resource Limits (P2)

  • Add max request size limit
  • Implement request queue
  • Add timeout for long-running operations
  • Monitor resource usage
  • Add rate limiting hooks

Phase 2: Enhancement (v1.5.0 - v1.7.0)

v1.5.0 - Streaming & Enhanced Errors

Target: April 2026 | Effort: L (2 weeks)

MCP Streaming Protocol (P0)

  • Review MCP streaming specification
  • Implement streaming transport layer
  • Add progress reporting
  • Test with 1GB+ inputs
  • Document streaming usage

Enhanced Error Handling (P0)

  • Define error taxonomy (codes)
  • Create CyberChefMCPError class
  • Add error recovery suggestions
  • Implement error context capture
  • Test error scenarios comprehensively

Structured Logging (P1)

  • Integrate Pino for structured logging
  • Add request ID tracking
  • Log key events
  • Configure log levels
  • Add log aggregation documentation

Error Recovery & Retry (P2)

  • Define retryable vs non-retryable errors
  • Implement exponential backoff
  • Add retry count to logs
  • Test retry scenarios

Progress Reporting (P1)

  • Add progress hooks to operations
  • Implement progress callbacks
  • Send progress via MCP streaming
  • Add progress to logs
  • Test with slow operations

v1.6.0 - Recipe Management

Target: May 2026 | Effort: XL (3-4 weeks)

Recipe Storage (P0)

  • Design recipe schema with validation
  • Implement SQLite storage backend
  • Create CRUD MCP tools
  • Add recipe versioning support
  • Implement recipe search/filtering

Import/Export (P0)

  • Implement JSON export/import
  • Add CyberChef recipe format support
  • Create URL encoding for shareable links
  • Add YAML support
  • Test round-trip (export -> import)

Validation & Testing (P1)

  • Implement recipe validator
  • Add dry-run execution mode
  • Create test case system for recipes
  • Add complexity estimation
  • Implement safety checks

Recipe Library (P1)

  • Create 20+ example recipes
  • Add recipe documentation
  • Implement recipe search
  • Add recipe ratings/popularity
  • Create recipe submission process

Recipe Composition (P2)

  • Support recipe references
  • Implement recipe resolution
  • Detect circular dependencies
  • Add recipe composition docs

v1.7.0 - Advanced Features

Target: June 2026 | Effort: L (2 weeks)

Batch Processing (P0)

  • Implement batch tool
  • Support parallel and sequential modes
  • Add batch size limits (100 max)
  • Implement error handling (partial success)
  • Add progress reporting for batches

Telemetry (P1)

  • Design telemetry schema
  • Implement collection hooks
  • Add opt-out mechanism
  • Create telemetry export tool
  • Add analytics dashboard (optional)

Rate Limiting (P1)

  • Implement sliding window algorithm
  • Add per-client tracking
  • Return 429 with retry-after header
  • Make limits configurable
  • Add rate limit bypass for trusted clients

Result Caching (P2)

  • Implement LRU cache
  • Identify cacheable operations
  • Add cache headers to responses
  • Implement cache invalidation
  • Add cache statistics

Resource Quotas (P2)

  • Implement quota tracking
  • Add quota enforcement
  • Return quota information in responses
  • Add quota reset mechanism

Phase 3: Maturity (v1.8.0 - v2.0.0)

v1.8.0 - Breaking Changes Preparation

Target: July 2026 | Effort: M (1-2 weeks)

Deprecation System (P0)

  • Design deprecation warning system
  • Identify all deprecated APIs
  • Add deprecation warnings to affected code
  • Configure warning suppression
  • Document all deprecations

Breaking Changes Documentation (P0)

  • Document each breaking change in detail
  • Create migration examples for each
  • Add before/after comparisons
  • Include rollback procedures
  • Create FAQ section

Migration Preview Tool (P1)

  • Create migration analysis function
  • Implement recipe transformation
  • Add tool configuration analysis
  • Create detailed migration reports
  • Test with various recipe formats

v2.0.0 Compatibility Mode (P1)

  • Implement compatibility mode flag
  • Add conditional behavior switching
  • Test all operations in both modes
  • Document compatibility mode usage
  • Create compatibility test suite

User Feedback (P2)

  • Create GitHub Discussion template
  • Add feedback prompts to deprecation warnings
  • Aggregate deprecation usage data
  • Review and respond to feedback
  • Adjust v2.0.0 plans based on feedback

v1.9.0 - Pre-v2.0.0 Polish

Target: August 2026 | Effort: M (1-2 weeks)

Migration Scripts (P0)

  • Create recipe migration script
  • Create configuration migration script
  • Add validation commands
  • Test with various input formats
  • Add rollback capability

Migration Documentation (P0)

  • Write migration overview
  • Create step-by-step guides
  • Document all API changes
  • Add code examples
  • Create troubleshooting section
  • Add rollback procedures
  • Review with external users

Migration Test Suite (P0)

  • Create recipe migration tests (50+)
  • Create config migration tests
  • Add semantic preservation tests
  • Test edge cases and errors
  • Add performance regression tests
  • Achieve 95%+ coverage

User Feedback Resolution (P1)

  • Review all GitHub discussions
  • Categorize feedback
  • Prioritize addressable items
  • Implement high-priority fixes
  • Document decisions for deferred items
  • Communicate resolutions

Release Candidate (P1)

  • Create v2.0.0-rc.1 branch
  • Enable v2.0.0 features by default
  • Run full test suite
  • Perform security audit
  • Update version numbers
  • Create pre-release on GitHub

LTS Documentation (P2)

  • Define LTS policy
  • Document support timeline
  • Create backport procedure
  • Communicate to users

v2.0.0 - Major Release

Target: September 2026 | Effort: XL (3-4 weeks)

Core Breaking Changes (P0)

  • Implement new tool naming system
  • Deploy enhanced recipe schema
  • Update error response format
  • Add Zod v4 validation

Configuration & Protocol (P0)

  • Implement unified configuration
  • Update to latest MCP SDK
  • Migrate all settings

Testing (P0)

  • Comprehensive testing
  • Performance benchmarking
  • Security audit
  • External user testing

Documentation (P0)

  • Complete API reference
  • Finalize migration guide
  • Configuration documentation
  • Error code reference
  • Recipe schema documentation
  • Changelog update
  • Release notes

Release (P0)

  • Final security audit
  • Performance benchmarking
  • Release candidate testing
  • Production release
  • Announcement

Phase 4: Expansion (v2.1.0 - v2.3.0)

v2.1.0 - Multi-Modal Support

Target: October 2026 | Effort: L (2 weeks)

Binary Input Handling (P0)

  • Implement base64 input detection
  • Create binary content type handler
  • Support MCP ImageContent type
  • Support MCP AudioContent type
  • Add input type auto-detection
  • Test with various binary formats

MIME Type Detection (P0)

  • Integrate file-type library
  • Implement magic byte detection
  • Create MIME type registry
  • Add fallback detection logic
  • Test with 50+ file types
  • Document supported types

Image Operations Enhancement (P0)

  • Enable Extract EXIF with binary input
  • Support Render Image operation
  • Add image transformation operations
  • Implement image filter operations
  • Test with PNG, JPEG, GIF, WebP
  • Add image-specific error handling

Binary Output Formatting (P1)

  • Implement base64 output encoding
  • Add MIME type to responses
  • Support blob resource references
  • Handle large binary outputs (>10MB)
  • Create output format configuration
  • Test round-trip binary handling

Archive Operations (P1)

  • Enable Gunzip/Gzip with binary
  • Support Unzip/Zip operations
  • Add Bzip2 compression support
  • Implement XZ compression
  • Test multi-file archives
  • Handle nested archives

Memory Management (P2)

  • Implement buffer pooling
  • Add memory limits (100MB default)
  • Create garbage collection hooks
  • Monitor memory usage
  • Add memory pressure handling

v2.2.0 - Advanced Transports

Target: November 2026 | Effort: L (2 weeks)

Streamable HTTP Transport (P0)

  • Implement Streamable HTTP per MCP 2025-03-26
  • Add connection upgrade support
  • Implement server-initiated messages
  • Handle multi-request sessions
  • Test with compatible clients
  • Document transport configuration

WebSocket Transport (P0)

  • Implement WebSocket server
  • Add connection management
  • Implement heartbeat/ping-pong
  • Handle reconnection logic
  • Add WebSocket authentication
  • Test concurrent connections

Transport Configuration (P1)

  • Create transport abstraction layer
  • Add transport selection logic
  • Implement capability negotiation
  • Add transport-specific options
  • Document transport selection
  • Test transport fallback

Progress Streaming (P1)

  • Implement operation progress events
  • Add progress notification protocol
  • Support cancellation via transport
  • Test long-running operations
  • Add progress UI recommendations

SSE Transport (P2)

  • Implement SSE fallback (deprecated)
  • Add deprecation warnings
  • Document migration to Streamable HTTP
  • Test with legacy clients
  • Plan removal timeline

v2.3.0 - Plugin Architecture

Target: December 2026 | Effort: XL (3-4 weeks)

Plugin System Core (P0)

  • Design plugin manifest schema
  • Create plugin loader
  • Implement plugin registry
  • Add plugin versioning
  • Define plugin API contract
  • Create plugin SDK documentation

Sandboxed Execution (P0)

  • Integrate isolated-vm library
  • Configure sandbox memory limits (256MB)
  • Set execution timeouts (30s)
  • Block dangerous Node.js APIs
  • Implement syscall filtering
  • Test sandbox escapes

Plugin Lifecycle (P0)

  • Implement plugin installation
  • Add plugin activation/deactivation
  • Support hot reloading
  • Handle plugin updates
  • Implement plugin removal
  • Add lifecycle event hooks

Plugin Discovery (P1)

  • Create plugin search tool
  • Implement plugin info tool
  • Add featured plugins list
  • Support plugin categories
  • Document plugin discovery

Plugin Configuration (P1)

  • Support plugin-specific settings
  • Add configuration validation
  • Implement secure secret storage
  • Create configuration UI hooks
  • Document configuration options

Plugin Testing (P2)

  • Create plugin test harness
  • Add integration test support
  • Implement mock operation API
  • Document testing best practices
  • Create plugin examples

Phase 5: Enterprise (v2.4.0 - v2.6.0)

v2.4.0 - Enterprise Features

Target: January 2027 | Effort: XL (3-4 weeks)

OAuth 2.1 Authentication (P0)

  • Implement MCP as Resource Server
  • Add Bearer token validation
  • Support JWT verification
  • Integrate with external IdP
  • Add token introspection
  • Test with Keycloak/Auth0

Role-Based Access Control (P0)

  • Define permission model
  • Implement role hierarchy
  • Add operation-level permissions
  • Create admin role
  • Support custom roles
  • Test permission enforcement

Audit Logging (P0)

  • Design audit log schema
  • Implement structured logging
  • Add operation tracking
  • Log authentication events
  • Support log export
  • Integrate with SIEM

Multi-Tenancy (P1)

  • Implement namespace isolation
  • Add tenant-specific configuration
  • Support per-tenant rate limits
  • Implement resource quotas
  • Test tenant isolation
  • Document multi-tenant setup

API Key Authentication (P1)

  • Implement API key generation
  • Add key rotation support
  • Support key scoping
  • Implement key revocation
  • Add key usage tracking

Enterprise Documentation (P2)

  • Create admin guide
  • Document security model
  • Add compliance mappings
  • Create deployment guides
  • Document enterprise features

v2.5.0 - Distributed Architecture

Target: February 2027 | Effort: XL (3-4 weeks)

Kubernetes Deployment (P0)

  • Create Helm chart
  • Add HPA configuration
  • Implement readiness probes
  • Configure liveness probes
  • Add resource limits
  • Test autoscaling

Load Balancing (P0)

  • Implement stateless design
  • Add session affinity support
  • Configure health checks
  • Test failover scenarios
  • Document LB configuration

Service Mesh Integration (P1)

  • Add Istio compatibility
  • Support Linkerd
  • Implement mTLS
  • Add traffic policies
  • Test service mesh features

Warm Pool Management (P1)

  • Implement connection pooling
  • Add warm instance tracking
  • Configure pool sizing
  • Optimize cold start
  • Test pool behavior

Redis Session Store (P1)

  • Implement Redis adapter
  • Add session persistence
  • Support cluster mode
  • Handle failover
  • Test session continuity

Distributed Tracing (P2)

  • Add trace context propagation
  • Implement span creation
  • Support Jaeger/Zipkin
  • Test distributed traces
  • Document tracing setup

v2.6.0 - Observability & Monitoring

Target: March 2027 | Effort: L (2 weeks)

OpenTelemetry Traces (P0)

  • Integrate OTEL SDK
  • Implement auto-instrumentation
  • Add custom span attributes
  • Configure trace sampling
  • Test trace export

OpenTelemetry Metrics (P0)

  • Add operation metrics
  • Implement latency histograms
  • Add resource usage metrics
  • Create custom metrics
  • Test metric collection

OpenTelemetry Logs (P0)

  • Implement structured logging
  • Add log correlation
  • Support log levels
  • Configure log export
  • Test log aggregation

Dashboard Templates (P1)

  • Create Grafana dashboards
  • Add Prometheus rules
  • Build SLO/SLI views
  • Document dashboard usage

Alerting Rules (P1)

  • Define alert thresholds
  • Create alert rules
  • Add escalation policies
  • Test alert firing
  • Document alerting

SLA Monitoring (P2)

  • Define SLA metrics
  • Implement SLA tracking
  • Add SLA reporting
  • Create SLA dashboards

Phase 6: Evolution (v2.7.0 - v3.0.0)

v2.7.0 - Edge Deployment

Target: April 2027 | Effort: L (2 weeks)

WebAssembly Build (P0)

  • Configure WASM target
  • Build core operations for WASM
  • Test browser execution
  • Optimize bundle size
  • Document WASM usage

Edge Runtime Support (P0)

  • Support Cloudflare Workers
  • Add Vercel Edge compatibility
  • Test Deno Deploy
  • Document edge deployment

Offline Operation (P1)

  • Implement local-first design
  • Add operation caching
  • Support offline recipes
  • Handle sync on reconnect

ARM64 Optimization (P1)

  • Build ARM64 images
  • Optimize for Apple Silicon
  • Test on Raspberry Pi
  • Document ARM deployment

Minimal Container (P2)

  • Create distroless image
  • Target <50MB image size
  • Remove unnecessary deps
  • Test minimal image

v2.8.0 - AI-Native Features

Target: May 2027 | Effort: M (1-2 weeks)

Natural Language to Recipe (P0)

  • Design NL parsing interface
  • Implement operation matching
  • Add argument extraction
  • Support multi-step recipes
  • Test with various queries

Operation Suggestions (P0)

  • Implement smart suggestions
  • Add context-aware hints
  • Support operation chains
  • Test suggestion quality

Recipe Templates (P1)

  • Create template system
  • Add parameterized recipes
  • Support template library
  • Document template usage

Smart Error Recovery (P1)

  • Implement error analysis
  • Add fix suggestions
  • Support auto-correction
  • Test recovery scenarios

AI Integration Hooks (P2)

  • Add LLM provider interface
  • Support custom models
  • Implement prompt templates
  • Document AI integration

v2.9.0 - Pre-v3.0.0 Polish

Target: June 2027 | Effort: M (1-2 weeks)

Deprecation Warning System (P0)

  • Implement warning infrastructure
  • Add warnings to deprecated APIs
  • Log deprecation usage
  • Create suppression mechanism
  • Document all deprecations

Migration CLI Tool (P0)

  • Create npx cyberchef-migrate
  • Implement recipe migration
  • Add config migration
  • Create validation commands
  • Generate migration reports

Migration Documentation (P0)

  • Write migration overview
  • Create step-by-step guides
  • Document all API changes
  • Add troubleshooting section
  • Create FAQ

Compatibility Mode (P1)

  • Implement v2.x compatibility
  • Add automatic API translation
  • Create compatibility config
  • Test with existing clients
  • Document compatibility mode

Performance Optimization (P1)

  • Profile critical paths
  • Optimize hot operations
  • Reduce memory usage
  • Improve startup time
  • Create benchmarks

Security Audit (P0)

  • Conduct third-party audit
  • Fix identified issues
  • Update dependencies
  • Review security config
  • Document security

v3.0.0 - Major Release

Target: August 2027 | Effort: XL (6 weeks)

Tool Naming Changes (P0)

  • Implement simplified naming
  • Add configurable prefix
  • Support legacy mode
  • Update documentation
  • Test naming changes

Recipe Schema v2 (P0)

  • Implement named arguments
  • Add operation field rename
  • Support metadata section
  • Create schema validation
  • Test recipe migration

Structured Errors (P0)

  • Implement error codes
  • Add error context
  • Include suggestions
  • Add documentation links
  • Test error responses

Unified Configuration (P0)

  • Create config file format
  • Add JSON schema
  • Migrate from env vars
  • Validate configuration
  • Document all options

Plugin API v2 (P1)

  • Update plugin interface
  • Add lifecycle hooks
  • Support Zod schemas
  • Migrate internal plugins
  • Document API changes

MCP SDK v3 (P1)

  • Integrate latest SDK
  • Update protocol features
  • Test compatibility
  • Document changes

Migration Testing (P0)

  • Test recipe migration
  • Validate config migration
  • Test compatibility mode
  • Performance regression tests
  • Security validation

Documentation (P0)

  • Complete API reference
  • Finalize migration guide
  • Update all examples
  • Create changelog
  • Write release notes

Release (P0)

  • Final security audit
  • Performance benchmarking
  • Release candidate
  • Production release
  • Announcement
  • v2.x LTS branch creation

Task Priority Legend

Priority Meaning Action
P0 Critical Must complete for release
P1 High Should complete for release
P2 Medium Nice to have for release
P3 Low Can defer to next release

Effort Estimates

Size Duration Complexity
XS <1 day Trivial
S 1-3 days Simple
M 4-7 days Moderate
L 1-2 weeks Complex
XL 2-4 weeks Very Complex

Related Documents

Phase Documentation

Strategy Documents

Release Plans


Next Review: January 2026 (v1.2.0 planning)