ugh, I also need to prevent against confused deputy attacks against localhost because we're not running ocap operating systems and perimiter security is a failure
if anyone wants a fun story about just how dangerous confused deputies can be, see https://lists.gnu.org/archive/html/guile-user/2016-10/msg00007.html which is a security vulnerability I bumped into which allowed for arbitrary code execution against guile processes that were being used for local development
Unix domain sockets are still perimeter security, but are a bit less likely to be exploited because many services may accidentally do http requests against localhost and won't realize how many things they can fuck up
@freakazoid yes, but filesystem access protections are still hot garbage. See the original confused deputy attack: http://cap-lore.com/CapTheory/ConfusedDeputy.html
@freakazoid or rather I should say unix stye filesystem protections.
@cwebber I just meant it's another advantage over localhost sockets. I'm definitely a believer in ocap security.
@cwebber now I'm terrified
@qwazix turn that terror into motivation to read up on object capability security to learn how to build a better and safer world ;)
@cwebber And at least they have normal filesystem access protections, whereas there are none at all with localhost connections.