How sublime-security/ics-phishing-toolkit works
ics-phishing-toolkit remediates calendar events left behind after email security quarantines phishing messages. A standalone stack script fetches remediated messages, extracts iCalendar invitations, and asks the selected calendar provider to find matching events; deletion is configurable and defaults to dry-run. The src package also contains reusable provider and common-logic implementations. The README documents all six provider combinations; sampled entrypoints show the composition directly, while some stack implementations are unsampled. No persistent store is indicated.
Main entry points: common.py Remediation workflow · google_workspace.py Google event deleter · proofpoint-google_workspace.py Proofpoint + Google · microsoft365.py Microsoft event deleter
Components 17
Stack scripts
- Proofpoint + Google
proofpoint-google_workspace.py - Proofpoint + Microsoft
proofpoint-microsoft365.py - Mimecast + Google
mimecast-google_workspace.py - Mimecast + Microsoft
mimecast-microsoft365.py - Abnormal + Google
abnormal_security-google_workspace.py - Abnormal + Microsoft
abnormal_security-microsoft365.md
Message providers
- Proofpoint fetcher
src/message_providers/proofpoint_cloud.py - Mimecast fetcher
src/message_providers/mimecast.py - Abnormal fetcher
src/message_providers/abnormal_security.py
Remediation logic
- Remediation workflow
src/common.py - Invitation extraction
src/common.py
Calendar providers
- Google event deleter
src/calendar_providers/google_workspace.py - Microsoft event deleter
src/calendar_providers/microsoft365.py
External platforms
- Email security APIs
- Google Calendar API
- Microsoft Graph API
Other components
- Scheduled operator
Connections 26
- Scheduled operator → Proofpoint + Google: runs
README.md - Scheduled operator → Proofpoint + Microsoft: runs
README.md - Scheduled operator → Mimecast + Google: runs
README.md - Scheduled operator → Mimecast + Microsoft: runs
README.md - Scheduled operator → Abnormal + Google: runs
README.md - Scheduled operator → Abnormal + Microsoft: runs
README.md - Proofpoint + Google → Proofpoint fetcher: constructs
proofpoint-google_workspace.py - Proofpoint + Google → Google event deleter: constructs
proofpoint-google_workspace.py - Proofpoint + Google → Remediation workflow: invokes workflow
proofpoint-google_workspace.py - Abnormal + Google → Google event deleter: constructs
abnormal_security-google_workspace.py - Abnormal + Google → Remediation workflow: invokes workflow
abnormal_security-google_workspace.py - Mimecast + Google → Google event deleter: constructs
mimecast-google_workspace.py - Mimecast + Google → Remediation workflow: invokes workflow
mimecast-google_workspace.py - Mimecast + Microsoft → Microsoft event deleter: constructs
mimecast-microsoft365.py - Mimecast + Microsoft → Remediation workflow: invokes workflow
mimecast-microsoft365.py - Proofpoint + Microsoft → Microsoft event deleter: constructs
proofpoint-microsoft365.py - Proofpoint + Microsoft → Remediation workflow: invokes workflow
proofpoint-microsoft365.py - Remediation workflow → Proofpoint fetcher: fetches messages
src/message_providers/proofpoint_cloud.py - Remediation workflow → Invitation extraction: extracts invitations
src/common.py - Remediation workflow → Google event deleter: delegates matching
src/common.py - Remediation workflow → Microsoft event deleter: delegates matching
src/common.py - Proofpoint fetcher → Email security APIs: queries and downloads
src/message_providers/proofpoint_cloud.py - Mimecast fetcher → Email security APIs: queries archive
src/message_providers/mimecast.py - Abnormal fetcher → Email security APIs: queries and downloads
src/message_providers/abnormal_security.py - Google event deleter → Google Calendar API: searches and deletes
src/calendar_providers/google_workspace.py - Microsoft event deleter → Microsoft Graph API: searches and deletes
src/calendar_providers/microsoft365.py