Tag
secure-testing
Safeguard articles tagged "secure-testing" — guides, analysis, and best practices for software supply chain and application security.
2 articles
DevSecOps
How Does Python Mock Work, and Is It a Security Risk?
Python mock is part of the standard library and is safe to use, but leaning on it carelessly can hide real security behavior behind fake return values.
May 27, 20256 min read
DevSecOps
Python unittest.mock: A Practical Guide with Security in Mind
Python's unittest.mock lets you test the code you would never dare run for real — including the security-critical failure paths that never fire in a happy-path test.
May 8, 20256 min read