# UNSAFE_TAGGOR_GLOBAL: Component writes the taggor global

> Component writes the taggor global

| Severity | Fault                         | Stage        |
| -------- | ----------------------------- | ------------ |
| error    | customer (the source package) | build output |

## What it means

The component assigns, defines or deletes window.taggor or one of its members (Object.defineProperty(window, "taggor", …), taggor.on = …). The global is the host page's API to its components; a component that replaces it can read the other components' events and answer for them (rule taggor-global).

## How to fix

Talk to the page through your component's declared events (context.emit); read the page's API without writing to it.
