How can I fix an error with system event Osascript (1002)

I use an app to manage my passwords on my Macbook with MacOS Monterey 12.1 and it's suppose to autofill user name and password on website login page. Now with new MacOS I have this message : « Error in system events: Osascript is not allowed to send key entries. (1002)» The full message is this one :

« The operation could not be completed. /Users/Phil/Library/Application Scripts/2BUA8C4S2C.com.agilebits.onepassword-osx-helper/ 1Password_Autosubmit.scpt:140:156: execution error : Error in system events : Osascript is not allowed to send key entries. (1002) »

Does anyone have an idea about how I can fix this ? Thank you!