Repository navigation
DevAnvil v2.1.0 — Contract, Auth & Wire Intelligence (18 Studios, 16 MCP Tools)
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/allOfschemas 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 code1.
- Resolves
- 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.
- Automatically captures proxied API Studio requests (redacting
- OAuth 2.0 / OIDC PKCE (RFC 7636) Studio (
devanvil pkce, Studio #18):- Generates CSPRNG
code_verifier+S256code_challenge,state,nonce, and Authorization URLs. - Audits OAuth/OIDC callback URLs for CSRF
statemismatches, PKCE verification, implicit-flow warnings, and JWTid_tokennoncereplay checks.
- Generates CSPRNG
- Zero-Dependency Protobuf Binary Wire Decoder &
.protoMapper (devanvil proto, MCP Tool #16, Studio #18 + Browser Playground):- Decodes raw Hex/Base64 Protobuf binary payloads (
varint, ZigZagsint,fixed32/float,fixed64/double, UTF-8 & nested submessages) with optional.protoschema mapping.
- Decodes raw Hex/Base64 Protobuf binary payloads (
- Load Benchmarker CI Performance Thresholds (
devanvil load --max-p95 --min-rps --max-error-rate):- k6-style regression gates returning
thresholdsPassed/thresholdViolationsand CI exit code1on regressions.
- k6-style regression gates returning
Verification
- Tests: 50 / 50 passing (
0failures,0warnings) including adversarial Worker+VM escape, non-blocking concurrency, SSRF, ReDoS, and CLI E2E suites. - Self-Scan:
devanvil scan .->clean: true(82files,0findings). - Standalone SEA:
npm run build:seabundles 37 modules (471 KB) + embeds all 14 UI assets intodevanvil-sea.blob. - Live Browser Playground: https://abd77o.github.io/devanvil/