Heat oil in a medium pot over medium heat. Add the shallots and cook for 5 minutes until they begin to soften. Add the garlic and cook for 1 minute until fragrant.
Cook the butternut squash:
Add the squash and cook in the aromatics for 4–5 minutes, being careful not to burn the garlic—season with salt and pepper.
Sizzle the aromatics:
Add the harissa, silk chili, and maple syrup to the pot and toss to coat the butternut squash.
Simmer the squash:
Add the beans and 1/4 cup water. Bring to a boil, cover the pot, and simmer for 10–20 minutes until the squash is very tender. Stir the squash occasionally and add more water as necessary if it sticks. Mash the squash as it softens.
Purée the dip:
Once the squash is very soft, use an immersion blender or food processor to pulse until completely smooth—taste and season to your preferences.
To serve:
Serve the dip warm with your favorite accompaniments or refrigerate and serve chilled with pomegranate seeds and more silk chili flakes.