v2.4.1: Adversarial Hardening, Deterministic Chromium Runtime & DoS-Safe Validator
v2.4.1: Adversarial Hardening, Deterministic Chromium Runtime & DoS-Safe Validator
This maintenance and security release incorporates deep adversarial hardening from multi-LLM audits (achieving a 9.1 / 10 consensus score across ChatGPT-4o and Grok), closes all known bypass vectors in the pure-Python validator, and introduces multi-viewport layout stabilization in headless Chromium.
🛡️ Security & Closed-World Validator Hardening
- Closed-World Exploit Prevention: Restricted
$schemastrictly to the exact root level (path == "$"). Any other property starting with$(e.g.$injected_exploitor$rogue_key) is rejected immediately. - Adversarial Negative Fixtures: Added and automated
evals/fixtures/illegal_dollar_property.json,illegal_additional_property.json, andout_of_range_latitude.json. - Cycle-Safe
$refResolution: Implemented recursion depth limit (64) and visited reference set tracking invalidate_json_instance()to prevent circular reference DoS crashes. - String Constraints: Enforced
minLength,maxLength, and regexpatternvalidations. - Strict Domain Bounds: Enforced strict numerical bounds for coordinates (
latitude: [-90, 90],longitude: [-180, 180]), financial math (precision_decimals: [0, 8]), and Core Web Vitals budgets.
🌐 Deterministic Chromium Runtime Evals (evals/run_evals.py --browser)
- Layout & Font Stabilization: Replaced bare
domcontentloadedwith boundednetworkidle(3000ms timeout),document.fonts.readycheck, and doublerequestAnimationFramebefore measuring DOM geometry. - Multi-Viewport Mobile Overflow (320px & 375px): Audits both standard mobile (375x667) and narrow mobile boundary (320x568). Surgically resolved a 320px horizontal overflow in
neobrutalist_creative_store.html. - Physical Focus Rings Assertion: Programmatically verified active
:focus-visibleindicators (outlineorbox-shadow) on all interactive controls. - Prefers-Reduced-Motion Media Emulation: Emulated
(prefers-reduced-motion: reduce)in Playwright and verified CSS media responsiveness. - Visibility & Accessibility Filtering: Filtered out elements inside
[aria-hidden="true"],display: none, orvisibility: hiddenfrom interactive target sweeps.
📦 Ecosystem Artifacts
- NPM Package:
@omid-io/tokens - Open-VSX Registry:
omid-io.vibe-ui-vscode - VS Code Marketplace:
omid-io.vibe-ui-vscode - Attached Asset:
vibe-ui-vscode-2.4.0.vsix