Real-time guard
The guard is the background program that protects you all day. pushwarden install starts it when you sign in.
What it watches
- Files: your project folders, Downloads and Desktop. New files are checked within a second.
- Programs and connections: every 5 seconds.
- Everything: a full scan every 6 hours.
When it finds malware
- The file is moved to quarantine.
- A notification names the threat.
- A dialog lets you Remove it or Restore and allow it. If you do not answer in 3 minutes, it stays in quarantine.
- A running malware process is stopped at once.
- The alert goes to the log, and to your webhook if you set one.
Warnings that are less certain are only reported.
Check that it runs
pushwarden status
Look for Guard: alive.
Choose the folders
pushwarden config --set scan_roots=~/code,~/work
Restart the guard after changing a setting.
Restart the guard
| System | Command |
|---|---|
| Linux | systemctl --user restart pushwarden-guard.service |
| macOS | launchctl list com.pushwarden.guard (check), or sign out and in |
| Windows | Task Scheduler, task “PushWarden Guard” |
Settings you may want
| Setting | Default | What it does |
|---|---|---|
scan_roots |
automatic | folders to watch |
prompt |
true |
show dialogs |
auto_kill |
true |
stop malware processes |
notify_desktop |
true |
desktop notifications |
webhook_url |
empty | send alerts to Slack, Discord or Teams |
All settings are in Configuration.
Remember
- Same alert, same finding: you hear about it once every 6 hours.
- Without a desktop (a server), there are no dialogs. See Running on servers.
- Everything the guard does is in Activity history.