Skip to content

[Security] Enable CFI/LTO Hardening and Automated SBOM Generation #481

@somethingwithproof

Description

@somethingwithproof

Summary

Hardening the binary against exploit vectors and providing transparency into the software supply chain.

Work

  • Control Flow Integrity (CFI): Ensure that function pointers in the poller cannot be hijacked.
  • Link-Time Optimization (LTO): Enable LTO in the CI for cross-file inlining and improved static analysis.
  • Automated SBOM (CycloneDX/SPDX): Generate a Software Bill of Materials in the GHA pipeline to instantly track vulnerable versions of OpenSSL or MySQL.
  • Hermetic/Static Bundling: Link libmysqlclient and libnetsnmp statically for easier, conflict-free enterprise distribution.

Estimated Effort: 32–50 man-hours.

Acceptance Criteria

  • Work items are implemented and validated.
  • Changes preserve behavior unless explicitly intended.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions