Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Does anyone have an idea how to generate, say, insecure code, en masse? I think it should be the next frontier. Not feed them random bytestream, but toxic waste.


Ironically, probably the fastest way to create insecure code is by asking AI chatbots to code


Create a few insecure implementations, parse them into an AST, then turn them back into code (basically compile/decompile) except rename the variables and reorder stuff where you can without affecting the result.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: