Zum Hauptinhalt springen
LIVE
CVSS 6.9CVE-2026-137684 | A security flaw has been discovered in eosphoros-ai DB-GPT up to 0.8.3. This affects the function editor_sql_run of the file packages/dbgpt-app/src/dbgpt_app/openapi/api_v1/editor/api_editor_v1.py of the component Editor SQL Run API. Performing a manipulation of the argument db_name results in authorization bypass. It is possible to initiate the attack remotely. The exploit has been released to the public and may be used for attacks. The pull request to fixCVSS 8.7CVE-2026-137992 | libexpat through 2.11.0 contains a denial of service vulnerability in defineAttribute() of lib/xmlparse.c that fails to detect duplicate non-ID #IMPLIED or #REQUIRED attribute declarations. Attackers can supply a crafted XML document with repeated ATTLIST declarations in an internal DTD subset to cause quadratic CPU consumption in storeAtts() during parsing.CVSS 8.5CVE-2026-137994 | Leo through 6.8.10 contains an insecure deserialization vulnerability that allows attackers to execute code by embedding pickled data in unknown XML attributes of .leo outlines. Attackers can place a pickle __reduce__ gadget in a or element attribute that resolveUa passes to pickle.loads, executing code with user privileges when the outline is opened.CVSS 7.0CVE-2026-137995 | FOG Project before 1.6.0.119 contains an information disclosure vulnerability that allows unauthenticated attackers to obtain host tokens from status/hostgetkey.php by supplying a host MAC address. Attackers can present the token to service/hostinfo.php to retrieve decrypted Active Directory join credentials and Windows product keys during deployment windows.CVSS 6.8CVE-2026-137996 | Zettlr before 4.11.0 fails to validate URI schemes in Markdown link targets, allowing attackers to launch arbitrary registered protocol handlers via Electron shell.openExternal without confirmation. Attackers can craft documents whose Ctrl/Cmd-clicked links use smb:// to leak NTLM credential hashes on Windows or invoke custom protocol handlers with attacker-controlled parameters.CVSS 8.5CVE-2026-137997 | HCIPy through 0.7.1 contains an insecure deserialization vulnerability that allows attackers to execute code by supplying crafted .pkl files to read_field, read_grid or read_mode_basis. Because hcipy/util/io.py selects pickle by file extension and calls pickle.load, a __reduce__ gadget in a pupil, apodizer, PSF or mode-basis file runs code with the user's privileges.CVSS 8.5CVE-2026-137998 | Detoxify 0.5.3 through 0.5.4 contains an insecure deserialization vulnerability in load_checkpoint that allows attackers to execute code by supplying a crafted checkpoint file. Attackers can embed a pickle __reduce__ gadget in a .ckpt file loaded via torch.load with weights_only=False to run code with the user's privileges.CVSS 8.5CVE-2026-137999 | JSONSchema2PoPo2 through 3.0.3 contains a code injection vulnerability that allows attackers to inject Python code by supplying JSON Schema default or format values that are written unescaped. Attackers can place a single quote in a string property default to break out of the literal in the generated __init__ signature, executing injected code when the generated module is imported.
Alle im Drawer
Intelligence View
⚡ tsecurity.de Intelligence

Week - 1 (Phase 1)

Week 1 of My LFDT Mentorship: Architecture, Hedera, and Getting Everything Running Welcome to the first post of my LFDT (Linux Foundation Decentralized Trust)…

Beitrag
0
Seite
0
↗ Quelle (dev.to)
Quelle & Fakten · 7 Min. Lesezeit
Quelle: dev.to
Rubrik: Programación segura




Week 1 of My LFDT Mentorship: Architecture, Hedera, and Getting Everything Running



Welcome to the first post of my LFDT (Linux Foundation Decentralized Trust) mentorship blog! Each week I'll be writing about what I built, what I learned, and — honestly — what confused me along the way.



Week 1 was all about planning, architecture decisions, and setting up the groundwork before any real code gets written. No flashy features yet, but a lot of important decisions that will shape everything that comes after. Let's get into it.









The Week at a Glance



