|
|
|
|
|
by TomGullen
1533 days ago
|
|
You have to have some level of trust - our ASP.net website loads quite a few Nuget packages we regularly keep up to date. Theoretically any of them say Stripe or Paypal could add nefarious code into our site to steal a bunch of stuff - there's no practical way for us to review the source code before updating. For Javascript if you're paranoid you can add the `integrity` attribute, and most of the time you can self host the JS although all of these come with maintenance commitments. I think it's reasonable if you trust the source (Twitter for example) to embed their third party code. |
|