Introducing the JS Time Machine
A new tool lets website owners inspect the code of third-party scripts to see if the content changed since the last time it was fetched.
Overview
A new tool called the JS Time Machine allows website owners to view previous versions of the code running on their sites. This is necessary because a web address only points to a location, and the content at that location can change without the owner knowing. The tool uses a feature called CSPAn HTTP response header that tells browsers which domains are allowed to load scripts on a web page IntegrityThe property that data was not changed to record a cryptographic fingerprintCollecting technical settings from a browser, device, or server to identify and track it of each scriptA short program written in an interpreted language to automate tasks in a browser, shell, or application file loaded by a visitor's browser. This fingerprint ensures the archived copy is the exact file the user received. By tracking these fingerprints over time, the system detects when a file changes and keeps a history of all versions. This capability helps organizations answer questions about what code was running during a specific past incident.
Terms in this story
- CSP
- An HTTP response header that tells browsers which domains are allowed to load scripts on a web page. When a website sets a strict Content Security Policy, a visitor's browser refuses to run unauthorized inline scripts or send stolen data to an attacker's server during a cross-site scripting attack.
- Integrity
- The property that data was not changed. File checksums and digital signatures protect integrity so you know a downloaded software update or bank wire instruction was not altered in transit by an attacker. From the CYBR 101 room CYBR 101: What is a hash?
- fingerprint
- Collecting technical settings from a browser, device, or server to identify and track it. Fraud detectors and ad trackers use browser fingerprinting by reading screen size, fonts, and graphics settings to recognize a visitor even after cookies are cleared. Security+ objective 4.6 lists the term
- script
- A short program written in an interpreted language to automate tasks in a browser, shell, or application. System administrators write scripts to automate daily maintenance, while attackers often use a script to download malware and disable security settings without dropping a compiled file.
- URL
- The full web address used to locate a specific page, file, or resource on the internet. Security filters inspect every URL in an incoming message to see whether the domain name is a newly registered lookalike or points to a known credential-harvesting server. Security+ objective 4.5 lists the term
- JavaScript
- The programming language that web browsers run to make web pages interactive, and that also runs on servers. Because every browser runs JavaScript automatically when loading a page, attackers use malicious JavaScript in cross-site scripting, fake browser updates, and compromised software packages.
- data breach
- An incident where an intruder gets into a system and views or copies private records. When a retailer, clinic, or school suffers a data breach, customer names, email addresses, or financial records are exposed to criminals who may sell them online. Security+ objective 3.3 lists the term
This page is a short description made for this site. The article itself, with its author's name and its own link, is on the Report Uri website. Cite the article, not this page.
Read the full article on Report Uri (opens in a new tab)
Course connections
Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.
- Kind of story: Product news
...were launching the js time machine in open... Found by reading the article; these words are close to its own - Security+ 4.8 Explain appropriate incident response activities.
"......but do you know what code it contained last week? For almost every site on..." Found in the opening sentences - Security+ 5.3 Explain the processes associated with third-party risk assessment and management.
"For any third-party script on your website, you can inspect..." Found in the opening sentences - CYBR 101 week 10: the web, cookies, phishing, incident response and logs
"For any third-party script on your website, you can inspect the code it..." Found in the opening sentences - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Knowledge of web applications and their common attack vectors.
"For any third-party script on your website..." Found by reading the article; these exact words are in it - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Knowledge of web application vulnerabilities.
"...you dont know what code is running..." Found by reading the article; these exact words are in it
How a story is connected to the course, and every objective, week and job role