Joplin Portable: Security Risk?

I did not delve into this, but it seems that it could be easily solved if "JoplinPortable.exe" was a proper "portable" app (as described in https://discourse.joplinapp.org/t/problems-with-joplin-portable and https://discourse.joplinapp.org/t/joplin-portable-should-have-everything-in-the-same-place)