Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
StachuDotNet opened this issue Feb 21, 2024 · 1 comment
Closed

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

StachuDotNet opened this issue Feb 21, 2024 · 1 comment
Labels
internal-only This involves CI, our infra, or otherwise should be done by an internal dev

Comments

@StachuDotNet
Copy link
Member

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

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

  • we need production testing to prevent users from figuring out IP addresses
  • try to get IP addresses -> error
  • extra level of protection: iptables?
    • or: provide a proxy (like how we used to do things in k8s -- everything would go through proxy, which had firewall rules)
  • with cloud run...
    • we could provide another cloud run project that just does proxy
    • that one doesn't have permissions

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 StachuDotNet added the internal-only This involves CI, our infra, or otherwise should be done by an internal dev label Feb 21, 2024
@StachuDotNet
Copy link
Member Author

folded into #5261

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal-only This involves CI, our infra, or otherwise should be done by an internal dev
Projects
None yet
Development

No branches or pull requests

1 participant