39
Datadog has a security footgun (sheriffcranky.substack.com)
you are viewing a single comment's thread
view the rest of the comments
[-] ericjmorey@programming.dev 7 points 2 months ago

My takeaway from this is to use CSP to minimize your reliance on others doing things intelligently. And that Datadog is not doing things intelligently at the inconvenience of their consumers.

https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP

[-] BodilessGaze@sh.itjust.works 4 points 2 months ago

Unfortunately, retrofitting CSP on an existing site can be nightmare, especially if you have external dependencies. At my job, we spent months trying to enable CSP on one our oldest sites, but ultimately gave up because one of our dependencies won't work unless we added "unsafe-inline" everywhere, which kinda defeats the whole point of CSP.

[-] tyteen4a03@lemmy.zip 2 points 2 months ago

Having something is better than nothing! In our case, having connect-src enabled would have avoided the incident.

this post was submitted on 09 Apr 2024
39 points (89.8% liked)

Programming

16207 readers
2 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS