Major Changes
-
98864c6: Updates ahead of the v4 release for
simple-git.-
Adds support for TypeScript declaration maps
-
Exports the
isGitEnvKeyhelper to detect whether an environment variable can be used to configure agitoperation -
Adds detection for
includeIf.<condition>.path, thanks to @NotAFlightRisk for identifying the vulnerability
-
Patch Changes
-
c427fba: Additional argument parser vulnerability checks:
- Thanks to @mrillicit for identifying
include.path,filter.*.process - Thanks to @tejas619 for identifying
url.*.insteadOf
- Thanks to @mrillicit for identifying
-
1bb14df: Vulnerability detection expanded to include
pager.*,uploadpack.packObjectsHook,difftool.*.cmdand use of theGIT_CONFIG_PARAMETERSenvironment variableThanks to @threalwinky and @nuc13us for identifying.
-
dfeb116: Vulnerability detection expanded to cover configuration delivered through path-taking global options, where
the dangerous value is a file on disk rather than a tokensimple-gitcan inspect:--exec-pathnames the directorygitloads built-in commands and remote helpers from, and is blocked
under the newallowUnsafeExeccategory along with theGIT_EXEC_PATHenvironment variable (previously
grouped underallowUnsafeConfigPaths)--git-dir,--work-treeand-Ccausegitto read the configuration of the repository they name, and
are blocked underallowUnsafeConfigPaths
These options are only detected when supplied before the git sub-command and with a value - used as getters
(git.raw('rev-parse', '--git-dir')) or as task options (git.raw('commit', '-C', 'HEAD~1')) they are
unaffected. -
d762810: Add
allowUnsafeExecdetection torebase -xandrebase --exec.Thanks to @gdegrange for the vulnerability report.
-
d762810: Add
allowUnsafeCommandBinariesdetection to configuringtrailer.<token>.cmdandtrailer.<token>.command.Thanks to @sec-reex for the vulnerability report.
-
Updated dependencies [98864c6]
- @simple-git/args-pathspec@1.0.4