Nanomimics of host cell membranes block invasion and expose invasive malaria parasites.