Every captured commit receives deterministic security triage and a separate communication-quality score. Security candidates and broader second-pass signals receive full-patch Ollama analysis.
Message quality measures whether a commit identifies its scope, purpose, rationale, testing, and supporting references. It does not change the security-severity score.
This merge commit hardens LNbits Paywall's file-download feature against two security risks. First, it stops the server from fetching files from internal/private network addresses (so an attacker can't trick the paywall into reading secret…
Server-Side Request Forgery (SSRF) mitigation added via validate_url() and SafeHttpClientSensitive header redaction for non-admin API consumersSwitch from urllib.request.urlopen to safer, streamed HTTP client
This commit fixes two security issues in the LNbits Paywall extension. First, it stops the download feature from using a basic Python URL fetcher that could be tricked into reading files from the server itself (a server-side request forger…
SSRF mitigation: urllib.request.urlopen replaced with SafeHttpClient and validate_url()Credential redaction: file_config.headers hidden from non-admin paywall listingsNew security regression tests for download SSRF, unpaid-download gating, and header visibility
This commit is a routine extension migration to support Pydantic 2 and LNbits 1.7.0. It adds the entire paywall extension codebase, configuration, tests, and build tooling. There is no indication in the commit or supplied references that t…
This commit adds a single configuration line to the project's Python packaging file, telling Poetry not to treat the project as an installable package. It is a build/tooling change with no visible security relevance.
This commit removes a single line that marked a payment as 'not pending' when checking whether a paywall payment was made. The change appears to be a code cleanup because the status update was unnecessary during a read-only check. There is…
No security-relevant keywords in commit title or messageChange is a two-line deletion with no added logicNo references, CVEs, or attribution supplied
This commit is a routine code-quality and tooling update for the LNbits Paywall extension. It adds linting/formatting configuration (Black, Ruff, Prettier, mypy, pyright), restructures how FastAPI routers are registered, renames a shadowin…
This commit is purely a documentation and metadata update for the LNbits Paywall extension. It adds a longer description, terms-and-conditions text, screenshots, contributor links, and license information. No code that handles payments, us…
This commit only adds documentation to the README explaining that files can also be protected behind a paywall. No code was changed, and there is no security issue visible in the diff.
This commit adds a new 'File Download' paywall feature to the LNbits Paywall extension. It lets sellers charge for access to files hosted elsewhere, with the server fetching the file on behalf of paying customers. The change also introduce…
Server-Side Request Forgery (SSRF) risk: `_file_streamer` fetches user-controlled `file_config.url` with user-controlled `file_config.headers` from the server, potentially allowing internal network probing or credential exfiltration if headers/URL are attacker-controlled.Payment-hash reuse across paywalls is mitigated: `_is_payment_made` now checks `payment.extra.get('id')` matches the requested paywall ID.Authorization elevation: create/update/delete now require admin key instead of any wallet key.
This commit only updates the README.md file with a more descriptive title and a link to a tutorial. It does not change any code, configuration, or security behavior.
This commit is mostly cosmetic reformatting and updating import statements to match newer FastAPI versions. The only functional code changes are adding explicit 'string' type annotations to several web endpoint parameters and removing a de…
route parameters now explicitly typed as strpaywall_id made required instead of optional (Query(None) removed) on invoice creation and invoice check endpointsimport migration from starlette to fastapi modules
This commit simply adds a standard MIT open-source license file to the repository. It makes no changes to program code, configuration, or security settings. There is no security issue here.
This commit adds a standard GitHub Actions workflow that automatically creates a release when a version tag like '1.0' is pushed. It is purely a CI/CD automation change and does not modify application code, user-facing behavior, or securit…
This commit changes one word in a manifest file, renaming the referenced repository from 'paywall-extension' to 'paywall'. It is a metadata-only update with no code changes and no security relevance.
Expand any commit for its author, full message, clarity score, changed files, triage signals, analysis, and source link.
Security candidateAdd `File Download` paywall support (#3)by Vlad Stan · 32cfefa3 · Feb 7, 2024 · 8 filesMessage 76 · AdequateLow 48Details
Commit message · Vlad Stan
Add `File Download` paywall support (#3)
* feat: introduce file options
* feat: add file download fields
* feat: save file download configs
* feat: show edit dialog
* feat: add support for `Paywall` update
* fix: paywall update
* feat: add mockup download
* feat: check paywall type
* chore: code format 1
* chore: code format 2
* chore: code format 3
* feat: download private files
* fix: permissions
* chore: code format
* feat: check for payment before allowing download
* feat: use shorter link
* chore: code clean-up
* chore: improve log messages
* chore: ruff stuff
* chore: extra logging
* chore: better error handling
* chore: code format
* feat: add `GET` endpoint for creating an invoice
* feat: add `head` operation for download
* feat: add websocket endpoint for invoice check
* feat: watch for paid invoices
* fix: add `paywall_id` in the path for the websocket
* chore: extra logging
76/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Links an issue, advisory, or supporting reference
Why it was queued
credential or privilege state
AI analysis · Low 48/100
This commit adds a new 'File Download' paywall feature to the LNbits Paywall extension. It lets sellers charge for access to files hosted elsewhere, with the server fetching the file on behalf of paying customers. The change also introduces paywall editing, switches some endpoints to require admin keys, and adds a WebSocket for real-time payment confirmation. There are some security-relevant design choices, but no clear vulnerability is directly introduced by the patch itself.