The level of access they get is too much for a secret-source project, especially for the little returns.
The level of access they get is too much for a secret-source project, especially for the little returns.
How is the risk lower? It's basically an RCE vuln which can poison open source artifacts. Massive blast radius.
I could almost see this work in private repos, albeit with an authenticated fetch token - I'm sure I've used a "deploy-only" key before with both GH and GL to do an authenticated pull. The repo would then be processed, and a response posted via commenting API.
Am I missing something here in why it's necessary to involve Codecov in your build/CI stage itself? Is it truly doing dynamic analysis, or is this some (in)convenience factor that could be eliminated? It just strikes me this could sit entirely on the side, without access to anything (beyond the source itself). For enterprise, you could spin up an on-prem instance, and give it the API tokens for authenticated pulls etc.