Skip to content

Releases

0.3.1

Choose a tag to compare

@github-actions github-actions released this 01 Dec 20:25
Immutable release. Only release title and notes can be modified.
0.3.1
932894d

Security fixes

Findings from GitHub's AI scan, each checked against the code and fixed with a regression test that fails without the fix.

  • OIDC e-mail: an e-mail address counted as verified when the provider did not send email_verified, and the user name fell back to the unverified e-mail, so --allowed-user, --allowed-email-domain and --admin-user could match it. Now only email_verified: true counts and an unverified e-mail is never the identity. Providers that never send the claim (some Entra ID setups) should use --allowed-group or --oidc-user-claim.
  • Sessions follow the users file: a form session is tied to its users-file entry and checked on every request, so removing a user, changing a password or changing a role applies at once instead of after 12 hours.
  • LDAP and roles: an explicit viewer or admin in the users file is kept when LDAP accepts the password, so a viewer cannot become admin through the directory.
  • JMX values: the conversion of attribute values has a total size budget. A monitored JVM could return a small structure of shared references that expanded to hundreds of billions of values and exhausted the console's memory.
  • Token links: the printed link is now http://host:port/#token=.... The fragment never reaches the server, a proxy or an access log, and the page removes it from the address bar. /?token=... is no longer accepted.

Fixed

  • The sign-in form was refused by real browsers (HTTP 403): with Referrer-Policy: no-referrer they send Origin: null on form posts. That is now accepted only together with Sec-Fetch-Site: same-origin, so posts from other sites are still refused.

Docs

  • Reverse proxy: the proxy must append to X-Forwarded-For (nginx $proxy_add_x_forwarded_for); the nginx example has the line. An explicit users-file role winning over --admin-user is documented.

Verify

sha256sum -c SHA256SUMS
gh attestation verify jconsole-web-0.3.1.jar --owner hbenali
docker pull hbenali/jconsoleweb:0.3.1    # or ghcr.io/hbenali/jconsoleweb:0.3.1 (amd64, arm64)

SBOM: jconsole-web-0.3.1.cdx.json / .xml (CycloneDX 1.6).

0.3.0

Choose a tag to compare

@github-actions github-actions released this 01 Dec 19:44
Immutable release. Only release title and notes can be modified.
0.3.0
e87d97f

UI

  • Theme switch: System / Light / Dark in the header. It follows the OS until you pick one, is remembered per browser and works with the keyboard. Also on the sign-in page.
  • MBean operations are cards now: labelled, typed parameter fields (a select for booleans), an impact badge, a confirm step for state-changing operations, and a result panel with timing and Copy.
  • Header: "Add connection" replaces "Connect…", a signed-in chip shows who you are and whether the session is read / write, the "live" label is gone. New footer with the author and the running version.
  • Accessibility (WCAG 2.1 AA oriented): MBean tree and thread rows reachable by keyboard, ARIA tabs with arrow keys, skip link, landmarks, live regions, reduced-motion and forced-colors support, contrast fixes.
  • Responsive: stacked attribute tables on phones, no horizontal overflow at 390 / 768 / 1280 px, no layout shift while the first data loads.
  • Lighthouse on the running app: 100 for performance, accessibility, best practices and SEO, desktop and mobile.

Docker

  • JCONSOLE_WEB_JAVA_OPTS sets the JVM flags (heap, GC, -D properties). Default: -XX:MaxRAMPercentage=50 -XX:+ExitOnOutOfMemoryError; setting it replaces the default.

Quality

  • JaCoCo coverage report (target/site/jacoco), line coverage 68.6% to 70.7%; new tests for Values, Passwords and SerialFilter (62 tests).

Verify

sha256sum -c SHA256SUMS
gh attestation verify jconsole-web-0.3.0.jar --owner hbenali
docker pull hbenali/jconsoleweb:0.3.0    # or ghcr.io/hbenali/jconsoleweb:0.3.0 (amd64, arm64)

SBOM: jconsole-web-0.3.0.cdx.json / .xml (CycloneDX 1.6).

