Looks like a insects cocoon of some sort.
There's a chance it's a beneficial insect or friendly potential pet but I'd say the chance is much higher it's a voracious leaf munching worm or caterpillar.
I respectfully disagree. Larvae such as caterpillars and worms enter a cocoon BEFORE metamorphosis.