Mysterious black dots appearing on carpet
Looks like grease. Check the door hinges and latch for dripping from over-lubrication.
Does not look like mold, and mold doesn't usually occur on top of carpet like that anyway.