Skip to content

Releases

DevAnvil v2.1.1 — Security & Stability Hardening

Choose a tag to compare

@abd77o abd77o released this 29 Nov 17:40

Security & Stability Patch Release (v2.1.1)

This release delivers all fixes from a full two-pass line-by-line security & stability audit across core engines, server/proxy, MCP server, CLI, 18 Studio UI modules, Browser Playground, and OS installers. All users of v2.1.0 and earlier are strongly recommended to upgrade.

Highlights

  • SSRF & Network Hardening: Blocked extended reserved IP ranges (TEST-NET-2/3, 6to4, RFC 8215 NAT64, Discard, Teredo) & trailing-dot hostnames; rejected URL credentials in TLS/WS; capped WS buffer at 2 MB; added upfront SSRF check in Load Benchmarker; strict RFC 7230/CRLF/NUL header validation.
  • Server, Mock & Persistence Hardening: Blocked Mock routes from overriding CSP/security/hop-by-hop headers; strict NaN/type/prototype-key validation (asStringMap, /api/pipeline/run, PATCH mock); 0o600 atomic workspace saves; expanded recorder header redaction.
  • Sandbox, Parser, JWT & CLI Hardening: 4-worker plugin cap + symlink/realpath check; disabled VM codegen; blocked JWT BEGIN CERTIFICATE HMAC confusion & overflow timestamps; eliminated prototype-chain lookups across Diff/Encoding/Cron/cURL/Contract-Drift/Protobuf; nesting depth caps in YAML/TOML/JSONPath; aligned SARIF rule IDs.
  • Studio UI, Playground & Installers: Fixed missing .finding.fail/.finding.warn styles, fixed UTF-8 Basic Auth encoding, guarded all localStorage & async UI handlers across all 18 studios, hardened browser Protobuf decoder, and enforced fail-closed SHA-256 verification in install.sh & install.ps1.
  • Verification: 61/61 passing tests (15 suites), 0 runtime dependencies, clean secret scan.

Upgrade

npm install -g devanvil@latest
# or standalone binary (SHA-256 verified):
curl -fsSL https://raw.githubusercontent.com/abd77o/devanvil/main/install.sh | bash

DevAnvil v2.1.0 — Contract, Auth & Wire Intelligence (18 Studios, 16 MCP Tools)

Choose a tag to compare

@abd77o abd77o released this 28 Nov 22:05

Security Notice: Older release — please upgrade to v2.1.1 for SSRF, CSP, JWT, parser, UI & installer SHA-256 security fixes (npm install -g devanvil@latest).

DevAnvil v2.1.0 — Contract, Auth & Wire Intelligence

18 Offline Studios · 16 AI Agent MCP Tools · 50/50 Tests Passing · 198.1 kB · Zero Runtime Dependencies (dependencies: {})

