chore: settings.local.json deny list 하드닝 (AgentShield A 98/100)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
61d19501fd
commit
1289230f36
1 changed files with 36 additions and 0 deletions
36
.claude/settings.local.json
Normal file
36
.claude/settings.local.json
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
{
|
||||
"permissions": {
|
||||
"allow": [
|
||||
"Bash(tail:*)",
|
||||
"Bash(cd \"C:/Users/Posafe/leak_sms_v2/windows_checker\" && pyinstaller --onefile --noconsole --name sensor_checker sensor_checker.py 2>&1)",
|
||||
"Bash(cd \"C:/Users/Posafe/leak_sms_v2/windows_checker\" && python sensor_checker.py 2>&1)",
|
||||
"Bash(sort -k2)"
|
||||
],
|
||||
"deny": [
|
||||
"Bash(rm -rf:*)",
|
||||
"Bash(rm -fr:*)",
|
||||
"Bash(sudo rm:*)",
|
||||
"Bash(chmod -R 777:*)",
|
||||
"Bash(chmod 777:*)",
|
||||
"Bash(dd:*)",
|
||||
"Bash(mkfs:*)",
|
||||
"Bash(:(){ :|:& };:)",
|
||||
"Bash(git push --force:*)",
|
||||
"Bash(git push -f:*)",
|
||||
"Bash(curl:* | sh)",
|
||||
"Bash(curl:* | bash)",
|
||||
"Bash(wget:* | sh)",
|
||||
"Bash(wget:* | bash)",
|
||||
"Bash(ssh:*)",
|
||||
"Bash(scp:*)",
|
||||
"Read(./**/config.local.php)",
|
||||
"Read(./**/config_local.py)",
|
||||
"Read(./**/secrets.h)",
|
||||
"Read(./**/.env)",
|
||||
"Read(./**/.env.*)",
|
||||
"Read(./**/*.pem)",
|
||||
"Read(./**/id_rsa)",
|
||||
"Read(./**/id_ed25519)"
|
||||
]
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue