{"id":3873094,"name":"github.com/liamg/magic","ecosystem":"go","description":"","homepage":"https://github.com/liamg/magic","licenses":"gpl-2.0","normalized_licenses":["GPL-2.0"],"repository_url":"https://github.com/liamg/magic","keywords_array":[],"namespace":"github.com/liamg","versions_count":6,"first_release_published_at":"2019-01-23T20:16:19.000Z","latest_release_published_at":"2025-11-07T09:37:09.000Z","latest_release_number":"v1.0.1","last_synced_at":"2026-09-02T13:59:29.969Z","created_at":"2022-04-11T22:34:06.077Z","updated_at":"2026-09-13T01:05:06.838Z","registry_url":"https://pkg.go.dev/github.com/liamg/magic","install_command":"go get github.com/liamg/magic","documentation_url":"https://pkg.go.dev/github.com/liamg/magic#section-documentation","metadata":{},"repo_metadata":{"id":57567517,"uuid":"167136530","full_name":"liamg/magic","owner":"liamg","description":":tophat::rabbit2: Toolkit for detecting and verifying file type using magic bytes in pure Golang","archived":false,"fork":false,"pushed_at":"2025-11-07T09:37:25.000Z","size":954,"stargazers_count":31,"open_issues_count":0,"forks_count":9,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-09-02T13:23:28.848Z","etag":null,"topics":["file-signature","magic-bytes","magic-numbers"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/liamg.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["liamg"]}},"created_at":"2019-01-23T07:19:01.000Z","updated_at":"2026-07-05T09:11:33.000Z","dependencies_parsed_at":"2026-03-27T03:00:43.960Z","dependency_job_id":null,"html_url":"https://github.com/liamg/magic","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/liamg/magic","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liamg%2Fmagic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liamg%2Fmagic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liamg%2Fmagic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liamg%2Fmagic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/liamg","download_url":"https://codeload.github.com/liamg/magic/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liamg%2Fmagic/sbom","scorecard":{"id":587440,"data":{"date":"2025-08-11","repo":{"name":"github.com/liamg/magic","commit":"fda4ead79ea75df8fdab2866de10a55c77fac30e"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.1,"checks":[{"name":"Code-Review","score":3,"reason":"Found 4/12 approved changesets -- score normalized to 3","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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/lint.yml:9: update your workflow using https://app.stepsecurity.io/secureworkflow/liamg/magic/lint.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/lint.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/liamg/magic/lint.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:9: update your workflow using https://app.stepsecurity.io/secureworkflow/liamg/magic/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/liamg/magic/test.yml/master?enable=pin","Info:   0 out of   4 GitHub-owned GitHubAction 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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/lint.yml:1","Warn: no topLevel permission defined: .github/workflows/test.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: The Unlicense: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 8 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-20T20:56:05.358Z","repository_id":57567517,"created_at":"2025-08-20T20:56:05.358Z","updated_at":"2025-08-20T20:56:05.358Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":341189360,"owners_count":37254189,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-08-22T15:14:58.755Z","status":"online","status_checked_at":"2026-09-12T02:00:07.213Z","response_time":57,"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"},"owner_record":{"login":"liamg","name":"Liam Galvin","uuid":"1187060","kind":"user","description":"☠️ Security ⋆ 🔧 Engineering ⋆ 🐧 Open Source","email":"liam@liam-galvin.co.uk","website":"https://lia.mg","location":"New Forest, United Kingdom","twitter":"liam_galvin","company":"@infracost","icon_url":"https://avatars.githubusercontent.com/u/1187060?u=b59b4e45f97325ec6634d29ac40d600680c3f241\u0026v=4","repositories_count":151,"last_synced_at":"2026-09-09T08:04:57.191Z","metadata":{"has_sponsors_listing":true,"funding":{"github":["liamg"]}},"html_url":"https://github.com/liamg","funding_links":["https://github.com/sponsors/liamg"],"total_stars":17221,"followers":1509,"following":137,"created_at":"2022-11-06T13:40:30.749Z","updated_at":"2026-09-09T08:04:57.207Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/liamg","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/liamg/repositories"},"tags":[{"name":"v1.0.1","sha":"b1e71bde9d1187732e4fe31ab2f2e720aa87493f","kind":"commit","published_at":"2025-11-07T09:37:09.000Z","download_url":"https://codeload.github.com/liamg/magic/tar.gz/v1.0.1","html_url":"https://github.com/liamg/magic/releases/tag/v1.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/liamg/magic@v1.0.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liamg%2Fmagic/tags/v1.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liamg%2Fmagic/tags/v1.0.1/manifests"},{"name":"v1.0.0","sha":"93edf6d2912d26d11358ecf8fc0ea82935075a09","kind":"commit","published_at":"2025-11-07T08:59:01.000Z","download_url":"https://codeload.github.com/liamg/magic/tar.gz/v1.0.0","html_url":"https://github.com/liamg/magic/releases/tag/v1.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/liamg/magic@v1.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liamg%2Fmagic/tags/v1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liamg%2Fmagic/tags/v1.0.0/manifests"},{"name":"v0.0.1","sha":"3fda65c94fb598349891429d1422e13c707b6c53","kind":"commit","published_at":"2023-07-28T07:53:39.000Z","download_url":"https://codeload.github.com/liamg/magic/tar.gz/v0.0.1","html_url":"https://github.com/liamg/magic/releases/tag/v0.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/liamg/magic@v0.0.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liamg%2Fmagic/tags/v0.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liamg%2Fmagic/tags/v0.0.1/manifests"}]},"repo_metadata_updated_at":"2026-09-13T01:05:06.838Z","dependent_packages_count":1,"downloads":null,"downloads_period":null,"dependent_repos_count":1,"rankings":{"downloads":null,"dependent_repos_count":4.773700988852565,"dependent_packages_count":5.723974090844484,"stargazers_count":8.49915734329631,"forks_count":7.692081104635218,"docker_downloads_count":null,"average":6.672228381907145},"purl":"pkg:golang/github.com/liamg/magic","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/go/github.com/liamg/magic","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/go/github.com/liamg/magic","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/go/github.com/liamg/magic/dependencies","status":null,"funding_links":["https://github.com/sponsors/liamg"],"critical":null,"issue_metadata":{"last_synced_at":"2026-09-02T13:20:25.647Z","issues_count":7,"pull_requests_count":7,"avg_time_to_close_issue":10030504.0,"avg_time_to_close_pull_request":43367.0,"issues_closed_count":7,"pull_requests_closed_count":7,"pull_request_authors_count":3,"issue_authors_count":4,"avg_comments_per_issue":0.5714285714285714,"avg_comments_per_pull_request":0.2857142857142857,"merged_pull_requests_count":7,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":1,"past_year_pull_requests_count":2,"past_year_avg_time_to_close_issue":333523.0,"past_year_avg_time_to_close_pull_request":21877.0,"past_year_issues_closed_count":1,"past_year_pull_requests_closed_count":2,"past_year_pull_request_authors_count":1,"past_year_issue_authors_count":1,"past_year_avg_comments_per_issue":2.0,"past_year_avg_comments_per_pull_request":0.5,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":2,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/liamg%2Fmagic/issues","maintainers":[{"login":"liamg","count":3,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/liamg"}],"active_maintainers":[{"login":"liamg","count":2,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/liamg"}]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fliamg%2Fmagic/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fliamg%2Fmagic/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fliamg%2Fmagic/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fliamg%2Fmagic/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fliamg%2Fmagic/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fliamg%2Fmagic/codemeta","maintainers":[]}