Maybe that approach to attachment worked in childhood... children generally find the way to get the best care possible from the carers they have. The key word here is "possible". If you are feeling vulnerable, maybe you are drawn to reenact those behaviors that "secured attention from your attachment figures" in childhood.
Was negative attention the most reliable kind of attention you were given?