🛡️ Testing & Quality · Testing & Quality
Security Testing
Look for vulnerabilities and incorrect access.
Functional success does not prove security.
Verify one customer cannot retrieve another customer's private record.
💡 Like hiring someone to try the locks and windows of your house, instead of only checking that the front door opens for you.
💡 Why it matters
A feature can work perfectly for the intended user and still leak data to the wrong one. Security testing probes for the weaknesses attackers look for, like broken access and injectable input. Finding them in testing is far cheaper than finding out after a breach.
🛠️ How to achieve it
⚠️ Signs of trouble
- •One user can read or change another user's data.
- •Dependencies are never checked for known vulnerabilities.
- •Only the intended, well-behaved path is ever tested.
- •Security is assumed because the feature 'works'.
🎯 Quick check
Score: 0/3Three questions to test the idea.
1. Why is 'the feature works' not proof it is secure?
Answer: It may still leak data or allow wrong access
A feature can behave correctly for the intended user and still expose data to someone who should not see it.
2. Which check is a classic security test?
Answer: Confirming one customer cannot read another's private record
Verifying access boundaries hold is core security testing, catching broken access control before attackers do.
3. Why scan third-party dependencies?
Answer: They may contain known vulnerabilities you inherit
Libraries can carry known flaws, so scanning and updating them closes holes you would otherwise ship.
