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

egress proxy #72

Open
3 tasks
jadudm opened this issue Jan 3, 2025 · 0 comments
Open
3 tasks

egress proxy #72

jadudm opened this issue Jan 3, 2025 · 0 comments

Comments

@jadudm
Copy link
Contributor

jadudm commented Jan 3, 2025

Problem

For security, we do not allow our app to talk the world casually.

image

We need to restrict where and how our application talks to the world. For this, we use an egress proxy.

How did we discover this problem?

This is basic application security.

What are we planning to do about it?

The Federal Audit Clearinghouse has a nice example of how they did this in their Terraform. We will want to do the same, but we will also want to think about generating the list of allowed domains from our host configuration. That is, we want to drive the allowed hosts list for our crawler based on the list of domains we are crawling, so we allow only those and no more.

What are we not planning to do about it?

We have to have this.

How will we measure success?

Tasks

Preview Give feedback

For the last, we can add code to admin (perhaps) that checks if it can talk to things (it shouldn't be able to). If those attempt fail, we continue running. If those attempts succeed, we can crash the app.

This could be a common module, so all the services attempt to talk to something they shouldn't, and in doing so, make sure we're always compliant in production (or we crash otherwise).

@jadudm jadudm added this to jemison Jan 3, 2025
@jadudm jadudm moved this to backlog in jemison Jan 3, 2025
@jadudm jadudm added this to the ready for lato assessment milestone Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: backlog
Development

No branches or pull requests

1 participant