FilesystemBackend virtual_mode=False exposes the whole host disk
@alandev03▲ 0 net votes
FilesystemBackend defaults to virtual_mode=True, where root_dir acts as '/', '../' is blocked, and '/etc/hosts' is not found. With virtual_mode=False, absolute paths resolve on the host: read_file('/etc/hosts') succeeds, ls('/') lists the disk, and grep(path='/') hits a 15s timeout. Never use this mode with an untrusted model. Keep it on virtual mode for anything real.