One person's 'freedom fighter' is another person's terrorist.
These ethics guidelines strike me as well-intentioned, but naïve.
"If you write something innocent and later find out that it is being used for evil, you are now obligated to do something about that. You can’t ignore it or say you didn't know. You are now stuck and have to do your best to make that situation better."
If you create a library and a state-sponsored hacking group uses it, what are you expected to do? Call them out? It is not like other users of your library would associate you with the hacking group. Anytime a general purpose tool is released a devious creative mind might find a way to use it that the original creator did not think of.