Repository navigation
feat(git): inventory nested bare execution config (ST-131) - #52
Merged
Merged
Conversation
Scan bounded local Git config without invoking Git or its helpers. Reject unsupported configuration instead of publishing a clean grade. ST-131
Record the new rule fingerprint and its effect on opt-in High and security-axis gates. ST-131
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.
Summary
Add bounded, inert inventory for nested bare Git config. Report command-valued
core.fsmonitorordiff.externalas SD-027 only when a regularHEAD,config,objects/, andcore.bare=trueestablish a candidate. Inspect at most 64 candidates and 64 KiB per config. Reject unsupported config, includes, and symlink markers without a grade. Keep.git, vendor, and other existing exclusions.The finding is conditional. The scan does not run Git or configured commands, establish runtime Git auto-discovery, or determine an agent version. The advisory lists Copilot CLI <=1.0.42 as affected and 1.0.43 as patched; an unknown version is not a confirmed CVE.
Evidence
make lint,go test ./... -count=1(5602 tests), andgo vet ./...passed.make verify-clonepassed before publishing this branch.Delivery boundary
The hosted scanner needs a separate sparse-fetch change to preserve the bare-repository signature. Its current released detector pin cannot run SD-027 until a new detector release and downstream pin update. This PR does not release, merge, or deploy anything.
Linear: https://linear.app/glibrulev/issue/ST-131/threat-model-recognize-nested-bare-git-execution-configuration-without