Security batch 2026-11-02 (felhom.eu R-1336 + the new notices): security-fix steps gitea 28.3.0, uptime-kuma 2.5.9, grafana 13.2.5, actualbudget 26.11.0, n8n 2.46.4, vaultwarden 1.37.5-alpine (9202 proven, negative control first); fixtures: n8n start race, the box-admin guard knows the drill mirror, Vaultwarden's register route, Actual's log
gates / gates (push) Successful in 18s
gates / gates (push) Successful in 18s
This commit is contained in:
1 parent
313eaf68d0
commit
c760fca938
28 files changed
+1615
-31
No files matched your search
@@ -312,6 +312,15 @@ class BoxAdminSeedGuard(unittest.TestCase):
|
||||
self.assertFalse(ok, want)
|
||||
self.assertIn(want, why)
|
||||
|
||||
def test_the_drill_mirror_counts_as_the_drill(self):
|
||||
# Every walk since R-992 reads the drill through a local mirror; the guard knew only the repo's name, so vaultwarden's
|
||||
# walk on 9202 stopped at „the box is not on the drill catalog" (2026-11-02, seen live, the red of this test).
|
||||
w = FakeBoxWalk()
|
||||
w.guest = lambda script: "git:\n branch: main\n repo_url: file:///opt/docker/felhom-controller/drill-catalog.git\n"
|
||||
self.assertEqual(self.allowed(w, self.ENV), (True, ""))
|
||||
w.guest = lambda script: "git:\n branch: main\n repo_url: https://gitea.dooplex.hu/admin/app-catalog-felhom.eu.git\n"
|
||||
self.assertIn("drill catalog", self.allowed(w, self.ENV)[1])
|
||||
|
||||
def seed(self, w, env):
|
||||
with mock.patch.dict(os.environ, env, clear=False):
|
||||
if "FELHOM_BOX_ADMIN_SEED" not in env:
|
||||
|
||||
Reference in new issue
Block a user