[Security / performance] Workspace review and verified hardening — September 2026 #296
Closed
opened 2026-09-08 00:35:20 +02:00 by zemion
·
4 comments
No Branch/Tag Specified
main
v0.1.46
v0.1.45
v0.1.44
v0.1.43
v0.1.42
v0.1.41
v0.1.40
v0.1.39
v0.1.38
v0.1.37
v0.1.36
v0.1.35
v0.1.34
v0.1.33
v0.1.32
v0.1.31
v0.1.30
v0.1.29
v0.1.28
v0.1.27
v0.1.26
v0.1.25
v0.1.24
v0.1.23
v0.1.22
v0.1.21
v0.1.20
v0.1.19
v0.1.18
v0.1.17
v0.1.16
v0.1.15
v0.1.14
v0.1.13
v0.1.12
v0.1.11
v0.1.8
v0.1.7
v0.1.6
v0.1.4
v0.1.3
v0.1.2
v0.1.1
v0.1.0
Labels
Clear labels
area/api
area/auth
area/db
area/devex
area/docs
area/governance
area/marketing
area/migrations
area/module-system
area/rbac
area/release
area/security
area/tenancy
area/webui
audit/complexity
audit/duplication
audit/false-positive
audit/needs-design
audit/quick-fix
audit/structural
codex/needs-human
codex/ready
module/access
module/addresses
module/admin
module/appointments
module/approvals
module/audit
module/calendar
module/campaign
module/cases
module/committee
module/connectors
module/core
module/dashboard
module/dataflow
module/datasources
module/decisions
module/dist-lists
module/dms
module/docs
module/encryption
module/erp
module/evaluation
module/files
module/fit-connect
module/forms
module/forms-runtime
module/helpdesk
module/identity
module/identity-trust
module/idm
module/ledger
module/mail
module/mandates
module/notifications
module/ops
module/organizations
module/parties
module/payments
module/permits
module/policy
module/poll
module/portal
module/postbox
module/projects
module/quick-access
module/records
module/reporting
module/risk-compliance
module/scheduling
module/search
module/services
module/tasks
module/templates
module/tenancy
module/tickets
module/views
module/voting
module/wiki
module/workflow
module/workflow-engine
module/xoev
module/xrechnung
module/xta-osci
source/backlog-import
source/security-audit
source/todo-scan
HTTP API contracts, routers, schemas, or API smoke behavior.
Authentication, sessions, access bootstrap, or login behavior.
Database sessions, models, transactions, or persistence primitives.
Local developer workflow, scripts, tests, tooling, or release helpers.
Durable documentation and project guidance.
Governance policy, audit, privacy, retention, or compliance behavior.
Public website, product messaging, publication copy, or legal page content.
Alembic migrations, schema bootstrap, or persistence evolution.
Module discovery, manifests, capabilities, routing, or optional integrations.
Permissions, roles, delegation, or authorization policy.
Versioning, release locks, tags, packaging, or dependency pins.
Security posture, static analysis, supply-chain hardening, or vulnerability remediation.
Tenant boundaries, provisioning, or tenant-scoped data behavior.
Shared WebUI shell, frontend components, routing, or frontend tests.
Complexity finding from Radon, Xenon, or equivalent maintainability scans.
Duplicated-code finding from jscpd or equivalent similarity scans.
Audit finding reviewed as a narrow false positive or acceptable risk.
Audit finding that needs an architectural or product decision before implementation.
Audit finding that appears narrow and directly fixable.
Audit finding that needs design, refactoring, or behavior review.
Needs an explicit human decision before Codex should implement.
Suitable for Codex to pick up with the existing issue context.
GovOPlaN access, identity, authentication, RBAC, and administration behavior.
GovOPlaN Addresses module behavior or integration.
GovOPlaN Admin module behavior or integration.
GovOPlaN Appointments module behavior or integration.
GovOPlaN Approvals module behavior or integration.
GovOPlaN Audit module behavior or integration.
GovOPlaN Calendar module behavior or integration.
GovOPlaN campaign module behavior or integration.
GovOPlaN Cases module behavior or integration.
GovOPlaN Committee module behavior or integration.
GovOPlaN Connectors module behavior or integration.
GovOPlaN core runner, shared primitives, shell, or extension points.
GovOPlaN Dashboard module behavior or integration.
GovOPlaN Dataflow module behavior or integration.
GovOPlaN governed datasource contracts, catalogs, and integrations.
GovOPlaN formal Decisions module behavior or integration.
GovOPlaN Distribution Lists module behavior or integration.
GovOPlaN Dms module behavior or integration.
GovOPlaN Docs module behavior or integration.
GovOPlaN Encryption key custody, cryptographic policy, and E2EE integration.
GovOPlaN Erp module behavior or integration.
GovOPlaN Evaluation module behavior or integration.
GovOPlaN files module behavior or integration.
GovOPlaN Fit Connect module behavior or integration.
GovOPlaN Forms module behavior or integration.
GovOPlaN Forms Runtime module behavior or integration.
GovOPlaN Helpdesk module behavior or integration.
GovOPlaN Identity module behavior or integration.
GovOPlaN Identity Trust module behavior or integration.
GovOPlaN Idm module behavior or integration.
GovOPlaN Ledger module behavior or integration.
GovOPlaN mail module behavior or integration.
GovOPlaN Mandates, jurisdiction, responsibility, and authority behavior or integration.
GovOPlaN Notifications module behavior or integration.
GovOPlaN Ops module behavior or integration.
GovOPlaN Organizations module behavior or integration.
GovOPlaN procedure Parties, representation, and delivery-authority behavior or integration.
GovOPlaN Payments module behavior or integration.
GovOPlaN Permits module behavior or integration.
GovOPlaN Policy module behavior or integration.
GovOPlaN Poll module behavior or integration.
GovOPlaN Portal module behavior or integration.
GovOPlaN Postbox module behavior or integration.
GovOPlaN Projects module behavior or integration.
GovOPlaN configurable task-local Quick Access behavior and integrations.
GovOPlaN Records and eAkte lifecycle behavior or integration.
GovOPlaN Reporting module behavior or integration.
GovOPlaN Risk Compliance module behavior or integration.
GovOPlaN Scheduling module behavior or integration.
GovOPlaN Search module behavior or integration.
GovOPlaN versioned institutional Services behavior or integration.
GovOPlaN Tasks module behavior or integration.
GovOPlaN Templates module behavior or integration.
GovOPlaN Tenancy module behavior or integration.
GovOPlaN Tickets module behavior or integration.
GovOPlaN governed task views, interface projections, and workflow view integration.
GovOPlaN Voting module behavior or integration.
GovOPlaN Wiki module behavior or integration.
GovOPlaN Workflow module behavior or integration.
GovOPlaN Workflow Engine runtime, persistence, or integration.
GovOPlaN Xoev module behavior or integration.
GovOPlaN Xrechnung module behavior or integration.
GovOPlaN Xta Osci module behavior or integration.
priority
p0
Immediate stop-the-line priority.
priority
p1
High priority for the next focused work window.
priority
p2
Normal planned priority.
priority
p3
Low priority or opportunistic cleanup.
Imported from markdown backlog, roadmap, plan, or TODO files.
Created from a structured security or code-quality audit report.
Imported from inline TODO/FIXME/HACK markers by the Gitea TODO importer.
status
blocked
Cannot progress without a decision, dependency, credential, or external change.
status
in-progress
Currently being worked.
status
needs-info
Needs clarifying input before implementation can proceed safely.
status
ready
Ready for implementation.
status
triage
Needs review, ownership, priority, or acceptance criteria.
type
bug
A reproducible defect, regression, or incorrect behavior.
type
debt
Cleanup, refactoring, risk reduction, or deferred engineering work.
type
docs
Documentation, process, or developer workflow work.
type
feature
New user-visible behavior or platform capability.
type
task
Implementation, maintenance, migration, or operational work.
type
user-story
End-to-end user journey or real-world process story used to steer product slices.
No labels
Milestone
No items
No Milestone
Projects
Clear projects
No projects
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: GovOPlaN/govoplan-core#296
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
User-requested workspace-wide security and inefficiency review, followed by high-confidence implementation and regression verification. Scope includes shared authentication and browser caching, file/mail/import boundaries, module query amplification, dependency audits, and static scanning. Preserve existing local changes and optional module boundaries. No live campaign/file/mail mutations, deployment changes, commits, or pushes in this pass. Findings and evidence will be recorded here with owning module issues as needed; scanner coverage limitations and unmeasured production effects must be explicit.
Verified implementation progress (local, not pushed):
Evidence: 209/209 isolated browser conformance cases passed; production build and unchanged bundle budgets pass; Core cache/dependency24 regressions pass; full Access91, Docs39, Notifications23, Reporting29, Templates20 and Dataflow104 tests pass, plus targeted Files/Connectors checks and39 Dataflow subtests. EN/DE owning documentation updated. Required focused gate still fails at the existing institutional governance/portal fixture (tests/test_institutional_governance_journey.py:223, IndexError); no unrelated behavior change was made to hide it.
Security scan coverage so far: Semgrep272 applicable rules over4,169 tracked targets; seven owner-only0700-permission warnings reviewed as false positives (do not weaken them). Calendar's initial rule timeout was rechecked with a larger per-rule budget and has zero findings/errors. Bash syntax and conformance TypeScript checks cover two scanner parser limitations. Bandit scanned446,679 production Python lines, with no high findings; SQL-construction warnings reviewed against parameter/identifier controls. Gitleaks worktree scan:79 repositories, zero findings,100% redaction. A final reproducible snapshot scan including Git history is running. No live application mutations, scans against the running server, deployment changes, commits or pushes.
The Campaign host-path concern was ruled out by existing tracked API/build/snapshot guards and11 passing tests. No Campaign change was needed. A standalone test-import-order failure remains separate. Findings are not a security certification; hard process resource limits, forced password-change/recovery, large-history pagination and production load verification remain next work.
Implementation and verification complete for this local pass. Nothing committed, pushed, deployed, or closed.
Final snapshot audit: 79 repositories; unchanged workspace between fingerprint capture; 4/4 required quick-mode scanners available; zero execution errors/missing reports; 168 report artifacts and 163 validated JSON/SARIF reports. Gitleaks scanned all 79 histories and all 79 worktrees with 100% redaction: all 158 reports contain zero findings. Final production Bandit covers 447,008 lines with 63 low/4 medium warnings; Ruff has 54 warnings; local Semgrep rules have no findings. This was report-only, not a falsely claimed warning-free strict audit. Broader OWASP Semgrep review and warning triage are documented; Calendar timeout recheck has no errors/findings. Full container/Trivy/OSV coverage remains outstanding because the Docker daemon was inaccessible.
Final verification: 209/209 browser cases; Core and website production builds; unchanged bundle budgets; conformance TypeScript; 24 Core cache/dependency regressions; 13 audit-wrapper tests; 4 Files real-client reload checks; 72/72 manifests. Backend module evidence is recorded on the linked issues. The unrelated existing focused-gate failure remains tracked in GovOPlaN/govoplan#50.
Additional completed local slice: GovOPlaN/govoplan-dataflow#22 bounds LPAD/RPAD allocation using the existing 1,000,000-byte preview budget. Full 104 tests and 39 subtests pass; 7 guard regressions independently passed. Intermediate oversized values now fail early even when hidden inside a small final expression; owning EN/DE docs explain that change. Website dependency maintenance is recorded in add-ideas/addideas-govoplan-website#8.
Prioritized remaining work:
Durable local review: govoplan/docs/security/SECURITY_PERFORMANCE_REVIEW_2026-09-08.md. Raw evidence and reproducible snapshot manifest: /mnt/DATA/tmp/govoplan-security-performance-20260908-gsk8jn/final-quick/. This is a substantial hardening pass with measured query reductions, not a security certification or a production-throughput claim.
Completed the bounded September security/performance review and high-confidence hardening in Core/Meta0.1.45 and coordinated module releases. Findings, measured query counts, scanner coverage, compatibility changes and limitations are recorded in the dated review. Final release verification includes the complete unmodified focused gate,63 production combinations,213 browser cases, and221 release-tool tests plus59 subtests. Two pre-existing PostgreSQL concurrency tests were skipped; no corresponding deployment/concurrency evidence is claimed. An earlier ad-hoc mixed-repository test collection exposed fixture/ORM isolation interference; owning isolated suites passed, and that mixed command is not represented as a successful run.
This is not a penetration test, exhaustive line review, security certification or claim that all debt is resolved. Core#297 (hard resource isolation), Access#22 (usable password-change/recovery), Xrechnung#2 (bounded subprocess output), Workflow Engine#3 (history batching), and Meta#52–#55 remain open, including runtime remediation/coverage, package license completeness and release-tool follow-ups.
Publication evidence: Meta #51 records verified source tags, native packages and signed catalog Git publication. catalog-v0.1.45 is commit
03ac237949a1963189d1b7a4b3cc3397e60b10a1, annotated tag object3d4735ea3028edfa47341e4f0b53650a4ae868d6, sequence202609080236; exact stable.json SHA-25600dd1fa8390b7823dc082eddaca0bd826f9fcee0c479f56cd82ea55f93bf3cc8.This is not a live website deployment: a fresh public read still serves0.1.18/sequence202608061915. Website #9 owns authorized website rollout and its separate image-review gates. No application runtime distribution was published; Meta #52 remains held. No real mail/file/workflow operations or deployment were used to verify this closure.
Completed a further security/performance source wave after the original closed review. All nine commits were pushed and remote main/tag inventories read back:
The final frozen quick audit covered 79 repositories: all four scanners completed, 168 report checksums and 163 machine-readable reports verified. Semgrep/Gitleaks reported zero findings. Production Bandit remains 65 low/four medium and Ruff 54; retained warnings and explicit scan exclusions are documented. The ten-file Meta tooling supplement was reviewed separately. Fresh npm and installed-Python advisory audits found no known vulnerabilities in their covered dependencies, with local package/image exclusions retained.
The full focused run passed 63 build combinations and 230 browser cases. Final release tools passed 279 tests plus 68 subtests. Real PostgreSQL verification passed full Access 122 tests plus 18 subtests, Datasources 57 tests, and four release/development migration cases; fixtures were stopped and removed.
Meta #55 and Workflow Engine #3 are closed at source completion. Core #297, Access #22, Meta #52 and website #9 retain their specific runtime/adoption/deployment gates. Original 0.1.45/catalog-v0.1.45 remain immutable; no new release or deployment is claimed. This parent stays closed; detailed remaining work is tracked in those open issues.
Full implementation, verification and remaining adoption gates. Source main was pushed and read back at its exact commit; existing remote tag inventories were verified unchanged. This is source publication, not a new package/image release or deployment.