fix: block case-variant secret paths and task runner env overrides

This commit is contained in:
whyour committed 2026-11-03 10:04:10 +08:00
1 parent b49b0b63e6
commit a23c5195ec
5 files changed
+46 -2

No files matched your search

+3
View File
@@ -24,11 +24,14 @@ test('file access enforces directory boundaries, blacklist descendants and symli
'../config-other/secret',
'/etc/passwd',
'grpc/client.key',
'GRPC/client.key',
'alias/client.key',
'outside/new.txt',
'dangling',
'auth.json',
'AUTH.JSON',
'nested/auth.json',
'nested/Auth.Json',
'',
]) {
assert.equal(