ML-157: implementation and configuration

This commit is contained in:
Claudio Ortolina
2026-05-03 16:16:14 +01:00
parent a6ef5996ed
commit 5981970039
3 changed files with 167 additions and 9 deletions
+21
View File
@@ -0,0 +1,21 @@
{
"_comment": "Blocked paths for pi. Glob-like patterns, matched case-insensitively against absolute paths.",
"blocked_paths": [
"mise.local.toml",
"*.pem",
"*.key",
"*.key.pub",
"*secret*",
"*credential*",
"*credentials*",
".ssh/",
".aws/",
".gnupg/",
"~/.pi/agent/sessions/"
],
"blocked_commands": [
"printenv",
"\\benv\\b",
"\\bset\\b"
]
}