Skip to content

Security: byProCode/edmoodle-bot

.github/SECURITY.md

Security policy

This project handles sensitive things: Telegram bot tokens, Moodle / Okta / OnTrack / student-portal sessions and, with the optional renewal chain, an SSH key with a forced command.

Reporting a vulnerability

Please do not open a public issue. Use GitHub's private reporting instead: Security → Report a vulnerability on this repository. Describe the problem and how to reproduce it, and leave out any real tokens or cookies.

You can expect a first reply within a week.

Scope

In scope: leaking secrets (logs, Telegram messages, error output, files with loose permissions), sending anything to a host other than the configured ones, the bot answering anyone but its owner, the renew agent accepting requests from web pages, and any way to make the bot change data on Ed, Moodle, OnTrack or the portal.

If you leaked a secret

Revoke the Telegram token with @BotFather (/revoke), sign out of Moodle / Okta / the portal in your browser to end those sessions, and remove the renew key's line from the server's ~/.ssh/authorized_keys.

There aren't any published security advisories