Squash plants are great but they might attract slugs and snails same as nasturtiums. Giving them the ability to not manage on there own as they need there fellow humans to maintain them. But some other plants are defensive against insects. Some plants attract beneficial insects to eat other plant eating insects. It's a good biological control against Pests while some other plants are not as advanced as some.