to me, this is a variant of security by obscurity and will not fare well in the LLM age

I suppose a smaller attack surface could be considered a sort of obscurity. Its also just practically less to defend.