Re:Malicious PyPI packages stealing credit cards and injecti...
by helsinki on Tuesday August 03, 2021 @09:56AM
(#28049212)
Tangential non-sequitor:
> self-hosted on AWS
People forgot what self-hosting actually means.
Re:Malicious PyPI packages stealing credit cards and injecti...
by jrockway on Tuesday August 03, 2021 @10:04AM
(#28049314)
I disagree with that analysis. That basically means running some binary yourself, with the alternative being buying a SaaS product that is hosted by the developer. You may think that "self-hosting" means having your own physical server, but I have never heard anyone else use the expression like that.
Re:Malicious PyPI packages stealing credit cards and injecti...
by paulryanrogers on Tuesday August 03, 2021 @10:06AM
(#28049329)
Meanings can evolve over time. I tend to think of self hosted as installing from code and managing myself, whether on local hardware or remote.
Even if you cache modules on your own infrastructure, you should still validate the checksums to prevent insiders from tampering with the cached modules.
I'll also mention that any speed increases really depend on your CI provider. I self-hosted Jenkins on a Rather Large AWS machine, and had the proxy nearby, so it was fast. But if you use a CI provider, they tend to be severely network-limited at the node level and so even if you have a cache nearby, you are still going to download at dialup speeds. (I use CircleCI now and at one point cached our node_modules. It was as slow as just getting them from NPM. And like, really slow... often 2 minutes to download, whereas on my consumer Internet connection it's on the order of 10 seconds. Shared resources... always a disaster.)