# flex 2.6.4

The Fast Lexical Analyzer - scanner generator for lexing in C and C++

Snapshot of gominimal/pkgs commit `ffa70ca98e23ab044143a5120826dc51bd85a041` (pushed 2026-11-13T03:59:47.000Z).

## Install

```sh
min add flex
```

## Direct advisories

None at this commit.

## Transitive advisories

None at this commit.

## Dependencies

- Build (4): [base-bootstrap](https://minimal.dev/pkgs/base-bootstrap.md), [m4](https://minimal.dev/pkgs/m4.md), [make](https://minimal.dev/pkgs/make.md), [toolchain](https://minimal.dev/pkgs/toolchain.md)
- Runtime (1): [glibc](https://minimal.dev/pkgs/glibc.md)

## OpenSSF Scorecard

Aggregate score: 6.5 / 10. Scored by OpenSSF Scorecard. Repository scored: westes/flex. Scanned 2026-10-26.

Result on OpenSSF's viewer: https://scorecard.dev/viewer/?uri=github.com/westes/flex

Checks, scored 0-10 as the Scorecard tool reports them (N/A: not applicable or inconclusive):

| Check | Score | Reason |
| --- | --- | --- |
| [Binary-Artifacts](https://minimal.dev/docs/reference/scorecard.md#check-binary-artifacts) | 10 | No binaries found in the repo |
| [Branch-Protection](https://minimal.dev/docs/reference/scorecard.md#check-branch-protection) | 0 | Branch protection not enabled on development/release branches |
| [CII-Best-Practices](https://minimal.dev/docs/reference/scorecard.md#check-cii-best-practices) | 0 | No effort to earn an OpenSSF best practices badge detected |
| [Code-Review](https://minimal.dev/docs/reference/scorecard.md#check-code-review) | 0 | Found 0/17 approved changesets -- score normalized to 0 |
| [Dangerous-Workflow](https://minimal.dev/docs/reference/scorecard.md#check-dangerous-workflow) | 10 | No dangerous workflow patterns detected |
| [Fuzzing](https://minimal.dev/docs/reference/scorecard.md#check-fuzzing) | 10 | Project is fuzzed |
| [License](https://minimal.dev/docs/reference/scorecard.md#check-license) | 9 | License file detected |
| [Maintained](https://minimal.dev/docs/reference/scorecard.md#check-maintained) | 10 | 30 commit(s) and 24 issue activity found in the last 90 days -- score normalized to 10 |
| [Packaging](https://minimal.dev/docs/reference/scorecard.md#check-packaging) | 10 | Packaging workflow detected |
| [Pinned-Dependencies](https://minimal.dev/docs/reference/scorecard.md#check-pinned-dependencies) | 10 | All dependencies are pinned |
| [SAST](https://minimal.dev/docs/reference/scorecard.md#check-sast) | 10 | SAST tool is run on all commits |
| [Security-Policy](https://minimal.dev/docs/reference/scorecard.md#check-security-policy) | 0 | Security policy file not detected |
| [Signed-Releases](https://minimal.dev/docs/reference/scorecard.md#check-signed-releases) | 1 | 1 out of the last 5 releases have a total of 1 signed artifacts. |
| [Token-Permissions](https://minimal.dev/docs/reference/scorecard.md#check-token-permissions) | 10 | GitHub workflow tokens follow principle of least privilege |

## Links

- Homepage: https://westes.github.io/flex/
- Package page (HTML): https://minimal.dev/pkgs/flex
- JSON API (floats latest): https://minimal.dev/api/pkgs/flex.json
- SBOM (CycloneDX 1.5): https://minimal.dev/api/pkgs/flex/sbom.json
- Build attestations (JSON): https://minimal.dev/api/pkgs/flex/attestation.json
- [Package catalog](https://minimal.dev/pkgs/search.md)
- [Catalog advisories](https://minimal.dev/pkgs/advisories.md)
