Skip to content

Comment on Building a back end using only OpenAI Codex

Comments

This is cool. Some thoughts:

beware: sometimes Codex writes code vulnerable to SQL injection. When that happens tough, I was able to prevent it by adding "safely" to the prompt.

Oops.

Anyway, is "the program" actually the prompts? Should that be committed into source control, so future you and others can figure out how the code was built? How long will it be until we can trust Codex enough that the Python code doesn't need to be committed? "Codex, create an Android CRUD UI for this OpenAPI document."

I wonder if the vulnerability could be detected at the embedding layer.

Codex, create a dating site around the stable marriage algorithm. Kthxbai !

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.