Skip to content

feat(security): add GIT_CONFIG_PARAMETERS env var and new vulnerable …#1163

Merged
steveukx merged 3 commits into
mainfrom
claude/add-git-config-vulnerabilities-Aowhg
May 2, 2026
Merged

feat(security): add GIT_CONFIG_PARAMETERS env var and new vulnerable …#1163
steveukx merged 3 commits into
mainfrom
claude/add-git-config-vulnerabilities-Aowhg

Conversation

@steveukx
Copy link
Copy Markdown
Owner

@steveukx steveukx commented May 2, 2026

…config keys

  • GIT_CONFIG_PARAMETERS is grouped with GIT_CONFIG_COUNT under allowUnsafeConfigEnvCount since both allow injecting arbitrary config via environment variables
  • difftool.*.cmd (e.g. difftool.vimdiff.cmd) is now blocked under allowUnsafeDiffExternal
  • pager.* with any suffix depth (pager.log, pager.log.color) is blocked under allowUnsafePager
  • uploadpack.packObjectsHook is blocked under allowUnsafePack

…config keys

- GIT_CONFIG_PARAMETERS is grouped with GIT_CONFIG_COUNT under allowUnsafeConfigEnvCount since both allow injecting arbitrary config via environment variables
- difftool.*.cmd (e.g. difftool.vimdiff.cmd) is now blocked under allowUnsafeDiffExternal
- pager.* with any suffix depth (pager.log, pager.log.color) is blocked under allowUnsafePager
- uploadpack.packObjectsHook is blocked under allowUnsafePack

https://claude.ai/code/session_01WnezAA6AyyhG7fmCsiosqN
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 2, 2026

🦋 Changeset detected

Latest commit: defdf49

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@simple-git/argv-parser Patch
simple-git Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@steveukx steveukx merged commit 1bb14df into main May 2, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants