Skip to content
SparkTime, home

Tagged #code review

GuideTechnology

11 min read

Security and Licensing Risks of AI-Generated Code

Generated code that works can still be vulnerable, depend on a package that should not be trusted, or resemble code with a licence you must respect. This article lists the common security weaknesses, shows a SQL injection example you can run, gives a short security review routine and explains licensing questions without pretending to be legal advice.

GuideTechnology

10 min read

Testing, Reviewing and Refactoring AI-Generated Code

AI-written code often passes AI-written tests, because both come from the same assumptions. This article shows how to write tests that check what the code should do, how to use AI as a second reviewer without relying on it, what to look for in AI-generated diffs, and how to refactor safely.