Every year, I wade into one of a few different government managed web sites to pay various bills. Car registrations. Property taxes. Etc…

This is a great convenience and I appreciate seeing my tax dollars used to make taxpayer’s lives a bit more convenient.

These days, those payments are done via e-checks from my checking account. Address + routing number + account number and the government can slurp the authorized amount straight from my account (slightly scary in and of itself, but avoids the multi % or $ fee of using a credit card).

Invariably, every web site has a step that involves entering the routing / account numbers twice each. And every web site prevents pasting in at least one or more of the fields. And they are all inconsistent.

This is done in the guise of security. And it is beyond just an inconvenience. It is actually antithetical to accessible user interfaces.

An example:

Blank bank information form with four fields: Routing Number, Confirm Routing Number, Account Number, Confirm Account Number, and an Account Type menu set to Personal Checking
Santa Clara County's e-check form. The two account number fields show asterisks as you type, and there is no way to reveal them.
  1. You can paste into the routing number fields.
  2. You can’t paste into the account number fields.
  3. When you type into the account number field, it shows up as **s.
  4. There is no eye icon to reveal what you’ve typed.

What security risk is this inconvenience trying to stop?

There are three seemingly obvious attack vectors that paste prevention or entry hiding are trying to address.

I question the value of these mitigations.

Malware reading the clipboard.

When I copy my account number, a clipboard snooper gets a shot at it. When I type it, a keylogger gets a shot at it. Let me paste once and make me type it again? Now either one will do.

Someone reading over my shoulder.

The asterisks while typing is an attempt to address this. Except if it is my own machine, then I’ve most likely opened a (again, hopefully secure) notes document to find that number. Or I have it written down on a piece of paper nearby. Or it is on the bottom of every single physical check that I own. And, of course, doesn’t have to be a person. A camera pointed at the keyboard sees my fingers hit each digit, regardless of the asterisks on the screen.

Whatever the hell the paste in one field but type in the other is trying to achieve

I don’t even know why this variant exists. I can paste the routing/account numbers once, but then have to manually type them a second time? What even is that?!? If the goal is to ensure that every possible attack vector has an opportunity, then it is highly successful. I suspect the goal was to force two separate kinds of transcription – one paste, one manual – but, of course, I transcribe from the already populated field because it is RIGHT THERE.


Meanwhile, what the block does do is irritate the user. And decreases security. And since it is completely inconsistent from site to site, the user has to figure out what irksome silliness they’ll have to deal with on an individual site basis. Worse, because I can’t select-copy-click-paste-click-paste, it means that said sensitive account number has to be somewhere on screen or on a piece of paper in my vicinity for me to transcribe manually.

Routing numbers, by the way, carry a check digit. Software can catch a mistyped one without asking for it twice. And beyond giving up the banking institution you use, they aren’t particularly sensitive. Any barrier to copy/paste on routing numbers just underscores the ignorance in design.

What the security people say

NIST’s Digital Identity Guidelines (SP 800-63B-4, section 3.1.1.2) recommend that sites allow paste when a password is entered, specifically so password managers work. The same section recommends offering a way to display a password as it is typed, instead of dots or asterisks, so you can check what you entered. The UK’s National Cyber Security Centre has been saying “let them paste passwords” since 2017.

Those are written about passwords, which are actual secrets. A bank account number isn’t one, so the case for letting its owner see it and paste it is stronger.

It’s an accessibility problem too

The current W3C accessibility standard, WCAG 2.2, has a criterion aimed squarely at this: 3.3.7, Redundant Entry. If a process makes you enter the same information twice, the second time it should be filled in for you or available to select, and W3C says “available to select” can be as simple as being able to copy it into the field. W3C lists who benefits: people with cognitive disabilities, and people with mobility impairments who type by switch or by voice. Requiring manual retyping of a 10-12 digit number with no visual feedback as to what has been entered is an annoyance to me but can be complete failure for some. This is inexcusable.

For logins, WCAG is blunter. Criterion 3.3.8 says a page that prevents copy and paste into its credential fields fails, unless it offers another way in.

Now, while the above are some strong criticisms, I’m absolutely not claiming any sort of legal violations here. From what I can tell, the government adopts an older standard that predates the 3.3.7 redundant entry commentary.

Getting it fixed

I’m now in my “that deserves a (potentially angry) letter” phase of life. Old man yells at clouds.

Thus, now, whenever I run across one of these, I take a screenshot or two and toss it into the “write a letter” queue. When possible, I’ll start with an email or online submission. One week to see evidence of a response. Without that, then they get a paper mail and I spend a stamp’s worth of money to yell at that particular cloud.

Will anything change? Probably not. But you gotta start somewhere.