Not allowed assistive access

I have an Applescript.

The .app of it is added to Privacy & Security > Accessibility. When executed the .app it crashes.

Screenshot 2023-08-14 at 12.22.20

Has anyone a hint or a circumvention for this problem.

I gave feedback to Apple with every new release. No response.