How to communicate between container app and extension in a secure way

Hi, Could you please let me know if there is a safe and recommended way to communicate between the container app and the extension? Thanks in advance.

I'm getting a bit fed up of these vague questions...

PUT MORE INFO INTO YOUR QUESTIONS!

What are you trying to achieve?

How to communicate between container app and extension in a secure way
 
 
Q