In short
On November 24 Todoist published its report on an intrusion into its systems. The largest group of affected users, about 6%, was exposed because production still held SHA-1 password hashes the company had stopped computing more than ten years earlier. The same had happened to Dropbox, and with code to Knight Capital in 2012. The old thing stops being used, but nobody decommissions it, because projects close when the new system goes live and the switch-off is left with no owner and no budget. The proposal comes from the accounting of industrial plants: estimate from the quote onward what it will cost to switch off what you replace, write the closing conditions up front, and keep an old system running only if someone signs every year that it has to stay.
On Tuesday, November 24, Todoist, a widely used task manager, published its report on an intrusion that took place between Sunday and Monday. Among the stolen data were the password hashes of about 6% of its users, computed with a method the company had stopped using for new passwords more than ten years earlier. The method had been dropped long ago, but those hashes were still in the production database, and they left along with everything else.
I read the report with a very personal interest. At Oltrematica we are rewriting in Laravel a product that was born in Python, and the date that worries me most is the day we switch off the old version, far more than the day the new one goes live. Who will make that call, and how we will prove the old system is really off, are questions I still can’t answer well.
I can’t go into the details of the projects we run for clients, because almost all of them are covered by confidentiality agreements. What I can say is that when we inherit a system already in production, we find a piece of the old one still running next to the new one more often than you would think: a service nobody remembered leaving there, an account nobody revoked, an archive nobody wants to be the first to delete. The story never changes. Switching on the new system had an owner, a budget and a date on the calendar, while switching off the old one came after the project had closed and belonged to no one.
Keeping backward compatibility for a while is often the right call, technically and economically. The trouble is that “for a while.”
A File From Ten Years Ago
According to the report Todoist published on November 24, and updated on the 25th and 26th, someone first used a stolen version control credential on November 22 at 14:04 UTC. With it they modified some automated workflows in three repositories and harvested more credentials, until on the morning of the 23rd they had administrative access to the employee authentication system. By 9:08 they were in the production databases.
Between 12:45 and 12:51 they exported and downloaded a file with email addresses, account creation dates and password hashes belonging to some of the service’s earliest users. The team spotted an unexpected administrator account at 17:01 and shut off access over the following forty minutes.
Four groups of users were affected. The one in that file accounts for about 6%, and the others come to fractions of a point: API and Slack integration tokens for roughly 0.003%, credential-like text users had typed into their own tasks and previews of connected Outlook mailboxes for 0.001% each.
On the 6% group the report is specific. Some older accounts still carried salted SHA-1 hashes, because their passwords hadn’t changed since the company moved away from that method more than a decade earlier. Then comes a sentence you rarely read in an incident report: “We should have retired support for it sooner and have now done so.”
No plaintext passwords were taken, and the company says it found no sign that anyone signed in to the accounts in that group. The old algorithm had nothing to do with the break-in either, which came through a development credential and an automation with too many permissions. SHA-1 didn’t open the door. It decided what was behind it.
A salted SHA-1 hash is still a problem even though it isn’t a plaintext password, because it is fast. General-purpose hash functions are built to compute a fingerprint in an instant, which is perfect for checking a file’s integrity and terrible when someone is trying billions of candidate passwords against a stolen hash. Bcrypt, scrypt and Argon2 are slow on purpose and tunable, so that every guess costs something. The salt stops an attacker from cracking all the hashes at once with precomputed tables, but each single guess stays cheap, and that is the risk Todoist names when it writes that the older hashes may be exposed to password-guessing attempts.
Fourteen years earlier almost the same thing had happened. In the summer of 2012 Dropbox suffered a breach described at the time as contained: an employee had reused their work password elsewhere. Only in August 2016 did it emerge that the incident had leaked the data of more than 68 million accounts. Troy Hunt, who runs Have I Been Pwned, analyzed the files. Two held email addresses and bcrypt hashes, the other two addresses and SHA-1 hashes, in nearly equal shares. To him it looked like a snapshot of a transition in progress from the weaker method to the stronger one.
Dropbox, like Todoist, had made the right technical choice and used the better algorithm for every new password, yet whoever got in found the past sitting next to the present, in the same place and behind the same keys. In 2016 the company forced a password reset for anyone who had signed up before mid-2012 and hadn’t changed their password since. Todoist dropped support for the old hashes and reset the affected passwords. In both cases what closed the matter was an incident, and no decision taken beforehand.
Why Migrations Never End
Changing the password algorithm of a service already in use is harder than it looks. A well-built service doesn’t know its users’ passwords, it keeps only the hash, the output of a function that can’t be reversed. To convert the old hashes into new ones it would need the original passwords, which is exactly what it must not know. The OWASP Password Storage Cheat Sheet lays out the options, and none of them is free.
- Rehash on login. When the user signs in, the password they type is processed with the new algorithm and the old hash is replaced. It’s painless, but the old hash stays in the database for anyone who never comes back.
- Wrap. The new algorithm is applied on top of the old hash, with no need for the password, and everyone is protected at once. OWASP warns, though, that this construction can make the hashes easier to crack, and that it should be replaced the next time the user logs in.
- Expire. The hashes of long-inactive users are deleted and they are asked to reset their password. It’s the safest route and the least comfortable: it weighs on support, and many users read a forced reset as a sign of a breach.
It’s easy to see why so many pick the first and stop there. Support gets no calls and the share of old hashes falls on its own, though more and more slowly. Active users migrate in the first few weeks, and the ones left are by definition the ones who don’t come back. A migration that waits for users to log in leaves a tail that never reaches zero, and it stays there until someone decides to cut it.
The same pattern runs well beyond passwords. The best-known model for modernizing a system without rewriting it all at once is the one Martin Fowler named the strangler fig in 2004, after the fig that grows around a tree until it smothers it. You build the new system around the old one, move traffic over piece by piece, and in the end the old one dies. In the original post Fowler describes one such project and notes that even if they stopped now, they would already have a huge return on investment, more than many full rewrites achieve. He is right, and that is why the model works, but the same remark also reads as permission to stop.
In AWS’s guidance the last step of the model is called, with no euphemism, eliminate. It’s the one that gets skipped most often, because by the time it comes around the project has delivered its value and the budget has run out. Temporary backward compatibility turns into technical debt the moment nobody is responsible for ending it anymore.
A migration starts with an owner, a budget and an expected result, which is almost always the new system going live. Once the new system works, the project has met its goal and closes, and the people move on. Whatever is left of the old one no longer belongs to any project and becomes maintenance, work that exists but nobody sees.
Then there is the asymmetry of costs. Switching a component off for good costs money right away and in plain sight: you have to find out who still uses it, write to customers, field the calls, accept that something will break. The benefits come later and take the form of incidents that never happen, and nobody gets thanked for those. Putting it off is rational for whoever decides today, and someone else pays the bill further down the line.
I don’t know whether that is how it went at Todoist, and nobody outside the company can know.
Google’s engineers devoted a chapter of Software Engineering at Google (O’Reilly, 2020) to deprecation, and it opens with this line: “code is a liability, not an asset.” What has value is the function the code performs, while the code itself is future maintenance for somebody.
The chapter distinguishes two kinds of deprecation. Advisory deprecation warns and suggests migrating without setting deadlines, and according to the authors it rarely gets anything done on its own. Compulsory deprecation has a date and a mechanism to enforce it, but it only works with people dedicated to it, otherwise those who must migrate experience it as an unfunded mandate handed down from above. Leaving deprecation to users, they note, makes it optional, which means it never gets finished. Rehashing passwords on login is advisory deprecation by the book, where you wait for users to come back and do the work.
In the 1970s Meir Lehman, studying the evolution of IBM’s operating systems, formulated a set of empirical laws of software evolution. The second says that a system in use becomes more and more complex as it evolves, unless work is done to maintain or reduce its complexity. Decommissioning is exactly that work, and without it complexity grows by sheer accumulation.
At scale, the accumulation shows up in the American public accounts. The Government Accountability Office has said for years that of the more than $100 billion the federal government spends on IT each year, about 80% goes to operating and maintaining what already exists, legacy systems included. Not all of that 80% is past that should have been switched off. Some of it is, and nobody can say which part, because nobody ever decided when it should end.
The Code Nobody Had Switched Off
The same happens with code, and you don’t even need an attacker: a botched release is enough.
On August 1, 2012, Knight Capital, which on its own handled about a tenth of all trading in listed US equities, lost about $460 million in forty-five minutes. The SEC’s account is well known. To take part in a new New York Stock Exchange program, the firm updated its order-routing system. The new code replaced a function called Power Peg, unused since 2003 but never removed, and reused its activation flag.
During the rollout a technician failed to copy the new code to one of the eight servers, and nobody checked. When the first orders arrived with that flag set, seven servers did what they were supposed to and the eighth woke Power Peg up. On top of that, in the years after it was abandoned, the part of the system that told it when an order had been filled had been changed, so the old code, in a new context, no longer knew when to stop.
For the organization Power Peg had been dead for nine years, unused and owned by no one, but the code was still there, executable and wired to a flag that someone, years later, would consider free.
Between stopping using something and decommissioning it lies the same distance that separates a habit from a fact. Stopping using is a collective state that nobody signs. Decommissioning is an operation with an owner, a date and proof. Todoist had stopped using SHA-1 more than ten years earlier and Knight had stopped using Power Peg nine years earlier, but neither had finished decommissioning them.
When Someone Else Decides the End
There is a sure way never to decide when to decommission a technology: wait for someone else to decide. The end comes anyway, only it comes on someone else’s calendar.
In July 2017 Adobe announced that Flash would no longer be supported after the end of 2020, and every browser maker repeated the warning for three and a half years. Support ended on December 31, 2020, and from January 12, 2021, the player stopped running content. That day, according to reports at the time that drew on local sources, the system China Railway Shenyang used to organize train traffic in the area stopped working, with disruption lasting up to about twenty hours. A component picked years earlier for convenience had become critical infrastructure without anyone deciding so, and it went away on a date set by a company in California.
In The Cost of Changing Your Mind I asked who keeps a hand on the switch of the technologies we depend on. Unplanned decommissioning is the same question seen from the inside: if you don’t set your own end date, you accept someone else’s.
Dates slip, too. Python 3 came out in 2008, and the end of support for Python 2 was announced for 2015. Many didn’t migrate, and in 2014 the deadline was pushed to January 1, 2020. That time it held: after that day, no more fixes, not even security ones. You can read the story as a defeat for deadlines. I read it the other way around. To move a date someone has to decide, explain why and set a new one, while a date that doesn’t exist obliges nobody to do anything.
Even the people who write the standards give themselves very long runways. NIST had been recommending a move away from SHA-1 for digital signatures since 2006, declared it deprecated in 2011 and, in December 2022, announced its complete retirement by December 31, 2030, after which the federal government will no longer be able to buy cryptographic modules that use it. Almost twenty-five years pass between the first date and the last, which is a lot, but at the end there is a written date with a concrete consequence attached. That’s more than most of the migrations I know have.
A Liability That Never Reaches the Balance Sheet
In oil and gas, an industry I worked in for a few years, decommissioning is part of the project from day one. An offshore platform is built in the knowledge that one day it will have to be taken apart, and that doing so will cost a great deal. The international accounting standard IAS 16 turns this into a precise rule: when an installation is recorded on the balance sheet, its cost already includes the estimated cost of dismantling it, removing it and restoring the site. Against that estimate a provision is recognized, measured under IAS 37 and revised over the years.
The authors of Software Engineering at Google make the same comparison when they suggest planning a system’s deprecation from the start, the way nuclear power plants set aside funds for decommissioning. They add the criterion that strikes me as the harshest in the whole chapter: don’t start projects your organization isn’t committed to supporting for as long as it expects to exist.
Software has nothing like this. No rule asks you to estimate the cost of switching off an application when you put it on the books, and almost no project budget has a line for removing what the project replaces. Decommissioning appears in no document until it becomes urgent, and by then there is no fund to draw from.
Without touching any accounting standard, we can borrow the idea. Every modernization project should carry, from the quote onward, an estimate of what it will cost to switch off what it replaces, and the name of whoever answers for that expense. If the estimate turns out enormous, it means the cohabitation will last a long time, and it’s better to know that before signing.
The law, meanwhile, has started asking for an end date. The Cyber Resilience Act (Regulation (EU) 2024/2847), which will apply in full from December 11, 2027, requires anyone placing products with digital elements on the market to set a support period, as a rule no shorter than five years, during which they handle vulnerabilities and ship security updates (Article 13(8)). It also requires the end date of that period, at least month and year, to be clearly stated at the time of purchase, and users to be notified when it arrives, where technically feasible (Article 13(19)). For the first time, a European law forces whoever sells products with digital elements to write down an end date before selling.
The law asks us to tell the customer when we will stop looking after the product, but nobody asks us to tell ourselves when we will stop carrying around pieces of the previous one. Yet the second exercise prepares the first: a manufacturer that doesn’t know how much past lives on in its code will struggle to promise five years of credible updates.
The GDPR, for that matter, has always asked for dates without our noticing. Article 5 wants data limited to what is needed and kept no longer than necessary. An account whose password hasn’t changed in over ten years may be a loyal customer who never needed to change it, or a record nobody uses anymore. The Todoist report doesn’t say what the split is, and there’s no point guessing. Anyone running a service with long-standing users, though, should ask how much of the data they hold belongs to people who no longer use the service, and why it is still there.
Italy has one more reference point. On December 7, 2023, the Garante per la protezione dei dati personali, the Italian data protection authority, and the Agenzia per la cybersicurezza nazionale, the national cybersecurity agency, approved guidelines on password storage, published in the Italian Official Gazette on January 19, 2024. The measure treats its requirements as necessary when passwords are stored for a significant number of users, or for users who access databases of particular importance or size.
It’s usually read as the answer to “which algorithm should we use?” But the guidelines also require passwords to be deleted promptly, automatically if need be, once they are no longer needed, with an explicit reference to the storage limitation principle. That is the part the Todoist case makes topical, because in an audit the decisive question becomes which algorithms are still present in our archives. A company can have used the right algorithm for ten years and still keep the wrong one in the same database.
When a Migration Is Really Over
A migration is over when the old system is gone and someone can prove it. The new one working is necessary, but it isn’t enough.
Bringing the new system up, moving users and data onto it and switching the old one off are different jobs, with different costs, and often different people do them. Almost everyone measures the first, and almost no one the third, the point where the old system can no longer be used, holds nothing that could be stolen and has no remaining connections to anything else. To make it verifiable, the closing conditions should be written before you start, for example like this.
| Item | Question to close | Proof that it’s closed |
|---|---|---|
| Adoption | Which users or processes still use the old system? | A count measured by the system, not estimated, that reaches zero |
| Dependencies | Which applications still talk to it? | Empty traffic logs over an agreed period |
| Data | What gets migrated, what gets kept, what gets deleted? | A written decision for each category, with the reason for keeping it |
| Credentials | Which accounts, keys and permissions can be revoked? | The list of revocations carried out |
| Deadline | When does temporary compatibility end? | A date written in the project, not in someone’s head |
| Extension | Who can move the date, and on what grounds? | A name and a signature |
| Final acceptance | How do we prove the decommissioning happened? | A test that fails if the old system still answers |
The last row is the most important and the most neglected. We spend weeks testing the new system and almost never write a test that checks the old one has stopped answering.
The rest comes from counting. For passwords, that means knowing every week how many records are still in the old format, and putting that number on the same dashboard where the go-live was celebrated: a visible number that has to reach zero changes behavior more than any recommendation. Storing the algorithm and parameters next to each hash, as OWASP suggests, makes the count trivial and the next migration less painful.
It also helps to stop the past from growing. Google’s engineers describe build-system rules that forbid new code from depending on what is being decommissioned, so whoever is already there stays but nobody new joins. Outside Google, this means that the day you decide to decommission an integration, you stop approving new ones.
Before switching off for real, it pays to switch off as a test, with scheduled outages, short at first and then longer, that bring out the dependencies no inventory ever recorded. Better to find out who calls and what breaks during an announced hour than on an ordinary day.
And in the end you need a real deadline. For hashes, that means combining the OWASP options: rehash on login for those who come back, an announced date for everyone else and, on that date, deletion of the old hashes with a mandatory reset at the next login. The support cost is real and belongs in the budget, and it is precisely the decommissioning fund I described above.
Take a hypothetical case. A company replaces its supplier portal with a new one that has modern authentication, and keeps the old one running “for a few months” so as not to inconvenience the less active suppliers. Six months later almost everyone is on the new portal, and the project is closed. The old portal, though, keeps running, holds data and stays connected to the ERP. Keeping it on costs little, while switching it off would mean phoning a dozen suppliers, checking the integrations and putting up with a few complaints. Three years later the company has a modern portal and is exposed to the flaws of the old one, which nobody has updated in the meantime.
Avoiding this only takes everyone doing their part. IT keeps the remaining dependencies visible and whoever owns the product writes the closing conditions, while management funds the work of switching off along with the work of switching on. The vendor, if there is one, puts in writing within the project scope which components of the previous system will stay in service, for how long and who will switch them off.
When the Old System Has to Stay
Some outdated technologies have to stay in service, sometimes for decades: the controller of an industrial plant that speaks only a thirty-year-old protocol, a certified medical device running an operating system its maker no longer updates, which would cost far more to recertify than to isolate. In these cases switching off in a hurry does more damage than living with it.
They are much rarer than people claim, though. In my experience “it can’t be switched off” almost always means that nobody has ever worked out what it would cost, or that nobody wants to sign for the risk of trying. Whoever defends the old system usually hasn’t calculated the cost of keeping it, and mistakes it for the cost of not thinking about it.
Chesterton gets quoted out of turn a lot. In The Thing, from 1929, he imagined a reformer who finds a gate across a road and wants to tear it down because he can’t see what it’s for, and someone who tells him to go and find out first why it was put there. In software this story is mostly used to leave the gate where it is, but Chesterton was asking people to understand so that they could then decide. Understanding an old system whose reasons nobody remembers is real work, and it should be paid for as such.
That is why my position is a firm one. An old system can stay on only if someone, by name, signs every year that it has to stay, with the measures that offset its risks. If nobody is willing to sign, it gets switched off, even at the cost of breaking something and fielding a few angry phone calls. For passwords I see no exceptions: I know of no technical reason to keep a ten-year-old SHA-1 hash in production, and OWASP has long shown the way to get rid of it.
The economic objection, that removing backward compatibility costs more than keeping it, is sometimes true. But then it has to be a calculation made and redone every year, and it can’t be the implicit consequence of a project closed years ago.
The Day After Go-Live
When we approve an IT project we almost always set a delivery date, and far more rarely a date by which the conditions that project was meant to overcome must be gone.
In a small software house like Oltrematica, quotes always carry a release date, because that’s what the client asks for and what we are judged on. A switch-off date for what we replace shows up far less often, and almost never with a cost next to it. Adding one has a price for us too: a decommissioning line raises the total of the quote, and a client comparing three offers mostly sees that. I think it belongs there anyway, and that the Python to Laravel rewrite I mentioned at the start is the place to begin.
The new system goes live, the project closes and whoever was responsible moves on, while part of the earlier decisions keeps producing consequences quietly, until an incident drags it into the open. Todoist had the honesty to write it down: it should have retired that method sooner. Almost any company could write the same sentence today about something, if it went looking.
A migration with no end date is not a migration. It is cohabitation.
Sources
- Security incident in November 2026, Todoist, 24 November 2026
- Todoist confirms data breach, says 6 percent of customers' details were stolen, TechRadar, 26 November 2026
- Password Storage Cheat Sheet, OWASP Cheat Sheet Series, accessed 28 November 2026
- The Dropbox hack is real, Troy Hunt, August 2016
- Intruders Pilfered Over 68 Million Passwords In 2012 Dropbox Breach, Dark Reading, August 2016
- In the Matter of Knight Capital Americas LLC, Release No. 70694, U.S. Securities and Exchange Commission, 16 October 2013
- Lone sysadmin caused $462 million Wall Street crash, The Register, 23 October 2013
- Original Strangler Fig Application, Martin Fowler, 29 June 2004
- Strangler fig pattern, AWS Prescriptive Guidance, accessed 28 November 2026
- Software Engineering at Google, Chapter 15: Deprecation, T. Winters, T. Manshreck, H. Wright, O'Reilly, March 2020
- Lehman's laws of software evolution, Wikipedia, citing M. M. Lehman, Proceedings of the IEEE, September 1980, accessed 28 November 2026
- Agencies Need to Plan for Modernizing Critical Decades-Old Legacy Systems (GAO-25-107795), U.S. Government Accountability Office, 2025
- As Adobe Flash comes to an end, trains in China stop running, Inquirer Technology, 27 January 2021
- Sunsetting Python 2, Python Software Foundation, accessed 28 November 2026
- NIST Retires SHA-1 Cryptographic Algorithm, NIST, 15 December 2022
- IAS 16 Property, Plant and Equipment, IFRS Foundation, accessed 28 November 2026
- Regulation (EU) 2024/2847 (Cyber Resilience Act), Official Journal of the European Union, 20 November 2024
- Linee guida in materia di conservazione delle password, provvedimento n. 594 del 7 dicembre 2023, Garante per la protezione dei dati personali and Agenzia per la cybersicurezza nazionale, 7 December 2023