chore(deps): bump slsa-framework/slsa-github-generator from 2.0.0 to 2.1.0 - #106
Merged
unclesp1d3r merged 4 commits intoAug 12, 2025
Conversation
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>
Contributor
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Join our Discord community for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
Status, Documentation and Community
|
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) |
…a-github-generator-2.1.0
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
…a-github-generator-2.1.0
…a-github-generator-2.1.0
unclesp1d3r
approved these changes
Aug 12, 2025
unclesp1d3r
deleted the
dependabot/github_actions/slsa-framework/slsa-github-generator-2.1.0
branch
August 12, 2025 03:46
5 tasks
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).
Merged
8 tasks
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.
... (truncated)
Changelog
Sourced from slsa-framework/slsa-github-generator's changelog.
Commits
f7dd8c5update the ref in the pre-submit0a5124bfix jq for the sigstore bundlesfbeecf0update docsf701310update workflows3618598v2.1.0-rc.346f81fcchore: update refs to v2.1.0-rc.1 (#4120)5d20c93chore: use builder tag v2.1.0-rc.0 (#4118)e27b237chore: braces and ejs vulns (#4116)8967e1cchore: Update CODEOWNERS (#4115)47d1954chore: update octokit deps (#4114)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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)