Safety¶
Naturally Linux applies a basic safety filter before running commands. This reduces the chance of accidental destructive actions.
Current behavior¶
The tool flags commands containing patterns like:
rm -rfmkfsdd if=- Fork bombs like
:(){ shutdownorreboot
If a command is flagged, you will be warned with the reason and asked to confirm explicitly.
Limitations¶
This is a simple substring-based check. It can miss risky commands or flag safe ones. Always review the proposed command.
Planned improvements¶
- Regex-based rules
- Allow/deny lists by environment
- Context-aware risk analysis
- Structured command parsing