Report a vulnerability
Please do not report security problems in a public issue, discussion or pull request. Report them privately:
- Open the Security tab (opens in a new tab) of the repository.
- Click Report a vulnerability.
- Fill in the form. Only you and the maintainer can see it.
It helps to include what the problem is and what someone could do with it, steps to reproduce it or a small proof of concept, your operating system with its version, Node and git versions and the commit you tested, and any idea for a fix.
What to expect
DeployOnTime is maintained by one person, so these are goals rather than guarantees:
- a reply confirming your report within 3 business days;
- a first assessment within 7 days;
- updates as the fix progresses;
- once fixed, a published GitHub security advisory that credits you, unless you would rather stay anonymous.
Please allow reasonable time for a fix before sharing details publicly. The aim is to agree on a disclosure date with you, within 90 days of your report.
Scope
In scope: problems in DeployOnTime's own code, for example:
- a label, flag, setting or file that makes
dotime-queuerun something the user did not ask for; - the time limit or the reaper stopping processes it was not meant to stop;
- reading or writing files outside
~/.dotime, or unsafe handling of files inside it (such as symlink tricks); - secrets from commands or environment variables leaking into the journal, history or other saved state;
- another user on the same computer being able to read or change the queue's state.
Out of scope: problems in the commands you run through the queue; problems in Node.js, git, macOS or Linux themselves; attacks that need someone to already control your user account; the queue working as designed, such as jobs waiting, time limits or the retry block (open a normal issue if the behavior seems wrong).
What the queue touches
| Area | What it does |
|---|---|
| Network | Opens no network connection. Only a DOTIME_NOTIFY_CMD that you set can send notices elsewhere. |
| Your repository | Never edits it. It runs read-only git commands with time limits, and reads files to tell whether the code changed. |
| Saved state | Only in its state folder, ~/.dotime or the folder DOTIME_HOME names. Code is hashed on the computer; the journal keeps only a short hash. |
| Processes | Stops only a job at its own limit, with everything that job started. The reaper, if you schedule it, stops idle dev servers of your user account and nothing else. |
| MCP jobs | The command is a list of words and never goes through a shell. |
| Nested-run variables | Trusted only while the job they name is running and is an ancestor of the new run, so they cannot be used to skip the line from outside a job. |
The journal and logs stay on your computer but hold working folders, full command lines and labels. Keep that in mind before sharing them, and when DOTIME_NOTIFY_CMD forwards notices to another service.
Supported versions
Security fixes go into the latest code on main, so please update to the latest main before reporting. The machine queue on the latest main is supported; older commits are not.
Good-faith research
If you research and report in good faith under this policy, no legal action will be taken against you. Please only test on your own computer and data, and do not access or change other people's data.