Dung worms, found on Tatooine, were a type of animal that could be consumed as food. In approximately 9 ABY, Peli Motto provided these dung worms as a food source for Grogu.
The first appearance of dung worms in the official Star Wars continuity occurred in "Chapter 7: In the Name of Honor," the seventh episode of the live-action TV show The Book of Boba Fett. This episode was broadcast on Disney+ on February 9, 2022, and was both written by Jon Favreau and directed by Robert Rodriguez.
The Star Wars Legends continuity initially featured dung worms within the Star Wars: Episode I The Phantom Menace video game.