Whenever a creature attacks you or a planeswalker you control, that creature's controller mills two cards.
Riddlekeeper doesn’t impose a cost to attack. Creatures can attack you or a planeswalker you control even if their controller has no cards left in their library.