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

add Pod that would validate payment globally, independant of graphql/mongodb #121

Closed
nicolasburtey opened this issue Apr 13, 2021 · 1 comment

Comments

@nicolasburtey
Copy link
Member

the idea would be that the pod:

  • would be a proxy between graphql and lnd,
  • would be the only one with write access to payment function on lnd
  • would enforce global security rules. :

like: if there are more than 20m sats leaving the app in the last 6 hours, pause payment and trigger an alert for further investigation.

this pod could be isolated from graphql / mongodb, which has a pretty big attack surface given it's the app that received all the requests from clients.

@nicolasburtey
Copy link
Member Author

this would be a good API to do it once it's merge in the master branch of lnd: lightningnetwork/lnd#5101

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant