All apps

Shared code hosts

AMP

AMP is a shared code host. It serves shared code that other scripts on the page use.

What it can see

Full-page access

Its code runs in the page itself, not in a separate frame. Code that runs there can read what visitors type into forms, including email, address and checkout fields.

That is true of any script loaded this way. It describes where the code runs, not that AMP does anything wrong.

Where its files come from

SafeScript names a script AMP when it loads from this address or one of its subdomains:

  • ampproject.org

From the public third-party-web list of hosts seen on websites in the HTTP Archive crawl of March 2026, reviewed by SafeScript.

What SafeScript watches for

  • Changes to its files

    SafeScript keeps a fingerprint of each AMP file your site loads and checks it every hour, or every minute on Pro and Agency. A changed file is compared with the copy you approved and checked for code that reads payment fields, collects forms or sends data to a new address.

  • New places it sends data

    With SafeScript’s script on your site, a request to an address you haven’t approved is reported to you, and stopped once blocking is on.

  • Reads of password and card fields

    If code from AMP reads a password or card field in a visitor’s browser, that read is reported for your review.

  • New fields and frames on your pages

    SafeScript records the forms, fields and frames on each page. If one appears that wasn’t there before, whichever script added it, the page is flagged for your review.