Zero Breach — local, read-only scanner that checks a computer for indicators of the AdFection / Candiru ad-delivered spyware campaign. No network, no admin, no dependencies.
Use canonical temporary directory in reparse guard regression test
interplains5f0ee3efefa2
diff --git a/scan/tests/test_launch_safety.py b/scan/tests/test_launch_safety.pyindex 3b97f42..db3f624 100644--- a/scan/tests/test_launch_safety.py+++ b/scan/tests/test_launch_safety.py@@ -233,7 +233,9 @@ class TestLocalPathGuard(BrowserLaunchBase):self.assertTrue(localpaths.path_problem(path))def test_reparse_component_is_not_followed(self):- link = os.path.join(self.tmp, "junction")+ # Canonicalize only our already-created test directory so the mock+ # matches macOS's validated /var -> /private/var alias expansion.+ link = os.path.join(os.path.realpath(self.tmp), "junction")child = os.path.join(link, "payload.dll")real_lstat = localpaths.os.lstattouched = []