check_path
Validate file path safety for write or delete operations to protect sensitive system files and directories from unintended modifications.
Instructions
Check if a file path operation is safe. Protects .env, .ssh/, .aws/credentials, private keys, /etc/passwd, etc.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File path to check | |
| operation | Yes | Operation type |