An octopus will not attack a brittle star unless it attacks it first, or maybe if it is feeling ornery or confuses the brittle star with another octopus. However, given that octopi are intelligent thinking creatures, I doubt it would be stupid enough to get confused, or that it would get mad. The fact that your brittle stars have holes in them would suggest possibly a problem with the water quality? Maybe the stars are decaying from bacteria or parasites, or maybe the octopus inked and it's killing them off (if so, toss in some carbon quick or change some water, cause it can kill your octopus as well). I doubt a crab escaped the notice of you octopus, though, so I think there's something else going on in your tank.