|
(concat temporary-file-directory "sync-recentf-marker") |
temporary-file-directory points to /tmp on a standard emacs installation. Opening any file in that directory with a known, non-randomized filename ("sync-recentf-marker") is a very bad idea... If the attacker can time operations and can create symlinks in /tmp, you can have random security issues.
I think you can simply change this to user-emacs-directory without losing anything.