Skip to content

chore(deps): bump slsa-framework/slsa-github-generator from 2.0.0 to 2.1.0 - #106

Merged
unclesp1d3r merged 4 commits into
mainfrom
dependabot/github_actions/slsa-framework/slsa-github-generator-2.1.0
Aug 12, 2025
Merged

chore(deps): bump slsa-framework/slsa-github-generator from 2.0.0 to 2.1.0#106
unclesp1d3r merged 4 commits into
mainfrom
dependabot/github_actions/slsa-framework/slsa-github-generator-2.1.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 11, 2025

Copy link
Copy Markdown
Contributor

Bumps slsa-framework/slsa-github-generator from 2.0.0 to 2.1.0.

Release notes

Sourced from slsa-framework/slsa-github-generator's releases.

v2.1.0

What's Changed

... (truncated)

Changelog

Sourced from slsa-framework/slsa-github-generator's changelog.

v2.1.0

v2.1.0: Sigstore Bundles for Generic Generator and Go Builder

The workflows generator_generic_slsa3.yml and builder_go_slsa3.yml have been updated to produce signed Sigstore Bundles, just like all the other builders that use the BYOB framework.

The workflow logs will now print a LogIndex, rather than a LogUUID. Both are equally searchanble on https://search.sigstore.dev/.

