logoalt Hacker News

kellpossible2today at 10:33 AM3 repliesview on HN

what's to stop an agent creating an outbound call with the var to a malicious endpoint? (unless you whitelist what it has access to)


Replies

mperntoday at 12:38 PM

At least for gondolin and microsandbox, you bind a specific secret placeholder to the target host. i.e. your GH token is only replaced/injected for calls to api.github.com, not other hosts. And you can set up both with deny-by-default

eglintondusttoday at 12:27 PM

You just don't inject the real secret unless hostname/whatever rule matches the request, right? I don't know if that's how this works but it's my assumption.

show 1 reply
skinfaxitoday at 1:03 PM

The replacement is on a url/host basis.