News for hackers. Stuff that matters.
Re:Backblaze submitting names and sizes of files in B2 bucke... by magicalhippo on Monday March 22, 2021 @05:50AM (#26538654)
> It’s bad that Backblaze did not do their due diligence while integrating with Facebook pixel

Here's the thing though, being a third party, due diligence means you constantly have to check what they're doing.

Because otherwise how do you know when they suddenly change their script to do something entirely different?

This is why having any 3rd party scripts on a dashboard service like this is in my view entirely inexcusable.

When I go to visit my cloud-based dashboard for Acronis' backup service[1] there's one single domain involved, and that's how it should be.

[1]: https://www.acronis.com/en-us/products/true-image/

Re:Backblaze submitting names and sizes of files in B2 bucke... by the8472 on Monday March 22, 2021 @07:41AM (#26539481)
> Because otherwise how do you know when they suddenly change their script to do something entirely different?

https://developer.mozilla.org/en-US/docs/Web/Security/Subres...

Re:Backblaze submitting names and sizes of files in B2 bucke... by magicalhippo on Monday March 22, 2021 @08:03AM (#26539645)
Not bad, but as far as I can see it requires you are _really_ sure no further scripts are dynamically loaded.

Or is there a way for the server to specify all resources must have SRI?

Re:Backblaze submitting names and sizes of files in B2 bucke... by the8472 on Monday March 22, 2021 @08:37AM (#26539940)
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Co...

You can combine CSP it with SRI hashes and also report violations to the backend.

Re:Backblaze submitting names and sizes of files in B2 bucke... by thecopy on Monday March 22, 2021 @08:11AM (#26539701)
Yes, by using CSP
Re:Backblaze submitting names and sizes of files in B2 bucke... by magicalhippo on Monday March 22, 2021 @08:44AM (#26540014)
Nice, at least it's possible.
Re:Backblaze submitting names and sizes of files in B2 bucke... by thereddaikon on Monday March 22, 2021 @08:59AM (#26540162)
Why would you allow third party scripts to be updated by anyone but you?

This trend of dynamically linking to other people's shit needs to stop.

Re:Backblaze submitting names and sizes of files in B2 bucke... by dexterdog on Monday March 22, 2021 @06:16PM (#26548080)
If you're updating them then they're not 3rd party scripts.
Re:Backblaze submitting names and sizes of files in B2 bucke... by barbazoo on Monday March 22, 2021 @10:06AM (#26540937)
> Because otherwise how do you know when they suddenly change their script to do something entirely different?

Even though it's inconvenient maybe we should treat it as just another 3rd party dependency that needs to be downloaded, screened, and then used from the internal store. Pretty dangerous to dynamically load a script from a site like facebook.com.

Re:Backblaze submitting names and sizes of files in B2 bucke... by coldtea on Monday March 22, 2021 @08:49PM (#26549552)
>Because otherwise how do you know when they suddenly change their script to do something entirely different?

(a) Sandbox it.

(b) Have them sign a contract they won't do so but only do these N things, and if change those without telling you, sue them.