{"id":39417546,"url":"https://github.com/sublime-security/mql-vscode","last_synced_at":"2026-01-18T03:48:18.803Z","repository":{"id":265336974,"uuid":"669004729","full_name":"sublime-security/mql-vscode","owner":"sublime-security","description":"Visual Studio Code extension for Message Query Language (MQL)","archived":false,"fork":false,"pushed_at":"2025-12-20T03:08:29.000Z","size":124,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-12-26T21:12:06.834Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sublime-security.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-21T05:53:22.000Z","updated_at":"2025-10-09T00:39:46.000Z","dependencies_parsed_at":"2024-11-29T02:19:14.051Z","dependency_job_id":null,"html_url":"https://github.com/sublime-security/mql-vscode","commit_stats":null,"previous_names":["sublime-security/mql-vscode"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sublime-security/mql-vscode","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sublime-security%2Fmql-vscode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sublime-security%2Fmql-vscode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sublime-security%2Fmql-vscode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sublime-security%2Fmql-vscode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sublime-security","download_url":"https://codeload.github.com/sublime-security/mql-vscode/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sublime-security%2Fmql-vscode/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28529292,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T00:39:45.795Z","status":"online","status_checked_at":"2026-01-18T02:00:07.578Z","response_time":98,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-18T03:48:18.223Z","updated_at":"2026-01-18T03:48:18.792Z","avatar_url":"https://github.com/sublime-security.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Message Query Language (MQL) extension for Visual Studio Code\n\n[Sublime](https://sublime.security) prevents email attacks using AI and Detection-as-Code. Gain visibility and control, hunt for advanced threats, and spend less time on email-originated incidents.\n\nUse the Sublime Platform to:\n\n- block email attacks such as phishing, BEC, and malware\n- hunt for threats over email\n- auto-triage user reports with phishing herd immunity and Triage rules\n\n\nAt its core, Sublime is a rules engine that ingests email messages from arbitrary sources, parsing to a structured **Message Data Model *(MDM)** which powers rules written in **Message Query Language (MQL)**. When rules match, actions are taken such as generating a webhook notification or inserting a warning banner. Emails are extracted Below is an example of a simple rule:\n\n```yaml\nname: HTML smuggling via attachment\nseverity: high\nsource: |\n  type.inbound\n  and any(attachments, .file_extension in~ ('html', 'htm') \n          and any(file.explode(.),\n                  any(.scan.javascript.identifiers, . == \"unescape\")\n          )\n  )\ntags:\n  - \"HTML smuggling\"\n```\n\n\nThe MQL extension for Visual Studio code provides validation and completion capabilities\n\n- Syntax highlighting\n- Autocompletion (if the Language Server is enabled)\n- Validation of functions and types (if the Language Server is enabled)\n- Diagnostic hints, warnings, and errors (if the Language Server is enabled)\n\n\n## Resources\n\n- [Sublime Security homepage](https://sublime.security)\n- [Detection rules](https://github.com/sublime-security/sublime-rules) on GitHub\n- [Sublime Security Platform](https://platform.sublime.security)\n- [Platform documentation](https://docs.sublime.security/docs)\n\t- [Message Data Model (MDM)](https://docs.sublime.security/docs/mdm)\n\t- [Message Query Language (MDM)](https://docs.sublime.security/docs/message-query-language)\n\n\u003c!-- Developers: See https://code.visualstudio.com/api/language-extensions/language-server-extension-guide for more details --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsublime-security%2Fmql-vscode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsublime-security%2Fmql-vscode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsublime-security%2Fmql-vscode/lists"}