Skip to content

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
· 17 commits to main since this release

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/