News for hackers. Stuff that matters.
Re:Show HN: Guardscript – Detect any changes made to your Ja... by missblit on Monday June 24, 2019 @11:42PM (#20271002)
> How do you detect the modifications? We compute the hashes of the files regularly. If only one character in a file changes, his hash will change.

Does this include HTTP headers? For instance a yay.js framework that helps people print 'yay' to the console could return:

  HTTP/1.1 301 MOVED PERMANENTLY
  LOCATION: http://evil.evil/evil.js
  
  console.log('yay!');
Re:Show HN: Guardscript – Detect any changes made to your Ja... by Dyaz17 on Tuesday June 25, 2019 @01:54AM (#20271526)
No it does not include the headers. Only the js file downloaded.