[{"data":1,"prerenderedAt":48},["ShallowReactive",2],{"article-en-information-security-is-quite-important":3},{"article":4,"related":18,"prevArticle":37,"nextArticle":41,"availableLocales":45},{"id":5,"slug":5,"title":6,"excerpt":7,"content":8,"image":9,"date":10,"published":11,"status":12,"category":13,"keywords":14,"meta_description":15,"og_image":16,"custom_css":16,"created_at":10,"updated_at":17},"information-security-is-quite-important","Should information security be a required course?","Any logic that looks complete and self-consistent has to be rethought for information integrity the moment a necessary third party joins in","\u003Cp>\"In a system without a 'Signature' and 'Non-repudiation', every transaction record that looks real is only a castle built on sand.\"\u003C/p>\n\n\u003Cp>We recently got involved in an unusual case. Plenty of systems in Taiwan use a similar design, but this one really struck a chord, so I decided to share it as a story. Here it goes...\u003C/p>\n\n\u003Cp>In a digital nation called \"Pointland\", everyone uses points to buy and sell virtual goods. There is a large points trading platform called Alice. Alice has a popular app that lets users redeem points for goods. But Alice does not want to handle the transaction flow for every product herself, so she brings in Bob, a third-party developer.\u003C/p>\n\n\u003Ch3>🧩 The transaction flow\u003C/h3>\n\u003Cp>Bob builds a transaction website for Alice. Its defining feature is that it only runs inside the WebView of Alice's app. In other words, the site does not accept direct visits from an ordinary browser; it only works when opened from Alice's app. Bob believes this ensures transactions only happen inside Alice's ecosystem.\u003C/p>\n\n\u003Ch3>🔒 The hidden risk\u003C/h3>\n\u003Cp>However, every points deduction and transaction request is initiated and completed through a front-end JS SDK inside this WebView. Alice handles all of those details, and she puts as many security checks and safeguards into the app as she can. But as a third-party site, Bob's back end never receives any information to verify the transaction. Put simply, Bob's server has no idea whether a transaction is real or fake. It can only trust the WebView in Alice's app when it says the transaction succeeded.\u003C/p>\n\n\u003Ch3>⚠️ The problem surfaces\u003C/h3>\n\n\u003Cp>One day, a security tester found that a simple MITM attack on the WebView traffic was enough to obtain the user token. By then simulating a points deduction, they could easily forge transaction requests. With no back-end verification, these transactions could be \"faked\" with little effort. Only then did Bob realise that the whole flow was missing a back-end verification step, and he had no way at all to check whether these transactions were legitimate.\u003C/p>\n\n\u003Ch2>The conclusion is... there is no fix\u003C/h2>\n\u003Cp>The SA on Bob's development team, probably with a boost from a large language model, designed a very complex verification scheme that greatly increased the \u003Cspan style=\"text-decoration: line-through;\">development\u003C/span> attack difficulty. It was so complex that possibly everyone on both Alice's and Bob's teams believed the problem had been solved.\u003C/p>\n\n\u003Cp>I remember that the Bob &amp; Alice diagrams in my old cryptography textbook covered something very like this. So when I saw this case, my first reaction was: as long as Alice does not change anything, however elaborate Bob makes his side, he will most likely add far more bugs than he solves. Simply put, Alice is the only party in the whole system who knows whether a transaction exists and what its full details are. If she does not give that information to Bob, Bob cannot confirm whether the transaction data is genuine.\u003C/p>\n\n\u003Ch3>Two remedies\u003C/h3>\n\n\u003Cp>Back to the textbook again. What it taught was that Alice only needs to attach a short signature to her letter. Only Alice can produce this signature, and Bob can verify it using an algorithm Alice gave him earlier. If the signature is wrong, we at least know Alice's letter has been altered and can discard what it says. Alternatively, the more common approach in the working world is for Alice to send the letter through a separate channel, a path only the two of them know about and that cannot be tampered with.\u003C/p>\n\n\u003Cp>Both methods are common and very effective. In this case, though, Alice's development team presumably had reasons they could not talk about. Their default position was not to change anything. Adding a digest could be under discussion for half a year, and even basic webhook events would not be built. Then they blamed Bob's team for not telling them about the design problem sooner. When I heard this I did not know whether to laugh or cry. It was like watching someone point at a passer-by on the street and shout... \"Why didn't you tell me I'm an idiot?\"\u003C/p>\n\n\u003Cp>I think Bob is fine; he found it early. As for John, William, Bill and whatever other third-party developers come later, good luck to them!\u003C/p>\n\n\u003Ch3>Perpetual motion\u003C/h3>\n\u003Cp>When Bob's team designed their solution, they eagerly came up with all sorts of tricks and asked me to review them. After reading it, the first thing that came to mind was a perpetual motion machine. If you know the second law of thermodynamics, you would not spend time on things that are very hard, or even impossible, in theory. I am a little grateful that the teachers at my old university were demanding about these foundation courses. Otherwise, given my personality, I would probably have built a perpetual motion machine too.\u003C/p>\n\n\u003Ch2>What does this have to do with SQA?\u003C/h2>\n\u003Cp>\u003Cb>Quite a lot!\u003C/b>\u003C/p>\n\u003Cp>Because we raised this problem in the middle of development. We do not do security testing as such, but this is more of a basic system design flaw, so during API testing we confirmed that these problems would exist... Yes, plural. Alice does not yet know it is \"these\" problems.\u003C/p>\n\n\u003Cp>\u003Cb>Security testing is not part of our services, but when we see a security concern, we still warn the client verbally, by email or in our reports not to go live with no protection at all. Whether they accept the risk and whether they want to fix it is entirely down to the wisdom of their management.\u003C/b>\u003C/p>","https://cdn.sqa.tw/articles/bob_alice_information_security.jpg","2025-08-17T14:05:00+00:00",true,"published","perspective","information security,cryptography,digital signature","Security is not only about your own system. You may be secure enough, but ignoring basic principles when exchanging data with outside parties can be far worse.",null,"2025-09-03T06:00:13.556+00:00",[19,25,31],{"id":20,"slug":20,"title":21,"excerpt":22,"image":23,"date":24,"category":13},"ai-development-sdlc-release-verification","When AI builds it in two hours but verification still takes three days","Once AI speeds up development, spec sign-off, testing and release do not automatically speed up with it. Using a real case from a booking system SaaS, we describe how we adjusted the SDLC to cut full release verification from two or three days to under two hours, and how the SQA role changed along the way.","https://cdn.sqa.tw/articles/ai-sdlc-verification-bottleneck-cover.jpg","2026-11-05T12:00:00+08:00",{"id":26,"slug":26,"title":27,"excerpt":28,"image":29,"date":30,"category":13},"sme-guide-to-choosing-ai-agent","AI agents are everywhere. How should a small business choose one?","We were recently asked to run a full post-deployment review of an AI agent, and found it had quietly caused five times too much raw material to be ordered from customer order emails, and nearly created a liquidity risk on the finance side. The problem with agents is rarely that they are not smart enough. It is that nobody asked the right questions.","https://cdn.sqa.tw/articles/sme-agent-black-box-inspection.jpg","2026-09-01T15:00:00+00:00",{"id":32,"slug":32,"title":33,"excerpt":34,"image":35,"date":36,"category":13},"ai-coding-team-collaboration-three-patterns","Three patterns we see once AI coding reaches the team","After working with more than ten development teams over the past six months, we keep seeing the same thing: individuals getting faster with AI does not mean the team is ready to get faster together.","/images/blog/ai-coding-teams-editorial.jpg","2026-08-20T08:00:00+00:00",{"slug":38,"title":39,"date":40},"stress-test-or-volume-test","What a system crash teaches us about stress testing mistakes","2025-07-25T09:32:00+00:00",{"slug":42,"title":43,"date":44},"testability-is-the-most-important-thing-of-SQA","Testability is the core of software quality","2025-09-02T10:02:00+00:00",[46,47],"en","zh",1794970113319]