0.2.1

Choose a tag to compare

@github-actions github-actions released this 01 Dec 17:28
Immutable release. Only release title and notes can be modified.
0.2.1
d3a7686

Security hardening from a manual review, environment variables and Docker/Kubernetes secrets, and a CycloneDX SBOM. (0.2.0 was never published; this release includes it.)

Security fixes

  • Typed JMX URLs (--allow-connect) are limited to service:jmx:rmi:///jndi/rmi://host:port/name: JNDI/LDAP injection and caller-supplied stubs are refused; --connect-allow-host can pin hosts.
  • Process-wide deserialization filter for data coming from monitored JVMs (JDK management/RMI types only, with depth/size limits; --no-serial-filter to opt out).
  • Wrong bearer tokens are throttled; Basic auth no longer creates a session per request; failed-login limiting uses the real client address behind trusted proxies.
  • The local JVM list shows the main class only (no arguments, which often hold secrets).
  • OIDC sign-in starts are rate limited; __Host- cookies over https.
  • Request read timeout and a bounded thread pool against slow-client attacks.
  • Audit log on standard error: sign-ins, failed sign-ins, writes and refused writes (written values are never logged; log injection is prevented).
  • ldap:// is refused off loopback; the connect endpoint requires a JSON content type.
  • Docker image: OpenSSL upgraded (CVE-2026-124709).

Configuration

  • Every option is an environment variable: JCONSOLE_WEB_<OPTION> (list options take comma/newline lists); the command line wins.
  • Secrets can come from files: JCONSOLE_WEB_TOKEN_FILE, JCONSOLE_WEB_JMX_PASSWORD_FILE, JCONSOLE_WEB_OIDC_CLIENT_SECRET_FILE. A secret and its file together is an error.
  • The image is configured by environment alone (see the Compose example with Docker secrets in the README).

Supply chain

  • CycloneDX 1.6 SBOM (.cdx.json, .cdx.xml) next to the jar, listed in SHA256SUMS; build provenance and SBOM attestations for the jar.
  • Verify: sha256sum -c SHA256SUMS and gh attestation verify jconsole-web-0.2.1.jar --repo hbenali/jconsole-web.

Get it

  • Docker: hbenali/jconsoleweb:0.2.1 or ghcr.io/hbenali/jconsoleweb:0.2.1 (amd64, arm64; Azul Zulu 25, non-root).
  • Jar: attached below (Java 17+, no dependencies).

0.1.0

Choose a tag to compare

@github-actions github-actions released this 01 Dec 17:06
Immutable release. Only release title and notes can be modified.
0.1.0
ba7d0cd

First release: JConsole in your browser. One jar, no dependencies, Java 17+.

Monitor and manage JVMs over JMX from a web UI

  • Overview with live heap, thread, class and CPU charts (hover for values), memory pools, GC totals
  • Threads: sortable table with state filters, stack traces, deadlock detection, full thread dump
  • MBeans: grouped tree (domain > type > ...) with filter, attributes, and opt-in attribute editing and operation invoke
  • VM summary: VM, OS, JVM arguments, class path, system properties
  • Targets: local JVMs (Attach API), remote JMX over RMI, or the console's own JVM

Sign-in modes (--auth): token (default), none (loopback only), basic, form (users file with PBKDF2 hashes and/or LDAP), header (trusted reverse proxy, e.g. in front of SAML), oidc (authorization code + PKCE). SAML is deliberately left to a SAML-aware proxy in header mode.

Secure by default: listens on 127.0.0.1, always authenticated, read-only unless --allow-write, strict CSP, Origin checks and JSON-only writes, failed-login limiting.

Get it

  • Jar: jconsole-web-0.1.0.jar, verify with sha256sum -c SHA256SUMS (both carry build provenance attestations)
  • Docker: docker run -p 8080:8080 hbenali/jconsoleweb or ghcr.io/hbenali/jconsoleweb (amd64 and arm64, Azul Zulu 25, non-root)

See the README for options and the authentication guide.