{"id":21338261,"url":"https://github.com/smlx/fsm","last_synced_at":"2026-06-22T21:31:38.509Z","repository":{"id":39760085,"uuid":"386696926","full_name":"smlx/fsm","owner":"smlx","description":"Simple Finite State Machine","archived":false,"fork":false,"pushed_at":"2026-06-09T02:15:31.000Z","size":69,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-06-09T04:12:04.391Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/smlx.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":"2021-07-16T16:16:21.000Z","updated_at":"2026-06-09T02:15:34.000Z","dependencies_parsed_at":"2025-03-16T06:15:38.650Z","dependency_job_id":null,"html_url":"https://github.com/smlx/fsm","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/smlx/fsm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smlx%2Ffsm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smlx%2Ffsm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smlx%2Ffsm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smlx%2Ffsm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smlx","download_url":"https://codeload.github.com/smlx/fsm/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smlx%2Ffsm/sbom","scorecard":{"id":833640,"data":{"date":"2025-08-11","repo":{"name":"github.com/smlx/fsm","commit":"d60ba60da654e1f312ad4bdb847308d11358fcbc"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.3,"checks":[{"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":"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":"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":"Code-Review","score":0,"reason":"Found 0/1 approved changesets -- score normalized to 0","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":"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/codeql-analysis.yaml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/smlx/fsm/codeql-analysis.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yaml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/smlx/fsm/codeql-analysis.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yaml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/smlx/fsm/codeql-analysis.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yaml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/smlx/fsm/codeql-analysis.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/commitlint.yaml:9: update your workflow using https://app.stepsecurity.io/secureworkflow/smlx/fsm/commitlint.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/commitlint.yaml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/smlx/fsm/commitlint.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/coverage.yaml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/smlx/fsm/coverage.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/coverage.yaml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/smlx/fsm/coverage.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/coverage.yaml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/smlx/fsm/coverage.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/coverage.yaml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/smlx/fsm/coverage.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/golangci-lint.yaml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/smlx/fsm/golangci-lint.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/golangci-lint.yaml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/smlx/fsm/golangci-lint.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/golangci-lint.yaml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/smlx/fsm/golangci-lint.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tag-release.yaml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/smlx/fsm/tag-release.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tag-release.yaml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/smlx/fsm/tag-release.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/tag-release.yaml:38: update your workflow using https://app.stepsecurity.io/secureworkflow/smlx/fsm/tag-release.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yaml:9: update your workflow using https://app.stepsecurity.io/secureworkflow/smlx/fsm/test.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yaml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/smlx/fsm/test.yaml/main?enable=pin","Info:   0 out of  13 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   5 third-party 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/codeql-analysis.yaml:1","Warn: no topLevel permission defined: .github/workflows/commitlint.yaml:1","Warn: no topLevel permission defined: .github/workflows/coverage.yaml:1","Warn: no topLevel permission defined: .github/workflows/golangci-lint.yaml:1","Warn: no topLevel permission defined: .github/workflows/tag-release.yaml:1","Warn: no topLevel permission defined: .github/workflows/test.yaml: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":"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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: 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":"SAST","score":7,"reason":"SAST tool detected but not run on all commits","details":["Info: SAST configuration detected: CodeQL","Warn: 0 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/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-23T18:24:08.362Z","repository_id":39760085,"created_at":"2025-08-23T18:24:08.363Z","updated_at":"2025-08-23T18:24:08.363Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34666961,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-22T02:00:06.391Z","response_time":106,"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":"2024-11-22T00:12:15.723Z","updated_at":"2026-06-22T21:31:38.492Z","avatar_url":"https://github.com/smlx.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Finite State Machine\n\n![Tag and Release](https://github.com/smlx/fsm/workflows/Tag%20and%20Release/badge.svg)\n[![Coverage Status](https://coveralls.io/repos/github/smlx/fsm/badge.svg?branch=main)](https://coveralls.io/github/smlx/fsm?branch=main)\n[![Go Reference](https://pkg.go.dev/badge/github.com/smlx/fsm.svg)](https://pkg.go.dev/github.com/smlx/fsm)\n\nThe `fsm` module implements a minimal finite state machine.\n\nI used this logic in multiple projects, so I decided I may as well publish it.\nHonestly, this module is so simple you might be better off just copying the logic instead of importing it.\n\n\u003e [A little copying is better than a little dependency.](https://go-proverbs.github.io/)\n\n## Usage\n\nSee the Go reference link above.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmlx%2Ffsm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmlx%2Ffsm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmlx%2Ffsm/lists"}