Just audited our environment and the scariest stuff is the IT scripts that have been running for years without being touched

Posted by kmonie360@reddit | sysadmin | View on Reddit | 86 comments

Found hardcoded credentials in 3 separate scripts running in production. PowerShell touching AD, a Python cron job pulling from the production database, Bash written by someone who left ages ago that at least several devs have since modified without a PR or any kind of review.

None of it is in any system our AppSec process touches because these scripts live outside the repos we scan. I don't think anyone explicitly decided they were out of scope, they just accumulated outside the boundary of what the security tooling covers and sat there.

What bothers me is these scripts usually have broader access than the application code because the people who wrote them had admin rights and were just trying to get something done fast. That access was never revisited.