Or depending how it's understood; as invisible you could try dislodge the hooks. I am sure sundering ropes counts as attack but simply dislodging them would not be attack (unless counting making people fall by removing rope as a 'attack' even if indirectly as it's gravity what harms them and not invisible guy).