HNHacker News
TopNewBestAskShowJobs

bugmen0t

1,060 karma · joined August 21, 2013

submissionscomments
bugmen0t··on Do not let your CDN betray you: Use Subresource Integrity
For static resources, it's nothing more than sending this HTTP header "Acess-Control-Allow-Origins: *".

We reached out to jQuery and code.jquery.com does this for a few months now.

bugmen0t··on Do not let your CDN betray you: Use Subresource Integrity
We've been toying with this idea in earlier revisions of the spec, basically using the hash as a cache key and not loading the same file from websiteB if it has already been loaded form websiteA.

Unfortunately, this could be used as a cache poisoning attack to bypass Content Security Policy.

See the section about "Content addressable storage" at <https://frederik-braun.com/subresource-integrity.html>.

(If you can come up with a magical solution to this problem, join the W3C web application security group mailing list and send us an email.)

bugmen0t··on Do not let your CDN betray you: Use Subresource Integrity
spec co-editor here.

SRI returns false (i.e. non-matching integrity) for scripts (or stylesheets) that do not enable CORS and are not same-origin [1]. Otherwise, an attacker could just disable CORS to bypass SRI.

flies away

[1] https://w3c.github.io/webappsec/specs/subresourceintegrity/#...

bugmen0t··on Bugzilla CVE-2015-4499: All Your Bugs Are Belong to Us
The bug impact description is completely false. Mozilla has "corporate confidential" bugs behind the @mozilla.com email check, but everything with a security rating is restricted to specific accounts that have been explicitly vouched for.
bugmen0t··on Snake Oil Crypto Competition
You must be looking for the Underhanded Crypto Contest: The Underhanded Crypto Contest is a competition to write or modify crypto code that appears to be secure, but actually does something evil. See https://underhandedcrypto.com/
bugmen0t··on Visualizing hex bytes with Unicode emoji
There are so much more emojis just in this block, I think it could be squeezed down to at least half as many.
bugmen0t··on Clocks
> (N.B.: This is mostly exploratory work and as such doesn't really try to be cross browser - your best bet is a recent Chrome or Chromium, but some clocks work in recent Firefox or Safari.)

works well in Firefox.

bugmen0t··on Building the Firefox browser for Firefox OS
it has its problems here and there, but 2.0 on the Flame is really nice!
bugmen0t··on Ask HN: Would you like to play a game?
Are these codes in any particular order?
bugmen0t··on A Criticism of JavaScript Cryptography
Attesting software (i.e. JavaScript, even from third parties) might be possible if https://w3c.github.io/webappsec/specs/subresourceintegrity/ gains traction.
bugmen0t··on Show HN: ccPing, a secure messenger
You can have closed-source or you can have secure. This is the former.
bugmen0t··on Germans in a Nutshell
two comments from a German: 1) Most of this applies to Bavaria, not to the rest of Germany. The US isn't just Texas, you know ;) 2) All - I repeat - ALL generalizations are wrong :-)
bugmen0t··on Potential major security flaw on HP laptop?
</conspiracy> This one explains the issue quite well: http://www.reddit.com/r/RTLSDR/comments/1le3if/so_i_discover...

Learn your electronics and don't believe in rumors ;)

bugmen0t··on Helpouts by Google
There's a pluggable no-login audio-version of this already present today: Mozilla's TowTruck: https://towtruck.mozillalabs.com/
← PreviousPage 8 of 8