From
晋·干宝《搜神记》: the
蜮 was a legendary water beast that would hold sand in its mouth and spit it at a person's reflection in the water, causing the person themselves to fall ill. Hence attacking by shadow means harming someone through indirect malice.