Skip to content

Argument parser vulnerability checks#1167

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

Argument parser vulnerability checks#1167
steveukx merged 3 commits into
mainfrom
claude/add-git-config-vulnerabilities-Aowhg

Conversation

@steveukx
Copy link
Copy Markdown
Owner

No description provided.

claude added 2 commits May 10, 2026 21:23
…rl.insteadOf checks

New vulnerability categories:
- allowUnsafeInclude: blocks include.path (arbitrary config file inclusion)
- allowUnsafeSubmodule: blocks submodule.<name>.update (! prefix enables shell execution)
- allowUnsafeUrlRewrite: blocks url.<base>.insteadOf (silent URL redirection)

Extends existing categories:
- allowUnsafeFilter: now also blocks filter.<driver>.process alongside clean/smudge

All new checks covered by tests; PLUGIN-UNSAFE-ACTIONS.md updated with examples
for each new category and the filter section updated to mention process.

https://claude.ai/code/session_01WnezAA6AyyhG7fmCsiosqN
…attern

Replace url.git.insteadOf (where 'git' is not a realistic attack destination)
with url.https://evil.com.insteadOf = git@github.com: showing the correct shape:
the evil URL lives in the key section, the hijacked URL is the value.

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

changeset-bot Bot commented May 10, 2026

🦋 Changeset detected

Latest commit: 3e506ad

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 c427fba into main May 10, 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