From the image below, it seems vibe coders have a long way to go before they can actually make safe and secure products.
"Even products from top devs get hacked too," yes, but they usually do know how to go around it.
The best way to prevent getting hacked include:
1. Familiarising yourself with the workings of your framework, programming language, libraries, etc.
2. Always use HTTPS everywhere!
3. Always hash passwords!
4. Use env. variables for api keys, passwords, client IDs.
5. Make sure you run your logs, so you can use them for forensic investigations if a security breach happens.
6. Use prompts such as 'Undertake a full review of any risks associated with exposing personal identifiable information to a malicious actor. Investigate, explain, resolve.' while vibe coding.
Please feel free to add any other pieces of advice.
Login to post a comment.
Login to post a comment.
Login to post a comment.
Login to post a comment.
Login to post a comment.
Login to post a comment.
Login to post a comment.
Login to post a comment.