Skip to content

Locara v1.16.1 — Audit Hardening, Security Allowlist & Offline Mission Control

Latest

Choose a tag to compare

@MuchoRio MuchoRio released this 23 Nov 03:35

Locara v1.16.1 — Audit Hardening, Security Allowlist & Offline Mission Control

Release Date: 2026-11-23 · SemVer Impact: PATCH (100% backward-compatible with v1.16.0)

This maintenance and security-hardening release resolves every Critical, High, Medium, and post-audit finding across the Java core, Katalon Groovy hooks, Python/JS Mission Control Dashboard, Playwright TypeScript/MCP adapters, and Cucumber BDD integrations, while expanding automated verification from 140 to 167/167 passing tests.


🔒 Security

  • Dashboard Static-Asset Allowlist & 100% Offline Compliance (dashboard/http_utils.py, dashboard/server.py, dashboard/index.html, dashboard/report_template.py): Restricted static file serving strictly to frontend assets (/, /index.html, /assets/, /css/, /js/ with traversal and extension checks) returning HTTP 403 for backend Python files, tests, dotfiles, and directory listings; removed external Google Fonts CDN links for true zero-outbound-network operation; enforced fail-closed XXE protection in PageSourceParser (IllegalStateException on unsupported security features) and <parsererror> DOM rejection in Recon Lab & Form Inspector.
  • Danger/Financial Polarity & Android 14+ Overlay Protection (DangerKeywordGuard, LocaraEngine, OverlayAirbag, polarity-guard.ts): Enforced multi-word financial/danger phrase isolation ("Jual Unit", "Penambahan Unit", etc.) and widget-prefix matching on token boundaries; applied DangerKeywordGuard on LocaraEngine spatial and single-widget fallback paths; extracted shared integrations/playwright/src/engine/polarity-guard.ts across Playwright DOM and MCP matchers; added Android 14+ deny-button protection (including curly apostrophes and permission_deny_and_dont_ask_again_button) and form-screen protection preventing contextual "OK" dismissal when EditText inputs are present.
  • PII Masking (ResolvedAccount, ContextualEntityResolver): Masked raw account numbers (****XXXX) and holder names in ResolvedAccount.toString().

🐛 Fixed

  • Java 17+ Reflection, Config Discovery & Integration Correctness:
    • Fixed NoSuchMethodException in LocaraKeywords.groovy by resolving Object.class reflection signatures.
    • Migrated PlaywrightReflectionBridge, AppiumDriverActionBridge, KatalonDriverBridge.getScreenDimensions, and OverlayAirbag.clickNode to shared ReflectiveAccessUtil.findAccessibleMethod for Java 17+ accessible public interface/superclass invocation.
    • Centralized HealConfig.loadDefault() across Katalon, Appium, and Playwright with root locara.local.properties override precedence even when base configuration resides under Include/config/.
    • Fixed CodeNamingAuditor root scanning on dot-prefixed roots, ScriptVariableAligner brace-balanced try boundaries, HtmlDomParser unquoted/spaced attributes and HTML entity decoding, LocaraTestListener.groovy matching for Katalon "Object '...' not found", KatalonDriverBridge.patchTestObject className XPath quoting, Locale.ROOT normalization across parsers/spatial/scroll policies, centralized LocaraLogger usage, and CucumberLocara quoted-action & blank-keyword step classification ("Given ").
    • Eliminated false-green steps in @qureon/cucumber-locara and added missing integrations/cucumber/tsconfig.json.
  • Mission Control Dashboard Backend & Frontend:
    • Upgraded dashboard/server.py to ThreadingHTTPServer, RFC 9110-compliant HEAD responses (zero-byte body + matching Content-Length), locked save-before-mutate atomic locara.properties persistence (NamedTemporaryFile + os.replace), port range validation (1..65535), per-key config reload resilience, full dual package/script imports across all dashboard.* modules, and canonical Include/evidence/locara_report.html serving with healing_report.html fallback (returning HTTP 404 when not yet generated, removing fabricated fallback data).
    • Eliminated false-green status masking and fabricated confidence/latencyMs/vectors defaults; fixed Settings hydration and REVAMP slider ranges; bound Analytics, Compliance (with async digest race guard), and KPI panels to live appState; added Visual Inspector empty-state clearing and null-safe sorting; rendered complete MobileElementEntity vs WebElementEntity .rs XML previews; fixed Form Inspector snippet to use FieldRelationshipParser; added safe copyToClipboard and localStorage guards; and filtered hidden/zero-height nodes plus find_first/check_point aliases in recon_service.py.
  • Playwright & MCP TypeScript Adapters (@qureon/playwright-locara):
    • Parsed all multi-bracket ARIA metadata blocks ([level=2] [ref=e1], [disabled] [ref=e4]) and skipped ref-less nodes in PlaywrightMcpAdapter.recoverElementRef.
    • Added inputType action-compatibility scoring in HeuristicDomMatcher (<input type="submit|button|checkbox|radio|reset"> for CLICK vs FILL).
    • Widened LocaraPageWrapper.locator() default action to 'VISIBLE' with non-interactive content harvesting, preserved data-test vs data-testid resolution parity with HeuristicDomMatcher, adopted import type modifiers, replaced broken eslint script with typecheck (tsc --noEmit), and declared optional Azure peerDependenciesMeta.

🔧 Changed & Verification

  • CLI Test Isolation: Added optional --project-dir <dir> and --no-audit flags to LocaraCli so CI runs and LocaraCliTest execute with zero workspace pollution.
  • Expanded Automated Regression Suite (167/167 PASS):
    • 130/130 JUnit 5 tests (30 suites, including new AuditHardeningRegressionTest)
    • 21/21 Python unittest tests (including new test_dashboard_regression.py)
    • 16/16 Node tests (test_js_modules.mjs, playwright_locara.test.mjs, cucumber_locara.test.mjs)
    • 93/93 production code modules verified strictly < 300 lines.

📦 Installation & Artifact Checksum

Download locara-1.16.1.jar from the release assets below and place it into your Katalon project's Drivers/ folder (replacing any older locara-*.jar):

Artifact Size SHA-256
locara-1.16.1.jar 242 KB 160d693bf22abd617a472443ea5950f8862cae901c4618623802f88acc5aafda

Full Changelog: v1.16.0...v1.16.1