I KNOW that there were "nerds" all over NASA, I worked with several who left NASA after Apollo ended so they could have something to do.
I am not talking about what was done on mission, although, there was a LOT of "secret stuff" that went up on early manned missions. They were testing several hypotheses for space born collection/imagery etc. I am speaking of some of the "under handed" stuff that went on. ANYTIME billions of government, you know, the People's money, is being handed out like candy there is corruption.
ANYTIME elected officials are involved, there will be corruption. NASA was hardly immune to that. They are not now.
I agree that MOST of those who were employed by NASA were there for the "thrill" of taking part in the program, but to believe that it was not politics as usual at NASA is naive.
All of the guys I worked with that worked on the manned space program were either contractors from day one, or became contractors, when Apollo was cancelled. They had worked in mission control, capsule design, booster design, designed orbits, software design etc. They did the same jobs when I worked with them that they did when they were with, or contracting for, NASA. Most of the contractors were with the same company that they were with when they worked with NASA. Just as when they were with NASA, they were inventing everything as they went along. Just as when they were with NASA, congress controlled the purse strings and just like when they were with NASA, "favors" were always in play.
All it takes is billions and elected officials.
It was the same in the Soviet Union. The R-7 booster that was used to put Sputnik into orbit was an ICBM being tested.
ALL of the US launch vehicles, as they were called in NASA, were ICBM's. All of the work that was done was to advance ICBM development faster than DOD could do it alone. How could that happen? MORE FUNDING. Funding that was not going to be given to DOD on it's own. So, they had a "space race" to find a way to fund it.
Some of what went on was rather inexpensive, and easy to hide, like the development of the SR-71. Development of ICBM launch platforms is very expensive. Development of orbits needed to be tested. Even "SIGINT" packages were tested on NASA missions, as far back as the early 1960's.