4 ms·
Is there a solid reference resource on handling symlinks? It seems a never ending source of security bugs.
by 3eb7988a1663 4mo ago
Is there a solid reference resource on handling symlinks? It seems a never ending source of security bugs.
- d0vs 4mo agoAgreed. Not a direct answer but this should be interesting: https://github.com/cyphar/filepath-securejoin https://github.com/cyphar/filepath-securejoin
- euroderf 4mo agoThe new os.Root is supposed to handle symlinks correctly in a sandbox, but (of course?) the first release had a bug related to symlinks.