- security review: T-19.6-37 closed by sm-mfa-plugin v0.1.1, F-1 deferred with the corrected reason for the activate-by-code mint path - validation map: plan 04 Tasks 5 and 6 green - todo for F-1; deferred items: tag message resolved, F-1 deferred
5.4 KiB
5.4 KiB
Deferred Items
- sm-sociallogin-plugin:
signin_event_test.gois not gofmt-clean at origin/master4d3b2dd(v0.1.3) status: open What:gofmt -l .lists it:logRecorder.Enabledis a one-line method gofmt now splits. It came with4d3b2ddfrom another session. Plan 19.6-03 did not touch it. Fix it in astyle:commit in sm-sociallogin-plugin. - vue-demo-app has no type-check tooling
status: open
What: the Nuxt build does not type-check, and
vue-tscis not a dependency, so 19.6-03 Task 3 checked the new page, composables and header with vitest andpnpm buildonly. The user decides whether to addnuxi typecheck. - fonoteka.go: five Docker-backed tests in
plugins/golem15/fonotekafail without-short, at the committed user pointer v0.1.10 as well as at v0.1.12 status: open What: found by 19.6-03 Task 6 (baseline run with the user submodule atbfcfea4; the failures are identical):TestPhase09SecurityRoutes: unexpected cabana admin routes (account/contributions, account/preferences, reorder, singleton) from the framework working tree.TestPhase8RedMCPMe,TestOAuthToolsMeRouteIsolation:GET /_user/api/v1/token/mecounts as a/me-suffixed route on another surface.TestMustChangePasswordLock: login answers 401 "Invalid email or password".TestPhase14Edges/prune-cutoff-90-days-then-one-second-older: prune leaves the "past" row. None of these tests inventories user-plugin tables, routes or models, so 19.6-03 did not change them. The-shortsuites are green. The parity inventories (parity/migrate_test.go,parity/schema_diff_test.go) were also red at v0.1.10;95fd58afixed them along with the bump.
- fonoteka.go: root
go.modstill requiressm-user-plugin v0.1.10status: open What: the module resolves throughreplace => ./plugins/golem15/user, so builds and tests use the v0.1.12 checkout. 19.6-03 Task 6 staged only the paths the plan names. Precedent06bc9d0raised the require together with the pointer. Raise it to v0.1.12 (and tidy) in a follow-upchore:commit. - sm-mfa-plugin: the v0.1.0 tag message says the two-factor mode is "optional, required or disabled"
status: resolved (2026-10-26: the v0.1.1 tag message names the modes disabled, optional and enforced)
What: the config values are
disabled,optionalandenforced. The tag is pushed and is not rewritten (that would need a force-push). The README andconfig/config.yamlare correct. The next release's tag message should name the right values. - sm-demo-app: the release build needs read access to the private sm-mfa-plugin repository
status: resolved (2026-10-26: the user made golem15/sm-mfa-plugin public; anonymous HTTPS
git ls-remoteof v0.1.0 works) What: found by 19.6-03 Task 6 part (1).scripts/build.sh releaseandscripts/check-pins.shrun withGOWORK=off GOPRIVATE=git.golem15.com/*, so Go fetches every required plugin over anonymous HTTPS. The othersm-*-pluginrepositories allow that; sm-mfa-plugin is private, so the fetch fails ("could not read Username for 'https://git.golem15.com'"). On this machine the release build and the pins check pass, because v0.1.0 is already in the module cache:go getfilled it through a one-commandurl.git@git.golem15.com:.insteadOf https://git.golem15.com/rewrite in the environment, and no global config was changed. A clean module cache, or another build machine, fails. The user decides: make sm-mfa-plugin public like the other plugins, or give the build host credentials (aninsteadOfrewrite to SSH or a netrc) and document it in DEPLOY.md. sm-bm-app is not affected (it builds from the submodule through a replace). - sm-demo-app: uncommitted journal and oauthserver submodule moves left over from Phase 19.7 plan 05
status: open
What: tracked as the pending todo
.planning/todos/pending/2026-10-26-sm-demo-app-journal-oauthserver-pointers.md. 19.6-03 left both unstaged. - sm-user-plugin: the
classespackage starts Postgres under-shortstatus: open What: found by 19.6-04.classes/throttle_test.gothrottleDB(used byTestCodesand otherclassestests) starts a testcontainers Postgres without checkingtesting.Short(), sogo test -short ./...of the user plugin needs Docker (about 45 s on this host) and fails on a host without it. Predates this phase. 19.6-04 fixed the same problem in theupdatespackage (2c68979, its TestMain scannedos.Argsfor-test.short). Fix it the same way in atest:commit. - sm-mfa-plugin and sm-user-plugin: multi-key success bodies carry Go's sorted key order
status: open (observation)
What: found by 19.6-04
TestPHPErrorBodies. Bodies built from Go maps (the login challenge,2fa/status,totp/setup,email/send, the WebAuthn register answer, the device initiate and status bodies) list their keys alphabetically, where PHP'sresponse()->json([...])kept insertion order. Values and key sets match PHP; error bodies and the 422 bodies are byte-identical. JSON clients do not depend on key order, so nothing was changed; recorded in 19.6-SECURITY-REVIEW.md "Residual risks" for a decision if a client ever compares raw bytes. - sm-user-plugin: activate-by-code mints a session without the second factor when
require_activationis off (finding F-1) status: deferred (user decision at plan 04 Task 5) What: see 19.6-SECURITY-REVIEW.md "Deferred findings" and the todo.planning/todos/pending/2026-10-26-activate-by-code-second-factor.md.