Would that be an issue?

Yes, it's a canvas library, there's a lot of risks of including AI generated code that hasn't been checked in a rasterizing library.

A lot of risks compared to what? I imagine bugs in kernel drivers or disk utilities be riskier.

Such as?

Yes.