I have attached an email I just received from Douglas Muth who is the website owner and developer of the code we are discussing here:
Hi,
It's probably not worth the effort for me to register on a forum to make one post, feel free to quote my entire email below. I'll answer your questions inline:
Is the website secure? Has it been breached?
It is impossible to answer those two questions 100% for pretty much any website, product, or technology--for some background on why that is, this paper is a really good read: https://www.cs.cmu.edu/~rdriley/487/papers/Thompson_1984_ReflectionsonTrustingTrust.pdf
But I can tell you a little about my setup--the assets are hosted in an AWS S3 Bucket and served through CloudFront which does HTTPS and handles automatic certificate rotation. My AWS account is secured with 2-factor auth as a security measure.
https://aws.amazon.com/s3/ and https://aws.amazon.com/cloudfront/ if you're not familiar with those technologies and would like to learn more about them.
Are the access logs enabled for the HTTP server your running?
No, and this by design. Passwords are serious business, and I specifically do NOT want to know who is using my Diceware app. Could it be activists in my own country? Dissidents in a third-world country? If I have logs, those logs can then be subpoenaed by my government and could potentially be used to identify users of Diceware and place their safety at risk. But if I don't keep logs, well... the government cannot take what doesn't exist. :-)
Is it recording the secrets or are they only being shown in the browser ?
The secrets are generated in the browser and are never sent across the network. You can read through my code at https://github.com/dmuth/diceware if you'd like. Random number generation is performed by the cryptographically secure random number generator that can be found at https://www.npmjs.com/package/random-number-csprng
Also, I built the app in such a way that if you clone the repo to your machine, you could run it entirely local--no Internet connection required!
Let me know if you have any more questions.
Best,
-- Doug
--
Douglas T. Muth * Philadelphia, PA, USA * he/him/his
Web: dmuth.org - GitHub: @dmuth