Skip to main content
RansomLeak Security Training

Every exercise is indexed by name, CWE, OWASP, MITRE ATT&CK, CIS, NIST CSF, GDPR and EU AI Act reference.

Try

Free GitHub App and Action

Turn GitHub code scanning findings into secure-coding lessons

When CodeQL or any SARIF scanner flags a weakness on a pull request, RansomLeak comments with a short lesson on that exact class of bug. It is free, needs no RansomLeak account, and sends identifiers only, never your code.

Install the GitHub App View the Action on GitHub Marketplace

Last updated November 2026

Overview

A scanner tells a developer what is wrong. It rarely teaches them why. RansomLeak adds the missing step on the pull request, while the code is still fresh.

There are two free ways in, and both work without a RansomLeak account:

  • Reads code scanning alerts or any SARIF file
  • Matches each finding to a 5-10 minute lesson
  • Posts one comment on the pull request
  • Identifiers only, never source code

How it works

  1. Your scanner runs on the pull request. That is GitHub code scanning for the App, or a SARIF file from CodeQL, Semgrep, Trivy, Gitleaks or similar for the Action.

  2. Each finding is matched on its CWE. Secrets and dependency advisories match on the scanner type. SQL injection, XSS, path traversal, SSRF, hard-coded secrets and vulnerable dependencies all have a lesson.

  3. RansomLeak adds one comment to the pull request with up to five lessons, one per issue type. Later runs edit the same comment instead of adding new ones.

  4. With the App installed, a finished lesson is ticked in the comment. The App also sets a check named RansomLeak Secure Coding, which never fails.

Pull requests without lessons never report the check, so do not make it required. Fixing the code does not remove the lesson from the comment.

The RansomLeak comment on a GitHub pull request, with three secure-coding lessons ticked as completed
The lesson comment on a pull request, with finished lessons ticked.
The RansomLeak Secure Coding check on a GitHub pull request
The App also sets a check that never fails the pull request.

GitHub App or GitHub Action

GitHub App GitHub Action
ReadsGitHub code scanning alertsA SARIF file from your scanner
Private repositoriesOnly with GitHub Code SecurityYes, without Code Security
Ticks finished lessonsYesOnly if the App is also installed

The GitHub App needs no configuration: install it on the repositories you choose. To use the GitHub Action (source on GitHub), add it after the step that writes your SARIF file. The workflow needs pull-requests: write and id-token: write, and there is no secret to add:

- uses: ransomleak/secure-coding-action@v1 with: sarif: results.sarif

Full steps are in the GitHub setup guide.

Permissions and data handling

The Action proves which repository it runs in with GitHub's OIDC token, so there is nothing to sign up for. What reaches RansomLeak is kept to identifiers.

Data How it is handled
FindingsScanner name, CWE ids, whether a rule is a CVE or GHSA advisory, and the pull request number. No source code, file paths or snippets.
The developerNo per-developer record is kept on our side.
InstallsUninstalling the App deletes its record. Action-only use keeps one numeric GitHub account id, removed on request.

For how RansomLeak handles data, see the privacy policy and the security and compliance page.

Frequently asked questions

Does RansomLeak integrate with GitHub?

Yes. RansomLeak offers a free GitHub App, RansomLeak Secure Coding, and a free GitHub Action. When code scanning or your own scanner flags a weakness on a pull request, a comment on that pull request links to a matched secure-coding lesson of 5-10 minutes. No RansomLeak account is needed.

Which scanners does it work with?

The App reads GitHub code scanning alerts, for example from CodeQL. The Action reads a SARIF file, so it works with CodeQL, Semgrep, Trivy, Gitleaks and other tools whose rules carry a CWE, a CVE or a GHSA, plus secrets scanners.

Should I use the App or the Action?

Use the App if code scanning already runs on the repository: public repositories, or private ones with GitHub Code Security. Use the Action for private repositories without Code Security, or for any scanner that writes SARIF. Install the App as well if you want finished lessons ticked on the pull request.

Does it block the merge or fail the build?

No. The App sets a check named RansomLeak Secure Coding that is neutral while lessons are open and success when they are finished. It never fails. The Action never fails your workflow either: if something goes wrong, it logs a warning and carries on.

What data does RansomLeak receive?

Identifiers only: the scanner name, the CWE ids of the rules that produced a result, whether a rule is a CVE or GHSA advisory, and the pull request number. No source code, file paths or snippets are sent, and RansomLeak keeps no per-developer record.

Does a tick prove who did the training?

No. The lesson link belongs to the pull request, not to a person, so anyone who can open the pull request can complete it. Treat the tick as a nudge in review, not as proof of individual training.

Next guide The same lessons on Azure Repos A free Azure Pipelines task reads your SARIF and posts one lesson thread on the pull request.

Need a hand?

Email support@ransomleak.com and we will help you connect GitHub to your tenant.

See RansomLeak in Action

Try the free exercises or book a demo to see analytics, SCORM export, SSO, and custom content in your environment.