Could you not simply point AI at your open source codebase and use it to red-team your own codebase?
This post's argument seems circular to me.