I'm wondering how plausible it would be for the new ngscopeclient CI to have a p...
Andrew Zonenberg @azonenberg@ioc.exchange
I'm wondering how plausible it would be for the new ngscopeclient CI to have a private web form (probably just restricted by simple https basic auth with creds shared among project maintainers) to request a build of a specific commit in order to enable testing of PRs.
The idea is that this will still allow pre-testing of PR content before we merge them, but won't allow any possibility for an outside attacker to trigger a build on our infrastructure without a maintainer at least doing a once-over of the diff.
While I'll be doing my best to protect against VM escapes etc, and there is currently no cache to poison, once we add hardware-in-loop testing it may be possible (depending on the exact scope/DUT configurations we have set up) for an attacker able to request a build of arbitrary code to blow a frontend on the scope.
This is a risk we're accepting for trusted developers and I'm willing to rework the board if it comes to that, and of course the test cluster will only contain low-cost hardware like thunderscopes, but I want at least a bit of a speed bump behind any kind of deliberate hardware-damaging DoS. And we don't get enough PR volume for per-commit CI approval to be a big impact on productivity, I think.