Repository navigation
A security release. A scanned folder's own git settings could still run a program, in two ways, through review,
map --base, passport --base and the stop hook; a repository cloned with git does not carry those settings, a
folder unpacked from an archive, copied or shared can. Reports could also still show a credential from the scanned
project in the places listed below, among them the text of a private key written on one line. Evidence can still
show a secret that nothing marks, and each entry says what it does not cover.
Security
-
A scanned folder's git settings could still run a program, in two ways.
review,map --base,
passport --baseand the stop hook run git on the folder with the settings that name programs switched off.
Two were not. A filter whose name is not valid UTF-8: the names of the filters a folder configures were listed
by a pattern match that skips a name which is not valid text, so that filter stayed on, andreviewand
hook stopran its program on the files the folder's.gitattributesgives it. And an object the repository
lacks: a folder marked as a partial clone makes git fetch a missing object from the remote the folder names,
and that remote's transport is a program (ext::command,core.sshCommand,remote.<name>.uploadpack).
protocol.allow=neveron the command line did not stop it, because the folder's ownprotocol.<name>.allow
outranks it; every form ofreview,map --base,passport --baseandhook stopran the program. As with
the hook command fixed in 4.23.2, a repository cloned with git does not carry its.git/config; a folder
unpacked from an archive, copied from elsewhere or shared with others can. This is in every earlier version,
4.23.2 included. Filter names are now read from the whole configuration byte for byte, git is not run on a
repository whose settings cannot be read, and git is told to fetch no missing object and to refuse every
transport, whatever the folder's settings say. -
map --baseandpassport --basecrashed on a repository that lacks an object. A tree that names an object
the repository does not hold ended both commands with a Python traceback. They now stop with an error. -
A name longer than 64 characters did not mark its value. Every reader of a name stopped at 64 characters, and
a name it could not read whole was not read at all, so the value beside it stayed in evidence and in map and
passport snippets. Real names pass that length:spring.security.oauth2.client.registration.keycloak.client-secret
is 65 characters, and so is its environment form; the same property for a client calledgoogleis 63, so one
line of a file was masked and the next was not. A quoted value after=or:was masked at any length. An
unquoted value (a properties, YAML,.env, Compose, Dockerfile or shell line, a flag, a URL's query), a second
argument (setProperty("...", "...")), a call, a default after a variable, an XML element and a Kubernetes
value:line under such a name were not. This is in every earlier version, 4.23.2 included, whose notes did not
list it. A scan reports no finding of its own on most of these lines, so the value reached a report when
another finding was on the same line, or in a snippet. A name is now read up to 256 characters. These masks hide
text and decide no finding. -
What a secret-looking name holds was shown when it was not one plain value. A name whose value opened with
$,{,[or(was passed over. Evidence and snippets therefore showed the default of a Spring reference
(password: ${DB_PASSWORD:...}; the Compose and shell forms${NAME:-...}and${NAME:=...}were read only
under a name inside the braces that itself looked like a secret), the default of a template
(password: {{ .Values.password | default "..." }}), and the items of a list, tuple or set and the values of a
mapping written on the line (api_key = ["...", "..."],token: [..., ...]in a data file,
secret = {"db": "..."}). The defaults are now masked. An item or a value in brackets is masked when it reads as
a secret (twelve or more characters with a letter and a digit), also under a name for several secrets (tokens,
API_KEYS,passwords): on the 1,840 repositories, what stands in brackets under such a name was a user name, a
message or a query far more often than a secret. This is in every earlier version. These masks hide text and
decide no finding. -
The body of a private key written on its header's line was printed in evidence. JH101 reports a private key
header when key material follows it on the same line, after a literal\n
(importPKCS8("-----BEGIN PRIVATE KEY-----\nMC4C...\n-----END PRIVATE KEY-----"), a template literal, a shell
echo '...' > ~/.ssh/id), or when the body stands in a string literal of its own on the header's line
("-----BEGIN PRIVATE KEY-----\n" + "MC4C..." + ...,["-----BEGIN RSA PRIVATE KEY-----", "MC4C...", ...].join("\n")). The finding's evidence held that body whole in the terminal, Markdown, HTML, JSON and SARIF
output; an Ed25519 or P-256 key fits in the 200 characters evidence keeps. Map and passport snippets already hid
it. This is in 4.23.1 and 4.23.2. Evidence now masks what follows such a header on its line, up to a quote, the
line's end, the END line or the next header, and every other run of 40 base64 characters after the header on its
line, when the run holds a letter and a digit and is not a lower-case path. A header followed by a sentence, a
path or a long name with no digit is left as it is. The mask hides text and decides no finding. Not covered: a
key body on the line after its header is still shown in evidence when no name marks it; in a literal of its own,
a short last line of a body (fewer than 40 characters) is shown; a 40-character name with a digit in it after a
header on its line is masked. -
The password of a URL whose slashes are escaped was shown. JSON written by PHP's
json_encode, and many
JavaScriptJSON.parseliterals, write a URL asmysql:\/\/user:...@host. The same JSON in a single-quoted
JavaScript, PHP or Python string doubles each backslash (postgres:\\/\\/svc:...@host), and JSON inside a JSON
string writes three (mysql:\\\/\\\/root:...@host). Neither evidence nor map and passport snippets read any of
these as a URL, so the password and the user name were shown in both, while the map read the same value as a
database node. This is in 4.23.1 and 4.23.2. Evidence now masks the password, and a token given as the user name,
as it does formysql://, with one, two or three backslashes before each slash; a snippet drops the user
information and the path as it does for any URL. An escaped URL without user information
(https:\/\/registry.npmjs.org\/@babel\/core) is left as written in snippets. The map's nodes are unchanged.
These masks hide text and decide no finding. Not covered: a URL whose slashes are escaped some other way
(%2F%2F,\u002F), or with four or more backslashes before each slash. -
The password flag of curl, mysql, redis-cli and other commands went unread in more places. A flag was given to
the nearest command word before it, and that word could stand inside an earlier argument:zipinbackup.zip,
httpin/api/http,mongoindb.mongo.internal,wgetin$(wget ...). The flag then went to a command
that does not take it, andcurl -o backup.zip -u admin:...,mysql -h db.mongo.internal -p...and
redis-cli -h redis.zip.internal -a ...were shown whole. A;,|or&inside a quoted argument before the
flag (curl "https://...?limit=10&offset=0" -u deploy:...,-H "Accept: a; q=1",mysql -h "h;x" -p...)
was taken as the end of the command, and the password was shown too. The same happened to a command word inside
a quoted argument before the flag (curl -fsSL -d '{"engine": "mysql"}' -u admin:... https://... | sh,
curl --data-urlencode "q=curl http" -u ...), and to a separator escaped with a backslash
(curl https://x/?a=1\&b=2 -u admin:...), which the shell does not take as an end. This is in 4.23.1 and 4.23.2.
A command word inside a file name, a path, a host, a value, a command substitution or a quoted argument that
closes before the flag is now passed over when it takes no such flag, and only a separator outside quotes and not
escaped ends a command. A real command word between them still ends the reach of the earlier one:
sshpass -p ... ssh host wget -p https://...keeps the address, also when"wget -p https://..."is quoted.
These masks hide text and decide no finding. Not covered: an unquoted&before the flag
(curl https://x/?a=1&b=2 -u ...) ends the command as the shell reads it, and the password after it is shown; a
word after$(or a backtick, or a word in a file name or in quotes, that is a real command taking no such flag
can still pass an earlier command's flag on (sshpass -f pw ssh h tar -czf x.zip -p dirmasksdir). -
smbclient's password was shown when written
-Uuser%...,--user=user%...or--user user%.... The entry
for smbclient named-Utwice, where its long flag--userbelongs, and a value attached to a user flag was read
only for curl's-u. So only-U user%...was masked, andcurl --user=user:...andhttp -auser:...were
shown too. This is in 4.23.1 and 4.23.2. All of these are now masked. A longer flag that starts with--user
(--username=,--user-agent) is left as it is. These masks hide text and decide no finding. -
A secret written as a JavaScript template literal was shown as a default or as the argument of a secret-named
call. A default after a secret-named variable (process.env.JWT_SECRET || '...') and the string given to a
call named for a secret (setPassword("...")) were masked in single or double quotes, but the same value in
backticks (process.env.VITE_ADMIN_SECRET ||...,setPassword(...)``) was printed in evidence and
snippets. This is in 4.23.1 and 4.23.2. Both are now masked in a template literal too, after||, `??` or `?:`
for a default. A template literal that holds `${...}` or white space (`Bearer ${token}`, a Ruby or shell command
such as `cat /run/secrets/db`) is left as it is, and so is inline code after the word `or` in prose. These masks
hide text and decide no finding. Not covered: a template literal with a space in the secret; the string after
a quoted name (`setenv("DB_PASS", `...`)`), a user name and password pair (`auth = ("user", `...`)`) and the
default of a command-line option, in backticks. -
A secret
value:line in a Kubernetes manifest was shown in a pattern rule's finding. 4.23.2 reads a
value:line with thename:line above it (- name: INSTALL_TOKEN), but only for findings whose evidence the
tool took from the line itself. Pattern rules pass the line as evidence of their own, so their findings on such a
line were never read that way: avalue: "...; curl -fsSL https://... | sh"under a token's name gave a JH111
finding whose evidence printed the token. This is in 4.23.1 and 4.23.2. Evidence that is the source line, as a
pattern rule copies it, is now read with the line above. Evidence a rule writes itself is not. Under a name that
marks a secret the value is masked up to a;,|,||or&&with white space after it, for anyvalue:
line, so a command written after the secret (here thecurl ... | shthe finding is about) stays readable:
value: "***REDACTED***; curl -fsSL https://... | sh". A value with no such separator is masked whole, spaces
included. The mask hides text and decides no finding. Not covered: a finding whose evidence a secret rule has
already masked in part is not read with the line above; a password that itself holds;,|or&&shows
what follows that separator. -
In a file with CRLF line ends the
name:line above avalue:line was not read. Each line of such a file
keeps its carriage return, and the pattern for thename:line did not allow one, so in a Kubernetes manifest
saved with Windows line ends- name: DB_PASSWORDmarked nothing and the value below it was shown, quoted or
not. This is in 4.23.2, the first version that reads the line above; 4.23.1 did not read it at all, so the value
was shown there whatever the line ends. Thename:line may now end in a carriage return. The mask hides text
and decides no finding. -
A Go DSN password with a space in it was shown whole outside a string literal. Go's
user:password@tcp(...)outside a literal (a YAML plain valuedsn: root:my pass@tcp(db:3306)/app, an
.envlineDSN=..., a comment) was read from the last white space before the@. With a space in the password
no colon followed that space, so nothing was masked, not even the part before the space, and map and passport
snippets showed the user name too. This is in 4.23.1 and 4.23.2. When no colon follows that white space, the DSN
is now read from the start of its line, past aname:key, if it is a value there: it opens the line or follows
=or such a key. The password is then masked whole and snippets hide the user name. A sentence with an earlier
colon (see https://...,at 10:30 ...) and an@tcp(without a password are left as they are. The mask hides
text and decides no finding. Not covered: such a DSN after other words on its line
(echo x root:my pass@tcp(...)); a password with both a space and a later colon is masked only from that colon;
a scheme URL with a space in its password (mysql://root:my pass@db/app). -
The default of a shell reference written without the colon was shown. A shell reads
${DB_PASSWORD-...}as
it reads${DB_PASSWORD:-...}: the value after the dash is used when the variable is unset. Only the form with
the colon was masked, sopassword: ${DB_PASSWORD-...}andDB=${DB_PASSWORD-...}printed the default in
evidence and snippets. This is in 4.23.1 and 4.23.2. The default is now masked when the name in the braces is
written as an environment name (capitals, digits and_) and marks a secret, or when a secret-looking name
stands before the reference. A property name with a dash (${db-password}, Spring's form) is read as a name, as
before. These masks hide text and decide no finding. Not covered: such a default under a lower-case or mixed-case
name in the braces. -
An Authorization header showed its token when the token was taken for the scheme word. In
Authorization: TOKEN word, a token of up to 21 characters that starts with a letter was read as the scheme
(Bearer,Basic) and the word after it was masked in its place. This is in 4.23.1 and 4.23.2. That first word
is now also masked when it reads as a secret: twelve or more letters, digits and base64 punctuation with a letter
and a digit among them. Scheme names (Bearer,Negotiate,HMAC-SHA256) stay. The word after it stays masked
as before. The mask hides text and decides no finding. Not covered: a token of fewer than twelve characters, or
of letters only, in that place;Authorization: SharedKey account:...still shows the signature. -
A finding's extra data was redacted to six levels, and a set in it not at all. No check today writes extra
data that deep, or a set, so no report has shown it; a check added later could have. This is in 4.23.1 and
4.23.2. A set is now written as a list of redacted items, and anything deeper than six levels as its redacted
text. -
A servlet parameter written on one line showed its value.
<param-name>api_key</param-name><param-value>...</param-value>was not read as a name and its value. This is in
4.23.1 and 4.23.2. The value is now masked when the parameter's name marks a secret. The mask hides text and
decides no finding. Not covered: the same parameter written over several lines, asweb.xmlusually is, and an
element whoseidattribute names the secret (<setting id="db.password">...</setting>). -
A one-word camelCase setting showed its unquoted value where it opens a line of a data file.
AuthLDAPBindPassword ...in an Apache configuration was masked when quoted and shown when not. This is in
4.23.1 and 4.23.2. Where such a setting opens a line of a data file and its last word isPassword,Passwd,
Passphrase,SecretorToken, its value is now masked. A setting that only holds such a word in its middle
(ProxyPass /app ...,SSLPassPhraseDialog builtin,PasswordAuthentication no) is left as it is. The mask
hides text and decides no finding. -
JH151 showed a webhook token that stands in a Copilot Studio topic's URL path. JH151 quotes the URL that a
topic's HTTP request calls, with up to 60 characters of its path, in its evidence and its message. It reports a
URL over plain http or on a port other than 443, and the mask for a Slack webhook knows only https on the
standard port, sohttp://hooks.slack.com/services/T.../B.../<token>, or the same URL on port 8443, was shown
with its token in every report format. This is in 4.23.1 and 4.23.2 (earlier versions were not checked). A path
segment that reads as a secret (twelve or more letters, digits and base64 punctuation, with a letter and a
digit among them) is now masked in that text, and the rest of the path is shown as before. This mask hides text
and decides no finding. It also hides a path segment that is an id of that shape, such as a UUID or
quarterly2024summary. Not covered: a token in a path segment shorter than twelve characters, or holding other
punctuation, is still shown; a Slack webhook URL over http or on another port is still shown whole in the
evidence of other rules and in map and passport snippets, because the Slack mask still knows only https on the
standard port. -
JH401 and JH101 showed the whole key of a one-line key file. For a key file (
.key,.p12,.pfx,
id_rsaand the like, and a.pemfile that holds a private key) JH401 quoted the file's first line as its
evidence. A key with no PEM header, such as a Railsmaster.key, a WireGuard key or a Fernet key, is that line,
and nothing on it marks it, so every report format showed the key. A PEM private key written on one line, in a
key file such astls/server.keyor in code (KEY = "-----BEGIN RSA PRIVATE KEY-----\nMIIE...\n-----END..."),
was shown with its body by JH101 (critical) and, in a key file, by JH401, up to the length of the evidence. This
is in 4.23.1 and 4.23.2 (earlier versions were not checked). The evidence of a key file under JH401 is now its
PEM header alone (-----BEGIN PRIVATE KEY-----), or(key file: content not shown), and JH101 now quotes the
line of a private-key header up to the end of the header. The findings and their severities are unchanged. A key
file made ofname=valuelines no longer shows the name either under JH401. JH101 also no longer shows the rest
of a code line after a private-key header:s.replace("-----BEGIN PRIVATE KEY-----", "")is quoted as
s.replace("-----BEGIN PRIVATE KEY-----. Not covered: evidence of other rules that quotes a line holding a
private key written on one line still shows its body, because the evidence masks have no rule for the body of a
private key. -
A connection-string password with an empty user name, or with
@or/in it, was not reported. This
changes which findings are reported. JH101 and JH706 required a user name before the colon, so the usual
Redis formredis://:PASSWORD@hostgave no finding in code, in a Compose or.envfile, or in an MCP server's
arguments or URL. JH706 and JH401 also read a URL password only up to its first@and passed over one with a
/in it, sopostgres://app:Kd8/...@db/appin a.envfile or in an MCP server's arguments gave no finding,
although evidence already masked such a password. This is in 4.23.1 and 4.23.2 (earlier versions were not
checked). Now JH101 (critical) reportsscheme://:PASSWORD@hostfor the database schemes it knows, JH706
reports a password written into an MCP server's arguments or URL with an empty user name or with@or/in
it, and JH401 reports a.envor settings value whose URL password holds/, or@after a part that reads as
a placeholder. A.envline with such a URL can now carry both JH101 and JH401, as one with a user name already
did. Finding counts and the Jank Score rise in projects that have these forms. A password reported before is
still reported: the older reading is kept beside the new one, which reads the user information the way evidence
reads it. Where a.envfile holds more than one such value, the line of its one JH401 finding can move to an
earlier line, so a baseline or an ignore entry keyed on that line sees one finding gone and one new. JH101's
database-URL pattern now looks for the password's letter and digit at most 256 characters after the colon: it
looked from everyscheme://on a line to the end of the line, so a long line of them with no digit took time
that grew with the square of its length (about 15 seconds for a line of 270,000 characters in 4.23.2). For the
new form with an empty user name it also looks for a placeholder word (test,example) at most 256 characters
after the colon, so a long line of such URLs that ends in one is read in time that grows in step with its
length. Not covered: JH101 still misses a database URL password that holds@or/; for JH101, a letter or
digit more than 256 characters after the colon no longer counts, and with an empty user name neither does a
placeholder word that far on; a long line of database URLs with a user name that ends in a placeholder word is
still slow, as in earlier versions (about 10 seconds for a line of 320,000 characters). JH706 and JH401 now read
a database or queue URL with no user name or password and an@later in its path as holding a password: for
postgres://db.internal:5432/app_db@replicaJH706 reports5432/app_dbas the password of an MCP server's
arguments or URL, and JH401 reports the.envline and masks the whole URL in its evidence. -
A site ruleset's text showed a value that a name beside it marks. A ruleset (
--ruleset) is refused when
its text holds a credential in its own right. A value that only a name marks (PGPASSWORD=...,
DB_PASS: ...,x-api-key: ...) was accepted, and a rule's title, message and fix and the ruleset's name are
printed as written in every report format, so the value was shown. This is in 4.23.1 and 4.23.2 (earlier
versions were not checked). That text is now masked the way evidence is masked. What a ruleset is refused for
is unchanged, so a ruleset that loaded before still loads. This mask hides text and decides no finding. It also
hides a placeholder written after such a name:Set DB_PASSWORD=changeme in .envis printed as
Set DB_PASSWORD=***REDACTED*** in .env. Not covered: a value that nothing marks is still printed as written. -
A registry URL in the passport showed a password or a token. The passport's package sources, its "Outside the
allowed registries" line and the P-SUP-001 message take each registry URL from.npmrc,pip.conf, requirements
index options and the other package-manager files, and from lockfiles. The user information was cut at its first
@, so the rest of a password holding@was shown as a user name (https://deploy:Pa55@word@host/showed
word@host), and a password holding/was not cut at all. A URL with no path kept its query, so
https://host?token=...showed the token as part of the host. Cloudsmith (dl.cloudsmith.io/<token>/org/repo/)
and Gemfury (pypi.fury.io/<token>/org/,npm-proxy.fury.io/<token>/org/) take the token as the first segment of
the path, and it was shown whole. A URL with an empty host (https://?token=...,https:///simple/?token=...)
was read as having no host and was shown with its query. A@in the query also moved the host that the
allowed-registries check compared:https://other.example?x=@allowed.example/simple/was read as the allowed host
and no P-SUP-001 was raised. This is in 4.23.1 and 4.23.2. The user information now runs to its last@before
the first/,?or#, read as the scan reads it, the host ends at/,?or#and may be empty, and the
query and fragment are dropped. On those two hosts, each path segment that reads as a token is masked: twelve or
more letters, digits,_and-with a digit among them, and either both upper- and lower-case letters or
sixteen or more letters and digits alone. The host is read without its port and without a trailing dot, and an
empty or.segment before the token moves nothing. An organisation, a route (public,basic) or a package
name stays, so a lockfile URL (npm.fury.io/acme/left-pad/-/...) keeps its organisation and still matches an
allowedhttps://npm.fury.io/acme/. This changes results where the URL was misread: a source behind?...@or a
bare host with a query can now be outside the allowed list, and an allowed host whose password holds@is no
longer reported as outside it. An allowed-registries entry that names a Cloudsmith or Gemfury URL with a token now
matches any token for the same organisation and repository. The token mask can also hide an organisation or
package name on those two hosts written in mixed case with a digit (AcmeBuilds2024), or of sixteen or more
lower-case letters and digits with no-or_(acmebuilds2024ci1). Not covered: a token in a registry URL
path on other hosts, a token with other characters in it or percent-encoded, a token shorter than twelve
characters, and a token in one case only that is shorter than sixteen characters or holds-or_, are shown. -
Passport evidence for observability and health checks showed tokens on the line. The passport keeps the first
line that suggests telemetry or a health check as evidence, and masked it as a label it wrote itself rather than
as a line of the repository. A bearer token in a header (headers="Authorization=Bearer ..."), a probe header
value (httpHeaders: [{name: X-Token, value: "..."}]) and aredis-cli -a ...password were therefore shown in
passport JSON, HTML and text, though scan evidence masks them. This is in 4.23.1 and 4.23.2. These lines are now
masked as scan evidence is, with data-file reading for YAML, Compose and the like. Evidence ids, states and the
passport decision do not change. As in scan evidence, the value beside a secret-looking name on such a line is
masked even when it is the name of a Kubernetes secret (apiKeyExistingSecret: datadog-secret). Not covered:
mysqladmin ping -p...with the password joined to the flag is shown, as in scan evidence. -
An MCP server's launch package showed a URL password. The map and capability changes take the package an MCP
server is fetched from out of its arguments. npx cuts a package at its last@, so for a URL with user
information (npx -y git+https://x-access-token:...@host/repo.git,uvx --from git+https://oauth2:...@host/...,
docker run https://user:...@registry/img:1) the part kept wasscheme://user:TOKEN. It was shown in map JSON
and HTML (the package attribute and the "unpinned" assumption) and incapability_deltain passport JSON and
HTML. An environment assignment written into the command ("command": "API_KEY=... node") was shown whole in the
map, and a URL password in a command written as a whole line ("command": "env NPM_CONFIG_REGISTRY=https://deploy:...@host npx","command": "uvx --from git+https://oauth2:...@host") was
shown, because only the text after the last/was kept and the URL had lost its scheme. This is in 4.23.1 and
4.23.2. The arguments are now read with the user information of each URL removed when it holds a password or a
user name that reads as a token, so the package shows the whole URL without it (git+https://host/repo.git), and
the command is masked before the text after its last/is taken. A plain user name (git@) is kept. Whether a
server is pinned does not change, and capability request ids are still computed from the package as written, so no
two requests merge and no approved id changes. The scan's finding for an unpinned MCP server (JH705) named the
package in the same way, printedscheme://user:TOKENin its message, and is now read the same way. Not covered:
the value afterdocker run --password(or another flag the reader does not know takes a value) is still taken as
the image and shown as the package, in the map and in that finding; a token in a URL's query or path in a package
is shown. -
An OpenAPI path key showed a token or a password in it. The map keeps each OpenAPI operation as its method and
path key, with control characters removed only. A token in a known format in a path
(/v1/items/<GitHub token>, a Telegram/bot<token>/sendMessage) or apassword=orapi_key=value in a path
key was shown whole in map JSON and HTML (exposeson the application,openapi_operationson a service it
calls). This is in 4.23.1 and 4.23.2. Path keys are now masked before they are cut to 80 characters. Ordinary
paths (/pets,/users/{userId}/token,/password/reset) come back as written; a placeholder or a word after
password=ortoken=in a path key's query is masked too (/login?password={pw},/reset?token=expired).
Masked operations that become equal are listed once. Not covered: a token of no known format in a path segment
is shown.
Measured on the same 1,840 repositories against 4.23.2, in locked-down containers. The scan reports 58 findings
more, all JH101 at minor severity, in 8 repositories: each is a connection string whose password stands after an
empty user name (redis://:...@host), which no earlier version reported. No finding is gone and every Jank Score
is unchanged. In 4.23.2 the evidence of 103 findings in 8 repositories showed text of a private key after its
header, up to 166 characters of it; now two do, both on a test fixture's placeholder. Fifty-one other evidence
lines lose only the closing quote after a mask, one gains a mask on a value in a list, and five JH401 lines on
one-line key files show a note in place of the key. The reach map differs in no node, host or edge; two snippets
are masked more and none shows more. The passport gives the same decision in every repository; nine passports
differ, in the counts that follow from the new findings and in one reference to the map. No finding in those
repositories stands on a line with a name longer than 64
characters beside an unquoted value, on a default under a secret-looking name, on an escaped-slash URL or on one
of the command lines above: those cases are from test lines written for the purpose. A first version of the
reading of lists and mappings masked every value in the brackets; measured the same way it changed 31 evidence
lines, and in 30 of them it hid a user name, a message or a query, so it was narrowed before it merged.
Not covered: a name longer than 256 characters is not read, and its value is shown. A named pipe put in place of
a file that git reads inside the .git folder (objects/info/alternates, packed-refs, shallow, info/grafts),
or of a file its settings name (core.attributesFile, diff.orderFile, an included configuration file), holds a
command until git's time limit ends it, 45 to 150 seconds; nothing is run and nothing outside the folder is read.
What's Changed
- Evidence: a name longer than 64 characters marks its value too by @cloudbustinguk in #59
- Evidence: what a secret-looking name holds is masked when it is not one plain value by @cloudbustinguk in #60
- Reports: more places where a credential was shown or missed by @cloudbustinguk in #61
- No git setting of a scanned folder starts a program by @cloudbustinguk in #62
Full Changelog: v4.23.2...v4.23.3