You are incorrect. The documentation supplied with the C64 detailed schematics and ROM routines:
C64: http://www.classiccmp.org/cini/pdf/Commodore/C64%20Programme...
C128: http://www.pagetable.com/docs/Commodore%20128%20Programmer's...
C64: http://www.classiccmp.org/cini/pdf/Commodore/C64%20Programme...
C128: http://www.pagetable.com/docs/Commodore%20128%20Programmer's...
Because that's still not equal to an open-source design where the licensing eliminates such risks.