What's New in v2.1.0

  • OpenAPI Contract Drift Detector (devanvil drift, POST /api/contract/check, MCP Tool #15, Studio #18):
    • Resolves $ref / allOf schemas and validates live API responses against OpenAPI 3.x / Swagger contracts.
    • Flags breaking drift (MISSING_REQUIRED_FIELD, TYPE_MISMATCH, ENUM_VIOLATION, UNDOCUMENTED_STATUS, NULLABLE_VIOLATION) and warnings (UNDOCUMENTED_FIELD, FORMAT_MISMATCH) with a 0–100 score and CI exit code 1.
  • Live API Traffic Recorder -> OpenAPI 3.0.3 / Mocks / Collection (/api/recorder*, Studio #18):
    • Automatically captures proxied API Studio requests (redacting Authorization, Cookie, X-API-Key -> [REDACTED]) and exports them in 1 click as an inferred OpenAPI 3.0.3 Spec, Live /mock/* Routes, or a Workspace Collection.
  • OAuth 2.0 / OIDC PKCE (RFC 7636) Studio (devanvil pkce, Studio #18):
    • Generates CSPRNG code_verifier + S256 code_challenge, state, nonce, and Authorization URLs.
    • Audits OAuth/OIDC callback URLs for CSRF state mismatches, PKCE verification, implicit-flow warnings, and JWT id_token nonce replay checks.
  • Zero-Dependency Protobuf Binary Wire Decoder & .proto Mapper (devanvil proto, MCP Tool #16, Studio #18 + Browser Playground):
    • Decodes raw Hex/Base64 Protobuf binary payloads (varint, ZigZag sint, fixed32/float, fixed64/double, UTF-8 & nested submessages) with optional .proto schema mapping.
  • Load Benchmarker CI Performance Thresholds (devanvil load --max-p95 --min-rps --max-error-rate):
    • k6-style regression gates returning thresholdsPassed / thresholdViolations and CI exit code 1 on regressions.

Verification

  • Tests: 50 / 50 passing (0 failures, 0 warnings) including adversarial Worker+VM escape, non-blocking concurrency, SSRF, ReDoS, and CLI E2E suites.
  • Self-Scan: devanvil scan . -> clean: true (82 files, 0 findings).
  • Standalone SEA: npm run build:sea bundles 37 modules (471 KB) + embeds all 14 UI assets into devanvil-sea.blob.
  • Live Browser Playground: https://abd77o.github.io/devanvil/

DevAnvil v2.0.0 — The Sovereign Developer Platform (17 Studios, 14 MCP Tools)

Choose a tag to compare

@abd77o abd77o released this 28 Nov 22:05

Security Notice: Older release — please upgrade to v2.1.1 for SSRF, CSP, JWT, parser, UI & installer SHA-256 security fixes (npm install -g devanvil@latest).

DevAnvil v2.0.0 — The Sovereign Developer Platform

17 Offline Studios · 14 AI Agent MCP Tools · Zero Runtime Dependencies (dependencies: {}) · Strict CSP

Highlights

  • HTTP Load & Latency Benchmarker (devanvil load, Studio #16): SSRF/DNS-pinning guarded concurrent HTTP load tester measuring RPS, throughput (KB/s), P50/P90/P95/P99 latency, 6-bucket histogram, and Baseline Regression Diff.
  • PostgreSQL & SQLite EXPLAIN ANALYZE Visualizer (devanvil explain, MCP Tool #13, Studio #16): Exclusive node heat tree + automated detection of Seq Scans, Disk Sorts, 10x+ Cardinality Drift & SQLite Temp B-Tree sorts (~125k plans/sec).
  • Structured Log & Error Fingerprint Analyzer (devanvil logs, MCP Tool #14, Studio #17): NDJSON/Pino/Winston/Nginx log stats, UUID/IP/duration error deduplication, P50/P95/P99 latency & leaked secret detection.
  • Hardened Zero-Trust Local Plugin Engine (~/.devanvil/plugins, Studio #17): Isolated node:worker_threads + no-codegen node:vm sandbox (primitive-only JSON boundaries blocking constructor.constructor escapes, empty env, 48MB heap cap, hard terminate on 500ms timeout) + in-browser code editor & CRUD.
  • Collection Runner Request Chaining (extract) + Visual Rules Builder: Extract JSONPath/header variables between steps in devanvil run and edit rules visually in Studio #2.
  • Modular Server + Standalone SEA Bundler (npm run build:sea) + Reusable GitHub Action (docs/github-action/action.yml) + Homebrew Formula (docs/homebrew/devanvil.rb).

DevAnvil v1.3.0 — 15 Studios, Collection Runner, TLS/GraphQL/WebSocket & Secret Safety

Choose a tag to compare

@abd77o abd77o released this 28 Nov 21:11

DevAnvil v1.3.0 — Workspace Secret Safety, Collection Runner + JUnit XML, TLS/X.509, GraphQL & WebSocket

15 Studios · 12 Offline MCP Tools · 39/39 Tests Passing · 159.9 kB Packed · 0 Runtime Dependencies

Phase 1 — Production Polish & Gap Fixes

  • Workspace Secret Safety:
    • {{env.VAR_NAME}} runtime interpolation keeps real secrets out of Git-committed devanvil.json.
    • Gitignored companion devanvil.local.json automatically merges local secret overrides in memory only.
    • Built-in Workspace Secret Audit surfaces plaintext credential warnings directly inside Studio #14.
    • AES-256-GCM Encrypted .anvil Bundles (export-encrypted / import-encrypted) for secure team sharing.
  • Real-World Secret Scanner (devanvil scan):
    • devanvil scan --staged [--sarif] scans ONLY blobs staged in the Git index (wired into examples/pre-commit-secret-gate.sh).
    • Supports .devanvilignore + inline devanvil-ignore / devanvil-ignore-next-line.
    • Sequential charset/alphabet detection eliminates false positives on NanoID/Base64/Hex alphabets.
  • GitHub Pages Live Playground Sync: Added Interactive JSON Tree Explorer & Postman/HAR/.http -> devanvil.json + 12-Tool MCP Config right in the browser demo.

Phase 2 — Postman/Bruno & DevOps Parity

  • API Collection Runner + Assertions + JUnit XML (devanvil run): Zero-dependency Newman alternative executing devanvil.json suites with status, maxLatencyMs, headerContains, bodyContains, and jsonPathEquals assertions + --junit report.xml CI output.
  • Studio #15 — TLS / X.509 Inspector, GraphQL Studio & RFC 6455 WebSocket Tester:
    • X.509 / TLS Inspector: Offline PEM parser (crypto.X509Certificate), live SSRF-guarded TLS handshake probe (devanvil tls example.com), and MCP Tool #12 (devanvil_inspect_cert).
    • GraphQL Studio: Queries, JSON variables, {{env.VAR}} headers & 1-click Schema Introspection.
    • RFC 6455 WebSocket Live Tester: Zero-dependency ws:// / wss:// probe with SSRF/DNS-pinning and millisecond frame timeline.

DevAnvil v1.2.0 — MCP Server, Git-Native Workspaces & 14 Studios

Choose a tag to compare

@abd77o abd77o released this 28 Nov 20:49

DevAnvil v1.2.0 — AI Agent MCP Server, Git-Native Workspaces & Real-World Workflow Parity

14 Studios · 11 Offline MCP Tools · 35/35 Tests Passing · 0 Runtime Dependencies

What's New in v1.2.0

  • Zero-Dependency Local MCP Server (devanvil mcp): Built-in Model Context Protocol JSON-RPC 2.0 stdio server exposing 11 offline DevAnvil tools (devanvil_scan_secrets, devanvil_scan_directory, devanvil_check_env, devanvil_openapi_to_mocks, devanvil_jwt_audit, devanvil_regex_test, devanvil_convert_data, devanvil_semantic_diff, devanvil_llm_tokens, devanvil_generate_id, devanvil_cron_explain) for Claude Code, Claude Desktop, Cursor, and Windsurf.
  • Git-Native Persistent Workspaces & Environments (devanvil.json): Launch with devanvil serve --workspace ./devanvil.json to atomically save Collections, Environments ({{VAR}} interpolation), and Live Mock Routes right in your repository.
  • Postman v2.1, HAR 1.2 & .http Importer: Migrate existing collections, browser DevTools HAR exports, and VS Code .http files via Web UI (Studio #14) or CLI (devanvil import <postman|har|http> <file>) — with 1-click mounting of captured responses onto /mock/*.
  • Record & Replay Mock Proxy: Check "Record response -> Live /mock/*" in API Studio (POST /api/proxy with recordAsMock: true) to capture live upstream responses as persistent offline /mock/* stubs.
  • Full-Repository Secret Scanner + SARIF 2.1.0: Run devanvil scan . --sarif to scan entire repositories (respecting .gitignore, skipping binaries & node_modules) and output GitHub Code Scanning-ready SARIF 2.1.0 reports.
  • Live SSE Stream Tester (with TTFT): Debug LLM & real-time Server-Sent Events streams (POST /api/proxy/sse) with Time-To-First-Token (TTFT), per-event delta timestamps, and full SSRF/DNS-pinning protection.
  • Interactive JSON Tree Explorer: Filterable, expandable DOM tree inside Data Studio with 1-click Copy JSONPath.

Quickstart

# Start Studio UI with Git-native persistence
devanvil serve --workspace ./devanvil.json

# Connect Claude Code to DevAnvil MCP Server
claude mcp add devanvil -- devanvil mcp

# Full-repo secret scan -> SARIF 2.1.0
devanvil scan . --sarif > devanvil-secrets.sarif

DevAnvil v1.1.0 — 13 Offline Studios, OpenAPI-to-Mock, Secret Guard & Benchmarks

Choose a tag to compare

@abd77o abd77o released this 28 Nov 19:57

Highlights in DevAnvil v1.1.0

Still 0 runtime npm dependencies ("dependencies": {}), 100% offline, and 29/29 automated tests passing.

New Studios & Features

  • OpenAPI 3.x / Swagger -> Instant Mock Server: Paste YAML or JSON specs, resolve $ref schemas safely (circular-ref guarded), and mount every endpoint live to /mock/* in one click — or run devanvil openapi spec.yaml --serve from CLI.
  • Offline Secret & .env Guard: 18 linear-time provider secret detectors + Shannon entropy scanner, 1-click safe redaction, .env vs .env.example drift checker, plus devanvil scan / devanvil env CI gates and redact_secrets pipeline op.
  • LLM Token & Context Budget Studio: Offline BPE-calibrated multi-script tokenizer (English/Arabic/CJK/code), multi-model cost & context gauges, and Smart Context Compactor (devanvil tokens).
  • Workflow Upgrades: API Studio Auth Helper Bar (Bearer / API Key / Basic), persistent local request history, Webhook Replay -> API Studio, Mock JSON Export, and 4 Pipeline Starter Recipes.

Performance & Security

  • In-memory SHA-256 ETag (304) + Gzip static UI cache.
  • Sub-millisecond core engines verified via npm run bench (279k UUIDv7/s, 60k Secret scans/s, 44k JWT verifies/s, 17k OpenAPI YAML parses/s).
  • Slowloris timeouts (headersTimeout, requestTimeout, maxHeadersCount) + strict runtime type validators returning clean 400 Bad Request.
  • Dogfood ReDoS test verifying every built-in secret rule is ReDoS-safe.
  • Hardened docker-compose.yml (read_only: true, cap_drop: ALL, no-new-privileges).

DevAnvil v1.0.0 — Local-First Zero-Dependency Developer Studio & CLI

Choose a tag to compare

@abd77o abd77o released this 28 Nov 19:30

DevAnvil v1.0.0

Initial public release of DevAnvil — a local-first, 100% offline, zero-runtime-dependency developer workbench, CLI & TypeScript SDK.

Highlights

  • 0 Runtime Dependencies (dependencies: {}) built purely on Node.js 20+ stdlib & strict TypeScript
  • 10 Integrated Web Studios with Obsidian Forge dark/light themes & Cmd/Ctrl+K Command Palette:
    • CORS-Free API Studio (timings, cURL importer, cURL/Fetch/Python/Go codegen)
    • Live Dynamic Mock API Server (/mock/*) + Real-Time SSE Webhook Catcher (/hook/:channel)
    • JWT Studio (HS256/384/512, RS256, ES256 sign/verify, security audit, RSA/EC keygen)
    • Crypto, Encoding & IDs (AES-256-GCM + scrypt, SHA/BLAKE2b/HMAC, Password entropy, UUIDv7/ULID/NanoID, 10 codecs)
    • Data Studio (JSON/YAML/TOML/CSV/Query/TypeScript/JSON Schema, JSONPath, SQL Formatter)
    • Diff Studio (LCS line diff + Semantic JSON structural diff)
    • Visual Regex & ReDoS Lab (AST token explainer, static ReDoS detector, node:vm timeout sandbox)
    • Composable Pipeline Lab (30 chainable operations with step-by-step trace)
    • Cron & Timestamp Studio + IPv4 CIDR, Linux chmod matrix, WCAG 2.1 Color Contrast & HTTP Status Reference
  • Hardened Security Architecture: SSRF + DNS-pinning guard, cross-origin redirect credential stripping, strict CSP, prototype-pollution-free parsers, zip-bomb & path-traversal containment, verified by 25 automated tests.