In the story of the dinner where the woman anoints Jesus with an expensive perfume, only one of the gospels writers identifies the woman. This is John, the last of the gospels. The book was written much later than the rest.
He is not ashamed of Mary. John 11:1-2 (1Now a man named Lazarus was sick. He was from Bethany, the village of Mary and her sister Martha. 2 (This Mary, whose brother Lazarus now lay sick, was the same one who poured perfume on the Lord and wiped his feet with her hair.))
The other writers pretend not to know the woman, probably because of her condition of sinful woman as described by Luke in Luke 7:37. “A woman in that town who lived a sinful life learned that Jesus was eating at the Pharisee’s house, so she came there with an alabaster jar of perfume.” They don’t even mention the resurrection of Lazarus. How could they forget such event.
They were probably protecting Mary as well as Lazarus from the Pharisees, considering that the Pharisees wanted to kill Lazarus and Jesus and Mary was a sinner to them. Those gospels do not mention Nicodemus or the blind man who was blind by birth either. At the time the gospel of John was written, all these people were death. I guess, it was safe to talk about it.
But, maybe Judas The Iscariot disproved the friendship between Jesus and the sinful woman.
Judas couldn’t accept Mary’s conversion. He never really believed Jesus. He turned to the side of the Pharisees. He thought like they did.
Judas took the decision to deliver The Lord, just right after the dinner in the house of Simon.
Jesus not only favoured the woman with his parable of the two debtors, but he also accepted her anointing and besides he forgave her sins in presence of Simon and everyone who was there. Right after, Judas took the decision of handing out The Lord to The Pharisees. Peter also denies Jesus after he was taken by the High Priest. All the apostles left Jesus alone, except John. They were afraid, depressed. They were hopeless. They doubted.
This was only two days before the Passover.
According to The Gospel of Mary, Mary was present the night of the Passover dinner. That was when The Lord told Judas to do what he was going to do. Judas just went and delivered The Master to the Pharisees.
This probably did not scandalized all the apostles, but Judas. And probably it was one of the reasons why most of the Apostles left Jesus alone and doubted of Jesus as their Messiah while he was being crucified. They saw Jesus’ arrest and crucifixion as the end to all their dreams of glory.
The reason I say this is because later, Judas regretted what he did saying “I had delivered innocent blood.” At some point he thought Jesus was guilty of something.