The invention relates to a method for identifying endotoxins for eliminating said endotoxins from a sample, with the aid of bacteriophage tail proteins.