protect ml pipelines