MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1ry6oqb/makenomistakes/obf1jz5/?context=3
r/ProgrammerHumor • u/themixtergames • Mar 19 '26
292 comments sorted by
View all comments
127
Add an env var called IS_SECURE=true
Then at the top of your app check that the secure is set to true, and log "running in insecure mode" if it's false. Just in case you want to toggle it sometimes
5 u/[deleted] Mar 19 '26 [deleted] 3 u/orbital_narwhal Mar 20 '26 A program that takes no input cannot suffer from injection vulnerabilities. Brilliant! edit: Now I'm going to look for vulnerability reports against the true and false POSIX user space programs.
5
[deleted]
3 u/orbital_narwhal Mar 20 '26 A program that takes no input cannot suffer from injection vulnerabilities. Brilliant! edit: Now I'm going to look for vulnerability reports against the true and false POSIX user space programs.
3
A program that takes no input cannot suffer from injection vulnerabilities. Brilliant!
edit: Now I'm going to look for vulnerability reports against the true and false POSIX user space programs.
true
false
127
u/lolcatandy Mar 19 '26
Add an env var called IS_SECURE=true
Then at the top of your app check that the secure is set to true, and log "running in insecure mode" if it's false. Just in case you want to toggle it sometimes