Some species of Sciaridae or similar diptera, mostly feeding on decaying organic matter but could damage living tissue. Either organic fertiliser wasn’t removed, organic soil has been used or the top layer has build up a high level of organic content. If need of repotting is confirmed based on other cues I would repot if no repotting is required I would remove the top layer on those areas where there is access decomposing organic matter.