Notification bot for CS jobs

Hi all,

I made a little bot to monitor CryoSPARC jobs:

You can run it on your workspace in the background (in a CS tools environment) and it will send notifications via Slack or Pushover when a job dies/is killed/completes (either for a specific job, or all jobs in a workspace) :

Slack:

Pushover:

Hope it is useful!

Cheers,

Oli

4 Likes

As I woke up to yet-another-security-headache™ this morning (fortunately not RCE…) I’m afraid I’ve got my paranoid hat firmly on right now. As such:

Are the tokens and user_key (etc) exposed in a ps aux?

Yes, in the case of pushover - but for my purposes that doesn’t really matter - this is just running on my workstation (so if someone nefarious has access it is already over security-wise), and you can’t really do much with a pushover user key & app token I don’t think?

In the case of slack it just exposes the webhook url

I mean if someone has ssh access all the license info for CS is right there in plaintext in the json file & config.sh..

1 Like

I wasn’t thinking about that specifically - more about a joker DDOSing the user for no other reason than “it was funny” (or similar).

I don’t fancy having a few thousand notifications land every second, for example (or worse, contain illegal material).

On a system that only you (or maybe a few trusted individuals) have access to, it’s no problem. :slight_smile: Sorry, like I said, paranoid hat on this morning.

edit: typo

1 Like

the pushover notifications are text only, and there is a max of 10k/month (any more requires a subscription)

1 Like