Live data from Hacker News

Coder wrote a bug so bad security guards wanted a word when he arrived at work

theregister.com

21–30 of 68 posts

Re: Coder wrote a bug so bad security guards wanted a word when he arrived at work

#21
post #18

It's unstated but are we to understand that he set up the test to send money to a test account which was his own personal account?

Not to defend that, but the question is how quickly would they be able to set that dev up with a test-bank account? In the orgs I know this would probably take a month or so.

So taking your own account during early development can make sense. Leaving it in is probably a bad idea tho.

Re: Coder wrote a bug so bad security guards wanted a word when he arrived at work

#22
post #18

It's unstated but are we to understand that he set up the test to send money to a test account which was his own personal account?

Not unheard of, unfortunately.

Funny enough, in a fintech I worked for, developers and QAs actually used their own personal credit cards and bank accounts for testing.

Interestingly, they also needed to test ApplePay, but the laptops didn't allow for adding their personal iCloud accounts. So someone in the development team got the "admin" password and distributed among devs and QA team, and they all had unprotected laptops. They probably still do.

Re: Coder wrote a bug so bad security guards wanted a word when he arrived at work

#24
post #15

Reminds me of a similar bug in a payment processing system the company I worked for used. Long story short, overflow in Java numerical types (counting milliseconds for durations in weeks...) caused the system to go haywire and charge customers 1000x the normal amount... It turned out very profitable for the company though. Stonewalling customers and refusing charge backs is too easy. Not picking up the phone is a goo…

This is not a true story because as a merchant you cannot "refuse chargebacks". In fact too many chargebacks will result in a loss of your merchant account. You should really stop making things up.

Re: Coder wrote a bug so bad security guards wanted a word when he arrived at work

#25
post #6

In the early wild-west days of ecommerce a friend working as a tester at a well known British supermarket discovered that the backend card-validation logic on their payment form was essentially "return true" ... good thing the volumes were miniscule I guess?

100% test coverage

Re: Coder wrote a bug so bad security guards wanted a word when he arrived at work

#26
post #18

It's unstated but are we to understand that he set up the test to send money to a test account which was his own personal account?

I work somewhere where it can take four layers of management to get a service or test account. No one has time for that shit.

Re: Coder wrote a bug so bad security guards wanted a word when he arrived at work

#27
Stories like this are why I'm happy that the company is understanding that OPs, stability and control vs Dev, Fast changes and Agility aren't binary, polar opposites, but more of a throttle.

Like, for a lot of state free application logic, or even read-only frontend stuff, just do. A roll-back or a roll-forward is easier than heavy-weight procedure.

But if payment, customer authentication, migrations of large databases comes in... Suddenly these ops-guys with their careful rollout, validation functionality, dry-runs and ring rollouts are pretty good at keeping the day boring.

Re: Coder wrote a bug so bad security guards wanted a word when he arrived at work

#28
post #6

In the early wild-west days of ecommerce a friend working as a tester at a well known British supermarket discovered that the backend card-validation logic on their payment form was essentially "return true" ... good thing the volumes were miniscule I guess?

We know it works because all the happy path tests pass, and all the sad path tests fail.

Re: Coder wrote a bug so bad security guards wanted a word when he arrived at work

#29
post #15

Reminds me of a similar bug in a payment processing system the company I worked for used. Long story short, overflow in Java numerical types (counting milliseconds for durations in weeks...) caused the system to go haywire and charge customers 1000x the normal amount... It turned out very profitable for the company though. Stonewalling customers and refusing charge backs is too easy. Not picking up the phone is a goo…

This is not a true story because as a merchant you cannot "refuse chargebacks". In fact too many chargebacks will result in a loss of your merchant account. You should really stop making things up.

I read this person as using “chargeback” to mean refund.

However, merchants do have an opportunity to respond to a chargeback request. Providing plausible evidence that the request is in bad faith will often result in the bank not performing an actual chargeback.

Re: Coder wrote a bug so bad security guards wanted a word when he arrived at work

#30
post #22
post #18

It's unstated but are we to understand that he set up the test to send money to a test account which was his own personal account?

Not unheard of, unfortunately. Funny enough, in a fintech I worked for, developers and QAs actually used their own personal credit cards and bank accounts for testing. Interestingly, they also needed to test ApplePay, but the laptops didn't allow for adding their personal iCloud accounts. So someone in the development team got the "admin" password and distributed among devs and QA team, and they all had unprotected l…

I wonder if NOT providing a separate, exclusive account/card/sim etc to a developer is a common trope in fintech. I avoided linking my personal things like hell, and they avoided giving me a damn immutable plastic that would work/get paid for more than a few days. So much friction just because something stopped working or had to get back into oven and they had no replacement at hand. I even had to maintain a separate table for tracking personal balance-replenishing expenses cause no one’s gonna do it immediately. The same people who were chirping about the importance of experimenting, prototyping and not minding any expenses under $$$ or something all day.
Post reply on HN