Urgent.News

What's breaking now, across thousands of outlets.

Tech

HAPI FHIR endpoint discovery needs an authorization test

HAPI FHIR endpoint discovery needs an authorization test HAPI FHIR is a server implementation of the HL7 FHIR standard. Its REST API can expose patient, encounter, observation, medication, and other clinical resources. A title match on the product name can lead an analyst to a server, but the security decision depends on the API's authentication, authorization, and resource-level access policy.…

HAPI FHIR, an open-source implementation of the HL7 FHIR standard, faces security concerns regarding its endpoint discovery process. The API's authentication and authorization mechanisms determine whether a server reveals patient data, based on resource-level access policies. A simple search using the app title "HAPI FHIR" yielded different results: zero matches for a specific observation, but 2,300 matches when searching with the "all" sub_type, page 1, and a page size of 1. This discrepancy highlights the importance of testing endpoint authorization thoroughly.

To ensure proper security, analysts should use unauthenticated clients, clients with limited patient or resource scopes, and clients with administrative roles. They should also examine the server's response to known synthetic resources, resources outside the token's scope, and broad searches. It is crucial to record the HTTP status, returned resource types, bundle totals, and whether errors reveal resource existence.

Production environments must implement transport security, client/user authentication, and access control according to HL7's FHIR security guidance. Testing should be consistent and cover various scenarios, including self-hosted servers, servers using mutual TLS or reverse proxies, and servers with self-hosted test identity providers. It is essential to separate test data from clinical data and verify that the issuer, audience, signing key, token expiry, and client registration are correctly configured.

Ultimately, the primary concern is whether a specific endpoint enforces authentication and resource-level authorization. HAPI FHIR provides the API, but the deployment's security layer determines the actual access decisions.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

12 Hours, One Developer, and My First Solo Hackathon

12 Hours, One Developer, and My First Solo Hackathon My experience building DocDrift at Hacktoberfest 2026. Some experiences teach you more in a few hours than weeks of preparation ever could.

  • 12-hour solo hackathon at Hacktoberfest 2026
  • Developed DocDrift, documentation drift detection system
  • Learned GitHub workflow, branches, commits, PRs, CI checks

AeroLoop — The Air-Quality Agent That Keeps Its Own Ghosts

This is a submission for the Hacktoberfest Open-Source AI Challenge Week 4: Ghost in the Machine What I Built AeroLoop — The Air-Quality Agent That Keeps Its Own Ghosts 👻 What if an AI agent…

  • AeroLoop predicts London's PM2.5 levels using weather features and linear correction.
  • AI agent stores failed predictions as historical ghosts for future learning.
  • Holdout set prevents future data leakage during model evaluation.

Merge and compress PDFs in the browser with pdf-lib and PDF.js (no server, no upload)

Most "free PDF tools" upload your file to a server, process it, and send it back. For a contract, a bank statement or a scanned ID, that is a real privacy cost, and it isn't necessary.

  • pdf-lib and PDF.js enable browser-based PDF merging and compression
  • MergePdfs function combines input files into a single output document
  • Object stream compression reduces text-heavy PDFs by 5-15%

More from Saturday 31 October →