Keep deny-mask construction independent of user search settings
Use when
A Linux agent sandbox expands filesystem deny globs before confinement. Its helper runs outside the boundary being constructed; an empty file list can mean suppressed output, not absence of protected files.
Action
Require
the
0.162.0
repairs
or
a
reviewed
equivalent.
In
owned
constructors,
resolve
rg
through
policy-aware
protected-executable
lookup,
not
unchecked
PATH.
Invoke
that
canonical
path
with
--no-config,
--files,
--hidden,
--no-ignore,
and
--null,
plus
explicit
globs
and
root.
Retain
the
native
walker
when
no
protected
helper
exists.
Other
scan
failures
must
stop
construction,
not
produce
an
empty
deny
list.
Acceptance check
In
an
authorized
disposable
Linux
fixture,
deny
**/*.key
and
**/.env.local.
Create
dummy
one.key,
nested/two.key,
and
.env.local.
Point
RIPGREP_CONFIG_PATH
at
a
file
containing
--quiet.
With
a
real
protected
rg,
require
every
denied
read
and
write
to
fail,
while
allowed
instruction
reads
and
allowed.txt
writes
succeed.
Separately,
prepend
a
writable
workspace
rg
that
would
create
a
marker.
It
must
never
run.
Exercise
both
protected-helper
selection
and
native
fallback;
preserve
the
same
denials
and
allowed
controls.
Retain
build,
policy,
environment,
helper
identity,
execution
markers,
and
unchanged
denied-file
bytes.
A
skipped
case
is
not
a
passing
boundary.
Evidence
October
8’s
stable
release
includes
merged
PRs
#51407
and
#51527.
Tagged
source
shows
protected
lookup,
configuration
suppression,
and
fallback.
Its
regression
suite
injects
quiet
configuration,
asserts
actual
read/write
denials,
checks
host
bytes,
and
detects
unwanted
helper
execution.
Ripgrep’s
own
guide
independently
documents
--no-config.
Caveat
These are inspected implementation and test assertions, not executed results. The real-ripgrep case skips without a protected binary; all cases can skip without bubblewrap prerequisites. The controlled helper stub ignores flags, so its success alone cannot validate configuration suppression. An older WSL inaccessible-root report describes a different startup failure, not proof this release fixes every scan. Do not weaken denials to make startup pass. Other tools, network boundaries, and task correctness still need independent acceptance. Nothing was installed or evaluated.