I was watching the 1960 Presidential Debates... and being a bit of a Kennedy buff...
I think to call him morally bankrupt has to more to do with his father and his personal behaviour, which has nothing to do with his governing.
Foreign policy: hawkish in rhetoric (you had to be) but balanced the desire for peace with the threat of action if threatened - potentially bogging down in Vietnam (depends on what evidence you read) : moderate
Domestic policy: advocated for equal pay, became a champion for civil rights (albeit reluctantly), abolished the death penalty in DC and immigration liberalisation: Liberal
Economics: Increased Government spending and saw a massive reversal in the economic growth patterns from 1% - 5.5% average GDP growth (continued into Johnson's term), unemployment reduced, but also reduced taxes where appropriate: Liberal/moderate
On issues like Abortion/Gun control - I think he probably favoured some kind of moderate gun control (I did read some comment in which he seemed concerned about the availability of guns) - there is however, no single public comment on abortion... my gut tells me, he was probably pro-life.
Overall... JFK was more a liberal-leaning moderate, than the other way around.
This. Though hiking the minimum wage, creating federal PEUs and would-be UHC "Medicare for all by '62" should also be filed under the "liberal" part of liberal-leaning moderate. Intraparty, a firmly centrist Democrat. On abortion, probably pro-life like Bobby was. All 3 of them were pro gun control, though only RFK had extensive experience with firearms.