Urgent.News

What's breaking now, across thousands of outlets.

Tech

Week-6, 7, 8

Catching Up: Architecture, Security, and Concurrency in the Heka Auth Service Hey everyone! First of all, I want to start with a huge apology for the radio silence over the last couple of weeks. My schedule has been absolutely packed, and between deep-diving into code and keeping up with project deliverables, I haven't had a spare moment to sit down and share my progress. But I’m back, and I have…

This week has been incredibly productive for the Hiero (LF Decentralized Trust) Heka Identity Platform. The main focus was on two significant PRs: the GPG Contributor Verification Flow and the GitHub OAuth Binding. These projects led to valuable lessons in software architecture, security hardening, and CI pipeline navigation.

Key architectural improvements included strict separation of concerns, moving all GitHub OAuth and GPG challenge flows into the heka-auth-service. The database now relies solely on MikroORM migrations generated directly within the auth service.

Security was a major priority, with several vulnerabilities patched: SSRF attacks prevented by strict username validation, JWT authentication implemented for challenge request endpoints, and payload abuse mitigated by adding maximum length validations to GPG signature DTOs. Additionally, log sanitization was introduced to prevent log injection attacks.

Handling concurrency was a notable challenge. To address race conditions related to GPG challenges, an atomic burn-before-verify pattern was implemented using MikroORM's nativeUpdate. This ensures that only one request successfully updates the consumed status, blocking any replay attacks.

Finally, CI pipeline issues were resolved by fixing a lockfile desync and an outdated dependency issue caused by express@5 pulling in a vulnerable version of body-parser. The package.json now explicitly declares body-parser ^2.3.0, clearing the Snyk check.

Overall, this week highlighted that feature development accounts for only 20% of the work, while the remaining 80% focuses on architecture, concurrency, security, and infrastructure. The heka-auth-service is now significantly more robust and secure.

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

Kanban After 12 Months Of Interrupt-Driven Work

One year after replacing sprints, our platform team kept the limits and lost the theatre. On 19 August 2025, we deleted the remaining two-week sprint from our platform board while seven tickets were…

Day 30: Hard Reset Forgets on Purpose, and NAT Needs a Guardrail Switched Off

Thirty days in, and today both tasks required deliberately switching off something that exists to protect you. Git refuses to let you overwrite shared history.

  • Git prevented overwriting shared history during hard reset
  • EC2 denied forwarding packets not destined for it
  • NAT instance created to allow private EC2 access to S3

note taking app with auto sync leetcode and local llm model integration

I built this app over the weekend as a side project. 🛠️ The problem was simple: after I submit on LeetCode, going back and forth to write notes and save them is painfully manual.

  • Daily Routine app integrates LeetCode submissions with local LLM model
  • App stores notes, keys, and database on user's machine for data security
  • Features include automatic sync, reports, heatmaps, and calendar views

I Ran 300K Company API Lookups. 40K Hit Military Bases.

security, #api, #cybersecurity, #discuss On July 30, 2026, my batch job finished 300,000 domain-to-company lookups. 39,847 of them (13.3%) resolved to defense contractors, military-adjacent parent…

  • 300,000 API lookups performed on July 30, 2026
  • 39,847 (13.3%) resolved to defense contractors or military-related companies
  • Classifier used simple string matches and geographic proximity

More from Saturday 22 August →