Re:Switzerland now requires all government software to be op...
by recursivedoubts on Tuesday July 23, 2024 @12:23PM
(#41047826)
i can think of no act more deviously effective in bringing down the american empire than introducing the NPM ecosystem into its vital bloodstream, well played comrade!
Re:Switzerland now requires all government software to be op...
by rawgabbit on Tuesday July 23, 2024 @12:32PM
(#41047945)
If you had to select a single programming language, for US government agencies to use, which one would you pick?
Re:Switzerland now requires all government software to be op...
by recursivedoubts on Tuesday July 23, 2024 @12:41PM
(#41048061)
go or java, in that order
Re:Switzerland now requires all government software to be op...
by rawgabbit on Tuesday July 23, 2024 @03:23PM
(#41049761)
Thank you for your reply.
If you were asked develop a web application using Go, how would you go about doing it?
Re:Switzerland now requires all government software to be op...
by jazoom on Tuesday July 23, 2024 @04:20PM
(#41050379)
I would assume he would use HTMX, being the creator of it.
Re:Switzerland now requires all government software to be op...
by rawgabbit on Tuesday July 23, 2024 @05:20PM
(#41051026)
Thank you
Re:Switzerland now requires all government software to be op...
by recursivedoubts on Tuesday July 23, 2024 @06:35PM
(#41051711)
Yeah, go w/ htmx + vanillajs (or possibly alpine.js or https://github.com/gnat/surreal) would be a reasonable option for many government projects. You can audit the htmx codebase and it is dependency free (same w/ alpine & surreal) and self-host everything, go compiles to a single binary for deployment.
Re:Switzerland now requires all government software to be op...
by lawn on Tuesday July 23, 2024 @12:24PM
(#41047838)
To be honest, not having node.js on the approved software list seems like a pretty good idea.
Re:Switzerland now requires all government software to be op...
by rbc on Tuesday July 23, 2024 @02:50PM
(#41049471)
If you can piggyback on an existing system, you may only need to pursue using the RMF assess only process with the gaining system owner. Once the assess only process is approved, the hardware, software and PPSM in the gaining system would be updated to reflect the new components. Those approved software lists don’t get updated very quickly. Using an assess only process may move things ahead more quickly.
Re:Switzerland now requires all government software to be op...
by ffsm8 on Tuesday July 23, 2024 @12:27PM
(#41047885)
But is node worth it without the npm packages?
I feel like it's pretty much one of the worst runtimes/scripting languages if you can't utilize it's ecosystem.
Re:Switzerland now requires all government software to be op...
by austin-cheney on Tuesday July 23, 2024 @02:34PM
(#41049295)
Yes, absolutely. I can manually import the 2-3 packages I regularly use. TypeScript, for example, has no dependencies. The only thing I would miss is ESLint which has a billion dependencies that I wouldn't bother with.
Re:Switzerland now requires all government software to be op...
by thaithrowawayy on Tuesday July 23, 2024 @12:32PM
(#41047938)
This is actually really scary that you want NPM in the military...
Thank god that I trust - this was denied - smart move.
Re:Switzerland now requires all government software to be op...
by austin-cheney on Tuesday July 23, 2024 @02:35PM
(#41049305)
I don't. I want Node available to write systems automation without dependency on OS specific code. I don't need NPM to make effective use of Node.
Re:Switzerland now requires all government software to be op...
by kjkjadksj on Tuesday July 23, 2024 @12:28PM
(#41047903)
Considering the military has an offensive cybersecurity arm, maybe they know more about node js and why not to use it than you might assume.
Re:Switzerland now requires all government software to be op...
by imadj on Tuesday July 23, 2024 @12:26PM
(#41047859)
> I have tried several times to get Node.js into the military on approved software lists for internal development and its a huge struggle
What's on the approved stack? I imagine .Net and Java/spring are the standard, right? anything else like php, python, go etc?
Re:Switzerland now requires all government software to be op...
by segmondy on Tuesday July 23, 2024 @12:32PM
(#41047941)
Sorry, but I'm glad they are not open to node. Why would you want node within the militaries network?
Re:Switzerland now requires all government software to be op...
by austin-cheney on Tuesday July 23, 2024 @02:37PM
(#41049321)
To quickly spin up OS-agnostic systems automation.
Re:Switzerland now requires all government software to be op...
by SV_BubbleTime on Tuesday July 23, 2024 @12:20PM
(#41047777)
I mean… open source IS suffering insecurity issues.
A lot of the supply chain failures I can think of, were open source projects.
I’m not saying node or OSS has no place, but there is more than something to do t being a security issue.
How many years was heartbleed exploitable despite “all the eyes on it”?
The good part about OSS is all the people that can review it, the bad part is all the people that can review it. Now… which one is more incentivized today ignoring a future military use?
It only works when assets are put into hardening existing code.
Re:Switzerland now requires all government software to be op...
by Already__Taken on Wednesday July 24, 2024 @02:52PM
(#41060460)
Well NPM isn't really your problem there, the registry its targeting is and that's a firewall & config change, no need to block npm.exe.
I have tried several times to get Node.js into the military on approved software lists for internal development and its a huge struggle. I suspect the main culprits are due to valid security concerns regarding package managers like NPM and old ignorant thinking about open source being either immature or open software being a wide open exploitation vector. That is really tough because there aren't official binaries of Node without NPM and ignorant thinking about open source is really persistent.