Skip to content

Releases

v0.7.1

Choose a tag to compare

@github-actions github-actions released this 13 Nov 12:00
42e416e

What's fixed

Evidence and monthly reports (#20)

  • A flaw that Hejnal only ever matched by product name, and that -checks then ruled out by reading the version, is now listed as "Ruled out by version". Before, the reports counted it as an exploited flaw found and fixed in 0.0 days.
  • Such an item counts neither as found nor as fixed, and stays out of the median days to fix.
  • The evidence JSON gives these items the status ruled-out and a ruledOut date.
  • An item that was seen with an affected version and then upgraded still counts as fixed.

Built with Go 1.26.11 (#24)

  • The release binaries are built with the newest Go 1.26 patch. It fixes GO-2026-6859 (CVE-2026-97054), a crash in Go's HTTP/1 server. hejnal serve reads a request's body before it responds, so we know of no way to trigger the crash in 0.7.0; upgrade anyway if you run hejnal serve.

GitHub Action

- uses: Legatia/hejnal@v0.7.1
  with:
    fail-on: high

Install

See Install in the README. Each archive comes with an SBOM, and checksums.txt is signed with Sigstore.

Full Changelog: v0.7.0...v0.7.1

v0.7.0

Choose a tag to compare

@github-actions github-actions released this 10 Nov 17:35
35bd124

What's new

A first run without editing a file (#17)

  • hejnal init -domain your-domain.pl -by "Your name, role" writes a scope that is ready to run.
  • Hejnal refuses a scope that still has the example's entries, so nobody scans example.com by accident.
  • A run without -checks says when -checks would shorten the list.
  • The run summary names each flaw once.

Fewer false alarms (#17)

  • Next.js. With -checks, Hejnal reads the version from the scripts the page loads and compares it with NVD's ranges. Before, every exploited Next.js flaw stayed open, because the front page doesn't show the version.
  • Redirects. A port that only redirects, such as 80 to HTTPS, takes the version read at the service it leads to.
  • Secrets. A value that only names an environment variable, such as "$DB_PASSWORD", is no longer reported.

-exclude (#17)

  • hejnal code scan -exclude testdata . leaves directories such as test fixtures out. hejnal leaks scan takes the same flag.
  • A name matches anywhere; a path with a slash matches only under the scanned directory.
  • The GitHub Action has an exclude input.

GitHub Action

- uses: Legatia/hejnal@v0.7.0
  with:
    fail-on: high
    exclude: testdata

Other changes

  • crt.sh is asked up to three times. If it still fails, the message says what the run misses. (#17)
  • The Linux packages name hello@legatia.solutions as the maintainer address, and SECURITY.md gives it for reports from people who can't use GitHub. (#16)
  • Issue forms, a pull request template and a code of conduct. (#16)

Install

See Install in the README. Each archive comes with an SBOM, and checksums.txt is signed with Sigstore.

Full Changelog: v0.6.0...v0.7.0

v0.6.0

Choose a tag to compare

@github-actions github-actions released this 10 Nov 13:09
2f41fa6

What's new

hejnal code scan: check what you build, from your CI (#14)

  • Dependencies. It reads the lockfiles of npm, Yarn, pnpm, pip, Pipenv, Poetry, uv, PDM, Cargo, Go, Bundler, Composer, Gradle, Maven and NuGet, and checks each package against OSV.
  • Container images. It reads images saved with docker save, and OCI archives and layouts. It covers:
    • Debian and Ubuntu packages;
    • Alpine packages;
    • Go programs;
    • Python packages;
    • node_modules.
  • Secrets in the working tree, and in the Git history with -history.
  • Infrastructure code. It reads Terraform files and plans, CloudFormation, Kubernetes, Compose and Helm output. It flags:
    • admin ports open to the internet;
    • public buckets and databases;
    • wildcard IAM policies;
    • privileged containers;
    • host namespaces and host mounts.
  • Exploited first. Malicious packages come first, then flaws on CISA's or ENISA's exploited lists, then flaws likely to be exploited soon (high EPSS). Everything else is low.
  • Every item carries:
    • how sure Hejnal is;
    • a command to see it yourself;
    • the version that fixes it.
  • Output: text, JSON, or SARIF for GitHub code scanning.
  • Flags:
    • -fail-on stops a build at the severity you choose; the default is high.
    • Items accepted with hejnal accept don't stop it.
    • -save adds the results to the daily fix list, scored again each day.
  • Privacy: only package names, ecosystems and versions leave the machine, to OSV. Never code, file names or secrets.

GitHub Action

- uses: Legatia/hejnal@v0.6.0
  with:
    fail-on: high

The action downloads this release and checks it against checksums.txt. See the README for the SARIF upload.

Other changes (#15)

  • Binaries installed with go install now report their real version instead of 0.1.0-dev.
  • hejnal help lists every report.

Install

See Install in the README. Each archive comes with an SBOM, and checksums.txt is signed with Sigstore.

v0.5.0

Choose a tag to compare

@github-actions github-actions released this 10 Nov 12:28
4d285fb

What's new

New checks (#12)

  • Subdomain takeovers: a name of yours whose DNS points at a service that answers "nothing here", such as GitHub Pages, Heroku or S3.
  • Open bucket listings and "Index of /" pages. The evidence never includes file names.
  • Staging and test sites reachable from the internet.
  • Server-side secrets in your site's own JavaScript. Hejnal names the kind of secret, never the value.
  • Missing or weak SPF and DMARC records.
  • A name in your scope whose HTTPS certificate covers none of your names (foreign-host). This usually means a cloud address you gave back that someone else now rents. (#13)

Every item says how sure Hejnal is (#13)

  • Each item gets a verdict: confirmed, likely or check it.
  • It lists the steps behind the verdict: what Hejnal saw, and what it could not check from outside.
  • It gives the curl, openssl or dig command that shows the same thing without Hejnal.

Where to start (#13)

  • The fix list opens with the urgent items, then quick wins of 30 minutes or less.
  • Each item comes with a rough effort.

Evidence for audits (#12)

  • The evidence report maps to SOC 2 CC7.1 and CC4.1, ISO 27001:2022 A.8.8 and A.5.7, and NIS2 Art. 21(2)(e).
  • hejnal evidence -format json exports a versioned record for GRC tools.

Recognition and fixes

  • RouterOS 7.25's login page is recognised. Next.js static exports no longer get a known-exploited finding meant for Next.js servers.
  • A parent domain's DMARC policy now counts for its subdomains.
  • Heroku DNS targets are no longer reported as takeovers.
  • Staging sites are flagged only when the page says so too.
  • Example keys and key fragments in scripts are ignored.

Known issue

Binaries installed with go install report version 0.1.0-dev. Release archives and packages report the right version. This is fixed in the next release.

Install

See Install in the README. Each archive comes with an SBOM, and checksums.txt is signed with Sigstore.

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 10 Nov 12:28
9ad27ed

What's new

  • ENISA's list of exploited vulnerabilities. Hejnal now reads ENISA's list from the European Vulnerability Database next to CISA's KEV catalog.
    • Every flaw carries its EUVD ID.
    • Flaws only ENISA lists are reported too.
    • The fix list says when ENISA listed a flaw before CISA did.
    • hejnal feeds shows both lists. (#6)
  • Overview report for decision-makers: hejnal report overview -o overview.html.
    • It's one A4 page of self-contained HTML, in English or Polish.
    • It gives a verdict, the key numbers and the five items to fix first. (#7)
  • Evidence report for insurers, auditors and security questionnaires: hejnal report evidence -o evidence.html.
    • It's built from your saved runs.
    • It shows how regularly you check, how long each exploited flaw was exposed and how fast it was fixed. (#8)
  • Fuzzing. Every parser of untrusted input has fuzz tests, and CI runs them on every change: fingerprints, KEV, EUVD, NVD, scope and leaked secrets. (#10)

Install

See Install in the README. Each archive comes with an SBOM, and checksums.txt is signed with Sigstore.

v0.3.0

Choose a tag to compare

@Legatia Legatia released this 07 Nov 15:06
c628f76

Changelog