I think you are seeing demons where there are none. It is clear to me this is a reference to communications FROM your attorney TO the company, NOT TO YOU. Read that way, it is perfectly lawful behavior.
Yes, it is legal for them to ask. Your communications with your lawyer are privileged, but you can waive that privilege and share those communications with your employer if you wish to do so.
James L. Yeargan, Jr. is licensed to practice law in the State of Georgia. All information given is based only on Georgia law, and is not directly applicable to any other jurisdictions, states, or districts. Any answer given assumes the person who asked the question holds a Georgia Drivers License, and this license is not a commercial drivers license (CDL). This response, or any response, is not legal advice. This response, or any response, does not create an attorney/client relationship. The response is in the form of legal education and is intended to provide general information. Any state specific concerns should be directed to an attorney who is licensed to practice law in that respective state.