{"id":13705336,"url":"https://github.com/steffenfritz/mxcheck","last_synced_at":"2026-04-07T20:02:41.470Z","repository":{"id":33724377,"uuid":"150164840","full_name":"steffenfritz/mxcheck","owner":"steffenfritz","description":"mxcheck is an info and security scanner for e-mail servers.","archived":false,"fork":false,"pushed_at":"2026-04-07T18:19:02.000Z","size":3426,"stargazers_count":127,"open_issues_count":0,"forks_count":13,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-04-07T18:24:26.570Z","etag":null,"topics":["dmarc","dns","email","infosec","itsecurity","kali","kali-linux","kali-tools","mail","mailserver","scanner","security","smtp","smtpd"],"latest_commit_sha":null,"homepage":"https://mxcheck.fritz.wtf","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/steffenfritz.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":"AUTHORS.rst","dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"steffenfritz"}},"created_at":"2018-09-24T20:32:16.000Z","updated_at":"2026-04-07T17:27:16.000Z","dependencies_parsed_at":"2023-01-15T02:13:10.739Z","dependency_job_id":"3852efa0-e4d4-4406-9641-922389011d82","html_url":"https://github.com/steffenfritz/mxcheck","commit_stats":null,"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"purl":"pkg:github/steffenfritz/mxcheck","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steffenfritz%2Fmxcheck","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steffenfritz%2Fmxcheck/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steffenfritz%2Fmxcheck/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steffenfritz%2Fmxcheck/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/steffenfritz","download_url":"https://codeload.github.com/steffenfritz/mxcheck/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steffenfritz%2Fmxcheck/sbom","scorecard":{"id":1239980,"data":{"date":"2025-11-23T21:55:05Z","repo":{"name":"github.com/steffenfritz/mxcheck","commit":"afc8fe256d58d8e561fcf5fe2af7e73e519d4680"},"scorecard":{"version":"v5.1.1","commit":"cd152cb6742c5b8f2f3d2b5193b41d9c50905198"},"score":7.1,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/cd152cb6742c5b8f2f3d2b5193b41d9c50905198/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/cd152cb6742c5b8f2f3d2b5193b41d9c50905198/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":10,"reason":"GitHub workflow tokens follow principle of least privilege","details":["Warn: jobLevel 'contents' permission set to 'write': .github/workflows/buildtest.yml:21","Info: topLevel 'contents' permission set to 'read': .github/workflows/buildtest.yml:15","Info: topLevel permissions set to 'read-all': .github/workflows/scorecard.yml:18"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/cd152cb6742c5b8f2f3d2b5193b41d9c50905198/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":1,"reason":"Found 2/14 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/cd152cb6742c5b8f2f3d2b5193b41d9c50905198/docs/checks.md#code-review"}},{"name":"Maintained","score":4,"reason":"4 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 4","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/cd152cb6742c5b8f2f3d2b5193b41d9c50905198/docs/checks.md#maintained"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: SECURITY.md:1","Info: Found linked content: SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1","Info: Found text in security policy: SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/cd152cb6742c5b8f2f3d2b5193b41d9c50905198/docs/checks.md#security-policy"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/cd152cb6742c5b8f2f3d2b5193b41d9c50905198/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":8,"reason":"dependency not pinned by hash detected -- score normalized to 8","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/buildtest.yml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/steffenfritz/mxcheck/buildtest.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/scorecard.yml:76: update your workflow using https://app.stepsecurity.io/secureworkflow/steffenfritz/mxcheck/scorecard.yml/main?enable=pin","Info:   4 out of   6 GitHub-owned GitHubAction dependencies pinned","Info:   2 out of   2 third-party GitHubAction dependencies pinned","Info:   1 out of   1 goCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/cd152cb6742c5b8f2f3d2b5193b41d9c50905198/docs/checks.md#pinned-dependencies"}},{"name":"Dependency-Update-Tool","score":10,"reason":"update tool detected","details":["Info: detected update tool: Dependabot: :0"],"documentation":{"short":"Determines if the project uses a dependency update tool.","url":"https://github.com/ossf/scorecard/blob/cd152cb6742c5b8f2f3d2b5193b41d9c50905198/docs/checks.md#dependency-update-tool"}},{"name":"CII-Best-Practices","score":5,"reason":"badge detected: Passing","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/cd152cb6742c5b8f2f3d2b5193b41d9c50905198/docs/checks.md#cii-best-practices"}},{"name":"Signed-Releases","score":4,"reason":"3 out of the last 5 releases have a total of 3 signed artifacts.","details":["Info: signed release artifact: mxcheck_darwin_amd64_v1.7.0.tar.gz.asc: https://github.com/steffenfritz/mxcheck/releases/tag/v1.7.0","Info: signed release artifact: mxcheck_darwin_amd64_v1.6.2.tar.gz.sig: https://github.com/steffenfritz/mxcheck/releases/tag/v1.6.2","Info: signed release artifact: mxcheck-1.6.1.tar.gz.asc: https://github.com/steffenfritz/mxcheck/releases/tag/v1.6.1","Warn: release artifact v1.6.0 not signed: https://api.github.com/repos/steffenfritz/mxcheck/releases/162110945","Warn: release artifact v1.6.0-BETA-1 not signed: https://api.github.com/repos/steffenfritz/mxcheck/releases/146820010","Warn: release artifact v1.7.0 does not have provenance: https://api.github.com/repos/steffenfritz/mxcheck/releases/222737509","Warn: release artifact v1.6.2 does not have provenance: https://api.github.com/repos/steffenfritz/mxcheck/releases/191689750","Warn: release artifact v1.6.1 does not have provenance: https://api.github.com/repos/steffenfritz/mxcheck/releases/162515578","Warn: release artifact v1.6.0 does not have provenance: https://api.github.com/repos/steffenfritz/mxcheck/releases/162110945","Warn: release artifact v1.6.0-BETA-1 does not have provenance: https://api.github.com/repos/steffenfritz/mxcheck/releases/146820010"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/cd152cb6742c5b8f2f3d2b5193b41d9c50905198/docs/checks.md#signed-releases"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/cd152cb6742c5b8f2f3d2b5193b41d9c50905198/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":8,"reason":"SAST tool is not run on all commits -- score normalized to 8","details":["Warn: 26 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/cd152cb6742c5b8f2f3d2b5193b41d9c50905198/docs/checks.md#sast"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: GNU General Public License v3.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/cd152cb6742c5b8f2f3d2b5193b41d9c50905198/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/cd152cb6742c5b8f2f3d2b5193b41d9c50905198/docs/checks.md#fuzzing"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/cd152cb6742c5b8f2f3d2b5193b41d9c50905198/docs/checks.md#branch-protection"}},{"name":"Contributors","score":0,"reason":"project has 0 contributing companies or organizations -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project has a set of contributors from multiple organizations (e.g., companies).","url":"https://github.com/ossf/scorecard/blob/cd152cb6742c5b8f2f3d2b5193b41d9c50905198/docs/checks.md#contributors"}},{"name":"CI-Tests","score":10,"reason":"15 out of 15 merged PRs checked by a CI test -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project runs tests before pull requests are merged.","url":"https://github.com/ossf/scorecard/blob/cd152cb6742c5b8f2f3d2b5193b41d9c50905198/docs/checks.md#ci-tests"}}]},"last_synced_at":"2025-11-23T23:24:29.348Z","repository_id":33724377,"created_at":"2025-11-23T23:24:29.348Z","updated_at":"2025-11-23T23:24:29.348Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31526666,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T16:28:08.000Z","status":"ssl_error","status_checked_at":"2026-04-07T16:28:06.951Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["dmarc","dns","email","infosec","itsecurity","kali","kali-linux","kali-tools","mail","mailserver","scanner","security","smtp","smtpd"],"created_at":"2024-08-02T22:00:37.912Z","updated_at":"2026-04-07T20:02:41.463Z","avatar_url":"https://github.com/steffenfritz.png","language":"Go","funding_links":["https://github.com/sponsors/steffenfritz"],"categories":["Security"],"sub_categories":["Security Check"],"readme":"![mxcheck logo](resources/mxcheck_logo_250x.png)\n\nmxcheck is an info scanner for e-mail servers.\n\nIt checks\n  * DNS records: A, MX, PTR, SPF, MTA-STS, DKIM, DMARC (fully parsed), TLSRPT, BIMI\n  * DANE/TLSA records per MX host (RFC 6698, RFC 7672): usage, selector, matching type, certificate data\n  * AS Number and AS Country\n  * the support of StartTLS and the certificate\n  * TLS certificate details on port 465: expiry date, Subject CN, Issuer CN, SANs\n  * open ports: 25, 465, 587\n  * if the service is listed by blacklists\n  * if it leaks information by server string and VRFY command\n  * if the e-mail server is vulnerable to SMTPSmuggling\n  * and if the server is an open relay\n\nYou can set mailFrom, mailTo, the DNS server, DKIM selector and output a report in tsv format.\n\n\n    -b, --blacklist          Check if the service is on blacklists\n    -d, --dnsserver string   The dns server to be requested (default \"8.8.8.8\")\n    -g, --smuggle            Scan for SMTPSmuggling vulnerability\n    -p, --disable-port-scan  Disable SMTP port scan\n    -f, --mailfrom string    Set the mailFrom address (default \"info@foo.wtf\")\n    -t, --mailto string      Set the mailTo address (default \"info@baz.wtf\")\n    -n, --no-prompt          Answer yes to all questions\n    -s, --service string     The service host to check (mandatory flag)\n    -S, --dkim-selector      The DKIM selector. If set a dkim check is performed on the provided service domain\n    -V, --verbose            Show timestamps in output\n    -v, --version            Version and license\n    -u, --updatecheck        Check if a new version of mxcheck is available\n    -w, --write-tsv          Write tsv formated report to file\n    \n\n\n# Version\n\nv2.0.0\n\n[![Go Report Card](https://goreportcard.com/badge/github.com/steffenfritz/mxcheck)](https://goreportcard.com/report/github.com/steffenfritz/mxcheck) \n[![Go Reference](https://pkg.go.dev/badge/github.com/steffenfritz/mxcheck.svg)](https://pkg.go.dev/github.com/steffenfritz/mxcheck)\n[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)\n[![Build status](https://ci.appveyor.com/api/projects/status/l6d32n4ax02f6ku2?svg=true)](https://ci.appveyor.com/project/steffenfritz/mxcheck)\n[![Reviewed by Hound](https://img.shields.io/badge/Reviewed_by-Hound-8E64B0.svg)](https://houndci.com)\n[![OpenSSF Scorecard](https://api.scorecard.dev/projects/github.com/steffenfritz/mxcheck/badge)](https://scorecard.dev/viewer/?uri=github.com/steffenfritz/mxcheck)\n[![OpenSSF Best Practices](https://www.bestpractices.dev/projects/9171/badge)](https://www.bestpractices.dev/projects/9171)\n\n[![Kali](https://img.shields.io/badge/Kali-268BEE?style=for-the-badge\u0026logo=kalilinux\u0026logoColor=white)](https://www.kali.org/tools/mxcheck/)\n\n# Installation\n\n    go install github.com/steffenfritz/mxcheck@v2.0.0\n    \nor\n\n    download a pre-compiled binary.\n\nor\n\n    use Kali Linux repositories\n\n# Usage Example\n\n    ./mxcheck -s 2600.com\n    ./mxcheck -s 2600.com -v\n    ./mxcheck -s 2600.com -d 8.8.8.8\n    ./mxcheck -s 2600.com -n -f info@baz.com -t boss@foo.org -w -S default\n    ./mxcheck -s 2600.com -n -f info@baz.com -t boss@foo.org -w -S default -b -g\n    \n   [![asciicast](https://asciinema.org/a/471229.svg)](https://asciinema.org/a/471229)\n    \n    \n# Check for authentication\n\nThere is no check whether the server needs authentication. However, you can do two runs:\n\nThe first one uses a from and to address outside the mail server's scope, e.g.:\n\n    ./mxcheck -s example.com -f info@baz.com -t boss@foo.org\n\nThe second one uses a from and a to address from the mail server's scope, e.g.:\n\n    ./mxcheck -s example.com -f info@example.com -t boss@example.com\n\nIf the first one returns ``Server is not an open relay`` and the second one returns `Server is probably an open relay` the server is not an open relay, but you can send mails from local to local addresses without authentication.\n\n# Documentation and contact\n\nmxcheck has a man page :)\n\nFurthermore, you can find a documentation and contact information here: https://mxcheck.fritz.wtf\n\nThe logo was created by Alex/Lignum5. Thanks, mate :)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteffenfritz%2Fmxcheck","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsteffenfritz%2Fmxcheck","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteffenfritz%2Fmxcheck/lists"}