v2.1.0: Vars context recorded in provenance

  • Updated: GitHub vars context is now recorded in provenance for the generic and container generators. The vars context cannot affect the build in the Go builder so it is not recorded.
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [slsa-framework/slsa-github-generator](https://github.com/slsa-framework/slsa-github-generator) from 2.0.0 to 2.1.0.
- [Release notes](https://github.com/slsa-framework/slsa-github-generator/releases)
- [Changelog](https://github.com/slsa-framework/slsa-github-generator/blob/main/CHANGELOG.md)
- [Commits](slsa-framework/slsa-github-generator@v2.0.0...v2.1.0)

---
updated-dependencies:
- dependency-name: slsa-framework/slsa-github-generator
  dependency-version: 2.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Aug 11, 2025
@dependabot
dependabot Bot requested a review from unclesp1d3r as a code owner August 11, 2025 18:37
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Aug 11, 2025
@coderabbitai

coderabbitai Bot commented Aug 11, 2025

Copy link
Copy Markdown
Contributor

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Join our Discord community for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR/Issue comments)

Type @coderabbitai help to get the list of available commands.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Status, Documentation and Community

  • Visit our Status Page to check the current availability of CodeRabbit.
  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@unclesp1d3r

unclesp1d3r commented Aug 11, 2025

Copy link
Copy Markdown
Member

🎉 Snyk checks have passed. No issues have been found so far.

security/snyk check is complete. No issues have been found. (View Details)

code/snyk check is complete. No issues have been found. (View Details)

@codecov

codecov Bot commented Aug 11, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@unclesp1d3r
unclesp1d3r merged commit 84778cb into main Aug 12, 2025
15 of 16 checks passed
@unclesp1d3r
unclesp1d3r deleted the dependabot/github_actions/slsa-framework/slsa-github-generator-2.1.0 branch August 12, 2025 03:46
unclesp1d3r added a commit that referenced this pull request Apr 19, 2026
…dator hardening, plugin-dir trust model, plugin loader Phase A

- Sanitizer now redacts OpenVPN <tls> and <StaticKeys> XML elements.
  Adds IsOpenVPNStaticKey detector matching the -----BEGIN OpenVPN
  Static key V1----- envelope. Field-patterns use path-anchored forms
  (openvpn.tls, openvpn-server.tls, openvpn-client.tls,
  openvpn.statickeys) to avoid substring collisions with the
  non-OpenVPN <tls> tags in Suricata eveLog and IPsec charon syslog
  (both found during schema audit). Regression tests cover both
  positive redaction (4 fixtures x 3 modes) and false-positive
  protection (Suricata + IPsec). Fixes SEC-H1.

- pfSense validator protected against stomp. Unexport ValidateFunc;
  add SetValidator guarded by sync.Once over atomic.Pointer so
  external readers race-free. Naive sync.Once + plain var had a
  data race between writers and ParseAndValidate readers detected
  under -race. Test-only ResetValidatorForTesting in export_test.go
  lets tests swap validators without leaking into the public API.
  TestPfSense_SetValidator_CannotBeOverwritten and
  TestPfSense_SetValidator_Race added. cmd/root.go:wirePfSenseValidator
  calls SetValidator. Fixes SEC-H2. BREAKING change to pkg/parser/
  pfsense (free pre-v1.5 per Current Regime).

- --plugin-dir CLI flag: expand help text with trust-model warning
  ("full process privileges", "no signature verification",
  "GOTCHAS §2.5"). Add stderr warning in audit PreRunE mirroring the
  red-mode precedent. Shared helper warnPluginDirTrustModel lives in
  cmd/shared_flags.go so future commands accepting --plugin-dir emit
  byte-identical warnings. Unit test pins the warning substrings.
  README § Security gains a Dynamic plugin trust model paragraph;
  docs/user-guide/commands/audit.md gains a Dynamic Plugin Security
  subsection. Fixes SEC-H3.

- Plugin loader Phase A hardening: os.Lstat preflight rejects
  symlinks, group/world-writable files, group/world-writable
  container directories, and relative paths. SHA-256 digest with
  64 MiB size cap computed before plugin.Open. Structured audit log
  (path, sha256, mode, owner_uid, mtime, size_bytes, verdict, reason)
  on every load attempt — INFO accept / WARN reject. POSIX/Windows
  split via build tags (owner_uid unavailable on Windows). 10 new
  tests in plugin_hardening_test.go with documented cross-platform
  skip rationale. Phase B (operator-configurable size cap, owner
  UID check, path denylist, filename allowlist, optional SHA-256
  manifest, seccomp/landlock recipe) tracked for post-v1.5.

Todos resolved: #104, #105, #106, #123, #127, #128, #146 (Phase A),

Signed-off-by: UncleSp1d3r <unclesp1d3r@evilbitlabs.io>
#154 (Phase A).
unclesp1d3r added a commit that referenced this pull request Apr 19, 2026
…dator hardening, plugin-dir trust model, plugin loader Phase A

- Sanitizer now redacts OpenVPN <tls> and <StaticKeys> XML elements.
  Adds IsOpenVPNStaticKey detector matching the -----BEGIN OpenVPN
  Static key V1----- envelope. Field-patterns use path-anchored forms
  (openvpn.tls, openvpn-server.tls, openvpn-client.tls,
  openvpn.statickeys) to avoid substring collisions with the
  non-OpenVPN <tls> tags in Suricata eveLog and IPsec charon syslog
  (both found during schema audit). Regression tests cover both
  positive redaction (4 fixtures x 3 modes) and false-positive
  protection (Suricata + IPsec). Fixes SEC-H1.

- pfSense validator protected against stomp. Unexport ValidateFunc;
  add SetValidator guarded by sync.Once over atomic.Pointer so
  external readers race-free. Naive sync.Once + plain var had a
  data race between writers and ParseAndValidate readers detected
  under -race. Test-only ResetValidatorForTesting in export_test.go
  lets tests swap validators without leaking into the public API.
  TestPfSense_SetValidator_CannotBeOverwritten and
  TestPfSense_SetValidator_Race added. cmd/root.go:wirePfSenseValidator
  calls SetValidator. Fixes SEC-H2. BREAKING change to pkg/parser/
  pfsense (free pre-v1.5 per Current Regime).

- --plugin-dir CLI flag: expand help text with trust-model warning
  ("full process privileges", "no signature verification",
  "GOTCHAS §2.5"). Add stderr warning in audit PreRunE mirroring the
  red-mode precedent. Shared helper warnPluginDirTrustModel lives in
  cmd/shared_flags.go so future commands accepting --plugin-dir emit
  byte-identical warnings. Unit test pins the warning substrings.
  README § Security gains a Dynamic plugin trust model paragraph;
  docs/user-guide/commands/audit.md gains a Dynamic Plugin Security
  subsection. Fixes SEC-H3.

- Plugin loader Phase A hardening: os.Lstat preflight rejects
  symlinks, group/world-writable files, group/world-writable
  container directories, and relative paths. SHA-256 digest with
  64 MiB size cap computed before plugin.Open. Structured audit log
  (path, sha256, mode, owner_uid, mtime, size_bytes, verdict, reason)
  on every load attempt — INFO accept / WARN reject. POSIX/Windows
  split via build tags (owner_uid unavailable on Windows). 10 new
  tests in plugin_hardening_test.go with documented cross-platform
  skip rationale. Phase B (operator-configurable size cap, owner
  UID check, path denylist, filename allowlist, optional SHA-256
  manifest, seccomp/landlock recipe) tracked for post-v1.5.

Todos resolved: #104, #105, #106, #123, #127, #128, #146 (Phase A),

Signed-off-by: UncleSp1d3r <unclesp1d3r@evilbitlabs.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant