# UNSAFE_PREACT_INTERNALS: Component accesses Preact internals

> Component accesses Preact internals

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

## What it means

The component reads a mangled field used by Preact's component or hook internals. Those fields expose shared runtime state and can bypass safeguards such as visitor consent. This check only catches direct, statically visible access; names built at run time are not detected here and stay covered by the server-side proof check and abuse review (rule preact-internals).

## How to fix

Remove accesses to Preact's internal fields and use the documented hooks and Preact component APIs.
