Remove the corn kernels from fresh corn cobs and keep the clean corn husks for wrapping.
Grind the corn kernels in a blender or food processor until they form a thick mixture.
Heat a little oil in a pan and add finely chopped onions.
Cook the onions until soft, then add chopped fresh basil and mix well.
Add the ground corn mixture, salt, and pepper.
Cook over low heat, stirring continuously until the mixture becomes thick.
Place a portion of the corn mixture inside each clean corn husk.
Fold the husks carefully and tie them securely with thin strips of corn husk.
Place the wrapped humitas in a pot of boiling water.
Cook for approximately 30–40 minutes until firm and fully cooked.
Remove carefully, allow them to cool slightly, and serve warm.