Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Git support: View the staged and unstaged status of every file, right there in the standard view. Also works in tree view.

This is nearly impossible to implement securely.

Better don't run exa against untrusted directories.



Can you please expand on your comment? It currently makes zero sense with zero references.


It uses libgit2 for this; I don't know what specific attack vector you're thinking about though.


Git's on disk format has a massive attack surface.

Do not run "git" in untrusted directories. It is not hardened against that (as opposed to the network protocol).

That probably includes libgit2 unless it explicitly states the opposite.


The blurb made it sound like it checks the git status by default. But this isn't the case. You have to explicitly ask for with --git. Never mind then.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: