Sounds like something Biden would do.
"Hey China buddies, my people are mounting an attack on you for invading Taiwan. Just a heads-up, I'll give you details. Your buddy Joe!"
The chairman of the Joint Chiefs of Staff is the highest-ranking and most senior military officer in the United States Armed Forces and is the principal military advisor to the president, the National Security Council, the Homeland Security Council, and the secretary of defense. While the chairman of the Joint Chiefs of Staff outranks all other commissioned officers.
***The chairman is prohibited by law from having operational command authority over the armed forces***; however, the chairman does ***assist the president and the secretary of defence***.