Security Policy
How to report a vulnerability in Lafke, and how to verify what you download.
Reporting a vulnerability
Report security issues privately through GitHub Security Advisories on lafke/lafke. This covers the CLI, and also the analysis engine published through lafke/engine-releases.
Do not open a public issue for an unreleased vulnerability.
We aim to acknowledge reports within 5 business days.
Supported versions
Only the latest tagged release is supported until v1.0.
Verifying a release
Release artifacts are published with a checksums.txt file, SPDX SBOMs, and GitHub artifact attestations. You can verify either the release archive or the extracted binary:
gh attestation verify lafke_darwin_arm64.tar.gz --repo lafke/lafke
gh attestation verify ./lafke --repo lafke/lafkeWhat the installer checks
The installer checks the download’s SHA-256 against checksums.txt, and verifies its GitHub attestation. Attestation verification needs the GitHub CLI signed in with gh auth login; without it, the installer stops. Pass --skip-attestation to install without verifying.
lafke engine install applies the same checks to the analysis engine: its SHA-256 and its GitHub attestation.
What Lafke does not protect against
Lafke makes changes to dependency trust visible, and fails CI under policy. It does not catch every attack. For example, it cannot see malicious code in a package that OSV does not list, and a clean sast run is not proof that your own code is safe. The threat model lists what Lafke protects against, what it does not, and which services it trusts as inputs.
Privacy
Lafke may send public dependency names and versions to OSV and the npm registry. Private registries are not queried in the default public-only network mode. See Privacy.
For questions that are not vulnerability reports, see Support.