I would argue the opposite, softrware is worse than ever because lets be honest. Most people just use a library, they assume the library is careful.
How many times have we seen file upload libraries allow path traversal to happen ?
Nearly everywhere people dont even attempt to validate taht the effective path from the url is actually under the target directory and have not travelled somewhere else.
WHY
Because most oeople are lazy and dont bother inserting that one line, they just let it go and bad stuff happens.