Skip to content

Harden local storage and disable quiz PDFs - #146

Merged
D-VR merged 1 commit into
masterfrom
security-hardening-safe-storage
Jun 23, 2026
Merged

D-VR merged 1 commit into
masterfrom
security-hardening-safe-storage

Conversation

@D-VR

@D-VR D-VR commented Jun 23, 2026 •

Copy link
Copy Markdown
Collaborator

This PR contains some general security hardening of syncMyMoodle.

Replaces pickle-based session/course caches with private gzipped JSON files (to mitigate local RCE / auth token leakage), rejects symlinked private storage, prevents sync paths from escaping basedir, and disables the unsafe quiz PDF generation path based on unmaintained wkhtmltopdf/pdfkit.

Previous pickle caches are ignored and will be rebuilt on first run, which may require one re-login and can cause extra downloads/conflict files for users with update_files=true.

Refs #132 and #55.

@D-VR D-VR added bug Something isn't working maintenance Chore or refactor security For potential security issues or general hardening. labels Jun 23, 2026
@D-VR
D-VR merged commit 43f29ba into master Jun 23, 2026
4 checks passed
@D-VR
D-VR deleted the security-hardening-safe-storage branch June 23, 2026 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working maintenance Chore or refactor security For potential security issues or general hardening.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant