Case Study: How I Found Four Critical Vulnerabilities in a Popula
The report describes four vulnerabilities in a Python SDK for the Lightning Network: a hardcoded webhook secret, insecure master seed handling, verbose error messages, and reflected XSS with log injection. An attacker could forge payment notifications, sign arbitrary transactions to steal funds, enumerate the GraphQL schema, and execute scripts in a victim's browser.
Instagram: @letchupkt • GitHub: letchupkt • LinkedIn: lakshmikanthank Published: December 2025
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Impact
Attackers could forge payment confirmations, sign arbitrary transactions to steal all channel funds, enumerate the GraphQL schema, and execute scripts in a victim's browser.
What the attacker needed
Access to the webhook endpoint; knowledge of the default secret; victim uses the example code
The fix
The issues were fixed by removing hardcoded secrets, enforcing secure seed handling, adding generic error messages, and validating user input.
How it was found
- Compute a valid HMAC signature using the public default secret.
- Send a forged webhook request with a payment success event.
- The victim application marks the order as paid and ships goods.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
This is a security review of a software library used to build Lightning Network applications. The author found several mistakes, such as a default password that was never changed and a signing key that was handled carelessly. These mistakes could let an attacker pretend to be a legitimate payment system and steal money.
What is Leaked secrets?
Keys, tokens or passwords left in public code, apps, logs or responses, that grant real access.