DeletedUser928 itself had major internal security vulnerabilities that recent versions fixed
This is true for most high-permission, critical pieces of software on our phones as well as iOS, Samsung, etc. ( Source: the fixed CVE list )
in termux, by default all programs are practically run as superuser)
termux is really just another sand-boxed app with whatever privileges you give it.
This is very misleading.
Termux, the app, doesn't have elevated privileges, but it is practically root as well?
First thing, if Termux did have a root user -- which it doesn't -- So does a virtual machine I spin up or my laptop beside me -- this root doesn't have domain over the host or my phone.
Not having to prepend sudo for commands is not the same thing as being root on any system.
A better description is: Termux runs as a single user ID and it has access to its own files like any other app. All installed packages are signed and verified to be authentic.
Is there a world where a user executes a random script they found online and now they gave themselves a crypto miner? yes
Termux is open source, but the binary for ssh could have malicious code put into it down the road.
However, these same issues exist on a GOS phone, Linux, Windows, or an Apple device -- downloading and running code (an app). Do we know what the 100 devs are doing with Whatsapp or Chess? Nope, but we install and run it.
No root:
~ $ id
uid=10244(u0_a244) gid=10244(u0_a244) groups=10244(u0_a244),3003(inet),9997(everybody),20244(u0_a244_cache),50244(all_a244) context=u:r:untrusted_app_27:s0:c244,c256,c512,c768
~ $ su
No su program found on this device. Termux
does not supply tools for rooting, see e.g.
http://www.androidcentral.com/root for
information about rooting Android.
~ $ ls storage/shared/Termux/
6-26.classification.onnx config.yaml
~ $ ls storage/shared/Android/data/
ls: cannot open directory 'storage/shared/Android/data/': Permission denied
~ $ ip a
Cannot bind netlink socket: Permission denied
DeletedUser1012
Play Store Termux is an unofficial fork:
The only official release sources to install Termux from are still F-Droid and GitHub as listed in our installation docs and Google PlayStore releases remain deprecated at this time.
-https://github.com/termux/termux-app/discussions/4000
fastb00t It's hard to tell if they are equally secure now or if the Google Play Store version still lags behind on security updates
It's unofficial. We have the git commits or the play store's "Last updated " date. Personally, I wouldn't use a bother this Termux.