Hi ,
Welcome to the Support Portal. How can we help?
Follow

Are there security risks involved?

No, only the Workspace 365 environment which you created the Azure AD application with can access this application only when a user is signed in, and the oAuth2 implementation is fully Microsoft compliant.