TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: How does a JAMstack website like Smashing Magazine get hacked?

15 pointsby b0ner_t0nerabout 5 years ago
So Smashing Magazine got hacked yesterday[1] and I was quite surprised by this because they&#x27;ve moved off WordPress 3 years ago and have been promoting JAMstack ever since for its performance and security.<p>I doubt they will be doing a post-mortem on this, but where would the entry point be? A weak GitHub account without two-factor authentication or something else?<p>[1] https:&#x2F;&#x2F;twitter.com&#x2F;tonyciccarone&#x2F;status&#x2F;1261100239206957056

4 comments

rshnotsecureabout 5 years ago
1. Keyloggers written entirely in CSS have been demonstrated for some time now [a]<p>2. Malicious Javascript could have been embedded into their CI&#x2F;CD pipeline and made it onto the site.<p>3. Somehow stealing SSH keys from a developer and simply logging into the box to change things at the OS level. In fact, it looks like at least one subdomain of theirs is hosted on GoDaddy. SSH keys for some of their customers were recently compromised. Note that I don&#x27;t think this actually happened, but wanted to list. [b]<p>4. Smashing Magazine could also improve security by adding the Expect-CT, Feature Policy, and especially a Content Security Policy. Ironically a Smashing Magazine article from 2017 mentions at least having a CSP. [c,d]<p>5. I recall some speech by the NSA at DEFCON, I think in 2012 or something. One of their speakers said that for all the cool stuff they do...95% of this time it&#x27;s just password reuse that gets people or phishing for credentials. This would seem to me the most likely way and the best investment of a hackers time.<p>[a] - <a href="https:&#x2F;&#x2F;css-tricks.com&#x2F;css-keylogger&#x2F;" rel="nofollow">https:&#x2F;&#x2F;css-tricks.com&#x2F;css-keylogger&#x2F;</a><p>[b] - <a href="https:&#x2F;&#x2F;www.theregister.co.uk&#x2F;2020&#x2F;05&#x2F;05&#x2F;godaddy_ssh_login_details_compromised&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.theregister.co.uk&#x2F;2020&#x2F;05&#x2F;05&#x2F;godaddy_ssh_login_d...</a><p>[c] - <a href="https:&#x2F;&#x2F;www.smashingmagazine.com&#x2F;2017&#x2F;04&#x2F;secure-web-app-http-headers&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.smashingmagazine.com&#x2F;2017&#x2F;04&#x2F;secure-web-app-http...</a><p>[d] - <a href="https:&#x2F;&#x2F;www.keycdn.com&#x2F;blog&#x2F;http-security-headers" rel="nofollow">https:&#x2F;&#x2F;www.keycdn.com&#x2F;blog&#x2F;http-security-headers</a>
seanwilsonabout 5 years ago
JAMstack doesn&#x27;t make you invulnerable but it removes some big surface areas.<p>You&#x27;ve still got to secure e.g. your hosting account, DNS account, Git account, comment system (against injection attacks). Phishing attacks aren&#x27;t going to go away.
chrismellerabout 5 years ago
Most of Ourmine’s prior attributed hacks seem to involve compromising an account - whether the original or an email account with it that allows them to reset a password.<p>Someone else mentioned that at least one sub domain is hosted by Godaddy, and that seems like a very easy target.
stakkurabout 5 years ago
Surely this is their hosting provider getting hacked, not the &#x27;site&#x27;?