Here's a quick summary of everything on my plate this week:




  • Align the implementation plan with my mentor and confirm the interpretation of Issue #87

  • Finalize the target architecture for the whole project

  • Sort out the Hedera testnet setup and operator credentials

  • Understand the revocation strategy and its scope during mentorship

  • Set up the local Heka development environment

  • Install and configure a GitHub App for local testing

  • Create a webhook fixture repository for replaying PR events

  • Prepare a PR slicing plan for incremental delivery









Aligning with the Mentor & Locking Down the Plan



The week started with a sync with my mentor to get the implementation plan nailed down. The good news is, the week-by-week plan has been finalized after a proper discussion, and the interpretation of Issue #87 has been confirmed. With the plan locked in, I can move forward with confidence in the coming weeks.









Deciding the Target Architecture



One of the bigger decisions this week was figuring out where everything actually lives, contributor onboarding, GitHub integration, credential issuance, DID management, and verification policy logic all need a home.



Here's what we landed on:





  • heka-identity-service — This is where the core modules live: contributor onboarding, credential issuance, DID management, and verification policy logic. All of this gets built as a dedicated module within this repo.


  • A separate GitHub repository — The GitHub integration code (the Probot app, webhook handling, check-run posting) lives in its own repo, completely separate from heka-identity-service. This keeps Heka clean and focused on identity, and makes the GitHub-specific code easier to extend or extract later.



There are still a few grey areas to iron out over the next couple of weeks, but the overall direction is clear and agreed upon.









Understanding Hedera: Consensus Nodes vs Mirror Nodes




If you're already familiar with Hedera's architecture, feel free to skip ahead to the next section!




Before I explain how Hedera fits into this project, let me share something I was confused about early on: what's the difference between a consensus node and a mirror node?



Unlike older blockchains (like Ethereum) that use a single node type for everything, Hedera splits the workload into two completely different node types to keep the network fast.






1. Consensus Node — The Write Database




  • This is where you send new transactions (like creating an account or logging a DID document to the ledger).

  • Its job is to receive the transaction, verify it, agree on a timestamp, and write it to the ledger as fast as possible.

  • Because it's hyper-focused on speed and new writes, it's not great at answering questions about old or historical data.






2. Mirror Node — The Read Database




  • The mirror node sits quietly alongside the consensus node and constantly copies (mirrors) every approved transaction.

  • Its only job is to take that raw blockchain data and organize it into a highly searchable traditional database (like PostgreSQL), and expose a REST API that developers can query.

  • Important caveat: you cannot send new transactions to the mirror node — it's strictly read-only.






How This Applies to Our Project



In practice, the two node types serve two completely different purposes in our system:





  • Writing (creating/updating a DID): Our backend uses the consensus node, authorized via operator credentials from our .env. The SDK signs the transaction automatically using the operator key.


  • Reading (showing transaction history or verifying an identity): The frontend makes a standard HTTP GET request directly to the mirror node's REST API — completely bypassing the consensus node.



Our .env will look something like this:




HEDERA_NETWORK=
OPERATOR_ID=
OPERATOR_KEY=
NODE_IP=
MIRROR_NODE_IP=












HBAR Balance & Revocation Strategy



After clarifying with my mentor Alexander, I now have the credentials for the operator account. The account comes loaded with enough test HBAR tokens to cover everything I need during development — creating, updating, and querying DIDs. So the token balance won't be a blocker at all.



On the revocation front: implementing a full, hardened VC revocation mechanism is out of scope for this mentorship. The focus right now is on building a working prototype, so revocation will either be tackled in the second half of the mentorship or saved for post-mentorship work. For now, the expectation is lightweight documentation and runbook-level treatment — not a working mechanism.









Setting Up the Local Dev Environment



This was the most hands-on part of the week. Getting the local Heka environment running required wiring together three tools: Nginx, Ngrok, and a GitHub App. Let me walk through how they fit together.






The Nginx Routing Rules



Nginx listens on Port 8080 and applies two simple routing rules to every incoming request:




# Rule 1: Route GitHub Webhooks → Probot GitHub App (Port 3000)
location /api/webhook {
proxy_pass http://127.0.0.1:3000;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}

# Rule 2: Route everything else → Heka Core Backend (Port 3001)
location / {
proxy_pass http://127.0.0.1:3001;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}






In plain English:




  1. If the request is to /api/webhook → forward it to the GitHub App on Port 3000

  2. Everything else → forward it to the main Heka backend on Port 3001






Why Ngrok Is Necessary



Here's the catch: Nginx only listens on localhost. But when GitHub fires a webhook event, "localhost" from GitHub's perspective means GitHub's own servers — not your machine. It would send the event into the void, find nothing, and drop it silently.



Ngrok solves this by creating a public tunnel from your local Port 8080 directly to the internet:




ngrok http 8080






Ngrok gives you a temporary public URL — something like https://something.ngrok-free.app. You paste this into your GitHub App's webhook URL settings. Now the entire flow works end-to-end:




GitHub fires a PR event
↓
Hits the public Ngrok URL
↓
Ngrok tunnels it to Port 8080 on your local machine
↓
Nginx reads the request and applies the two routing rules
↓
Correct service handles it (Port 3000 or 3001)






A one-liner to remember the whole pipeline:




GitHub labels it and sends it → Ngrok blindly transports it → Nginx reads it and diverts it.










Webhook Fixture Repository



To avoid opening real pull requests every single time I want to test webhook handling, I created a dedicated fixture repository for generating and replaying PR events during development.



You can find it here: darshit2308/Heka-Webhook-Fixture









The PR Slicing Plan



To keep development incremental and mentor-reviewable, I've planned out the PR delivery sequence. This is tentative for now, but here's the rough order:




  1. ADRs and credential profile documentation

  2. Deterministic DID verification method helper and Hedera secret validation

  3. GPG challenge lifecycle module with tests

  4. GitHub App adapter skeleton and check-run creation (separate repo from Heka, per mentor direction)

  5. GitHub OAuth and contributor binding

  6. Contributor credential OID4VCI support

  7. Heka Web Wallet prototype (lives inside the Heka repository; non-Askar key management)

  8. Heka Web UI onboarding flow

  9. Repository config parser and policy schema

  10. OID4VP verification integration (Web Wallet as the primary target)

  11. Lifecycle and recovery documentation (runbooks; no revocation implementation)

  12. E2E test suite, docs, and final demo artifacts









Looking Ahead



Week 1 was heavy on planning, decisions, and setup — but that's exactly how it should be. A solid foundation now means fewer surprises (and fewer painful rewrites) later. Starting next week, the real implementation begins: ADRs, the DID helper utilities, and the first PR going out the door.



Stay tuned for Week 2!






This post is part of my ongoing LFDT Mentorship 2026 blog series. Feel free to reach out if you have questions or want to discuss anything covered here!

Information ergänzen Fachhinweis, Update, Korrektur oder Quelle zur Meldung beitragen
Gäste-Hinweise werden kurz redaktionell geprüft und danach hier angezeigt.

Community-Hinweise zur Meldung

0 freigegeben
Social ReaktionenReagiere als Erste:r — dein Feedback zählt!
Informations-Bewertung:

💬 Debate de la comunidad y comentarios

🌐 Unirse al chat principal

Inicia el debate en el stream de difusión del Social Chat o envía arriba una contribución experta mediante el formulario de ampliación.

Valoración de la comunidad & prueba social
⭐ Valoración de los lectores
–
Ø / 5.0
Aún no hay valoraciones de lectores
¿Le ha resultado útil este artículo?
0
Dejar una valoración ahora
Valoración detallada (opcional)
Contenido & calidad
Fuente & credibilidad
Actualidad
Briefing de seguridad Gratis · baja en 1 clic

Intelligence Digest — gratis

Cada día las noticias de seguridad más importantes · baja en cualquier momento

Clústeres de historias relacionados & fuentes (IA vectorial)

2 Cluster
2 fuentes
OpenAI counter-sues Apple over trade secret theft
AppleInsider News hace 43 min.
1 fuente más
Artículos similares
🔍 Verwandte News

Auch interessante Nachrichten Week - 1 (Phase 1)

Thematisch verwandte Begriffe: Week, Phase · 6 Treffer

Laden...

Cargando vídeos ...

Laden...

Cargando artículos ...

Laden...

Cargando vídeos ...

Laden...

Cargando artículos ...

Laden...

Cargando vídeos ...

💬 Cargando comentarios…
Desliza para actualizar
Widgets & Topics
Loading widgets…
Nächster Beitrag