Compare affected and unrelated edges
Look at a high-contrast letter edge and at the portrait border. Inspect the working file for both.
Refine the correct stage
If the mask was already wrong, fix it where it lives. If the change first appears in the export, adjust the export settings and inspect the downloaded version again.
Example
Ripple-like pixels can appear near several unrelated hard edges after export, while a green edge on the portrait can follow a specific mask.
Pass condition
The reported cause is supported by corresponding differences in the working and delivered files.