darklang / dark

Darklang main repo, including language, backend, and infra
https://darklang.com
Other
1.67k stars 90 forks source link

Work required before letting users' code run on dark-cloud #5310

Closed StachuDotNet closed 2 months ago

StachuDotNet commented 6 months ago

Extracted out of #4911 -- see that issue for additional context.

the major thing remaining here is " figure out tunnel2 settings/replacement", "iptables"...

urgency/importance: blocker for letting users running their code on dark-cloud

if we don't do this and/or we get it wrong, then an attacker may be able to get access to our entire cloud acct, etc.

I need to study up here and reflect on our current setup

pay attention to 169.254.0.0/16 - provides token that has auth as us

StachuDotNet commented 2 months ago

folded into #5261