A green tree frog narrowly avoided becoming lunch to an unsuspecting shopper after finding its way into a packet of spinach.

The woman was unpacking her groceries when she spotted the Eastern Dwarf Tree Frog and quickly freed it from its plastic prison.

Now appropriately named Popeye, the frog was rushed to Currumbin Wildlife Sanctuary's community hospital and was found to be in perfect health.