{"id":40388882,"url":"https://github.com/go-daq/canbus","last_synced_at":"2026-01-20T12:34:41.256Z","repository":{"id":57791512,"uuid":"74575926","full_name":"go-daq/canbus","owner":"go-daq","description":"CAN-bus interface","archived":false,"fork":false,"pushed_at":"2022-09-07T07:26:27.000Z","size":21,"stargazers_count":31,"open_issues_count":2,"forks_count":13,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-06-18T23:13:29.790Z","etag":null,"topics":["can-bus","canbus","go","golang"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/go-daq.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}},"created_at":"2016-11-23T12:44:42.000Z","updated_at":"2024-05-07T18:55:19.000Z","dependencies_parsed_at":"2022-08-30T16:32:17.096Z","dependency_job_id":null,"html_url":"https://github.com/go-daq/canbus","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/go-daq/canbus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-daq%2Fcanbus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-daq%2Fcanbus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-daq%2Fcanbus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-daq%2Fcanbus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/go-daq","download_url":"https://codeload.github.com/go-daq/canbus/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-daq%2Fcanbus/sbom","scorecard":{"id":431640,"data":{"date":"2025-08-11","repo":{"name":"github.com/go-daq/canbus","commit":"a591e15016c665a51697e6f215c73e2bd018ebfd"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.8,"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 0/11 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":6,"reason":"dependency not pinned by hash detected -- score normalized to 6","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/go-daq/canbus/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:37: update your workflow using https://app.stepsecurity.io/secureworkflow/go-daq/canbus/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:42: update your workflow using https://app.stepsecurity.io/secureworkflow/go-daq/canbus/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:97: update your workflow using https://app.stepsecurity.io/secureworkflow/go-daq/canbus/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:104: update your workflow using https://app.stepsecurity.io/secureworkflow/go-daq/canbus/ci.yml/main?enable=pin","Info:   0 out of   3 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 third-party GitHubAction dependencies pinned","Info:   4 out of   4 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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: BSD 3-Clause \"New\" or \"Revised\" License: 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":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"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":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 7 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-19T03:29:21.491Z","repository_id":57791512,"created_at":"2025-08-19T03:29:21.491Z","updated_at":"2025-08-19T03:29:21.491Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28603392,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T12:01:53.233Z","status":"ssl_error","status_checked_at":"2026-01-20T12:01:46.545Z","response_time":117,"last_error":"SSL_read: 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":["can-bus","canbus","go","golang"],"created_at":"2026-01-20T12:34:41.118Z","updated_at":"2026-01-20T12:34:41.234Z","avatar_url":"https://github.com/go-daq.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# canbus\n\n[![GitHub release](https://img.shields.io/github/release/go-daq/canbus.svg)](https://github.com/go-daq/canbus/releases)\n[![CI](https://github.com/go-daq/canbus/workflows/CI/badge.svg)](https://github.com/go-daq/canbus/actions)\n[![codecov](https://codecov.io/gh/go-daq/canbus/branch/main/graph/badge.svg)](https://codecov.io/gh/go-daq/canbus)\n[![GoDoc](https://godoc.org/github.com/go-daq/canbus?status.svg)](https://godoc.org/github.com/go-daq/canbus)\n[![License](https://img.shields.io/badge/License-BSD--3-blue.svg)](https://github.com/go-daq/canbus/blob/main/LICENSE)\n\n`canbus` provides high-level facilities to interact with `CAN` sockets.\n\n## can-dump\n\n```\ncan-dump prints data flowing on CAN bus.\n\nUsage of can-dump:\n\nsh\u003e can-dump [options] \u003cCAN interface\u003e\n   (use CTRL-C to terminate can-dump)\n\nExamples:\n\n can-dump vcan0\n```\n\n```sh\n$\u003e can-dump vcan0\n  vcan0  080 00000000  00 DE AD BE EF            |.....|\n  vcan0  080 00000000  01 DE AD BE EF            |.....|\n  vcan0  080 00000000  02 DE AD BE EF            |.....|\n  vcan0  080 00000000  03 DE AD BE EF            |.....|\n  vcan0  080 00000000  04 DE AD BE EF            |.....|\n  vcan0  080 00000000  05 DE AD BE EF            |.....|\n  vcan0  080 00000000  06 DE AD BE EF            |.....|\n  vcan0  080 00000000  07 DE AD BE EF            |.....|\n  vcan0  080 00000000  08 DE AD BE EF            |.....|\n  vcan0  080 00000000  09 DE AD BE EF            |.....|\n  vcan0  712 00000000  11 22 33 44 55 66 77 88   |.\"3DUFW.|\n  vcan0  7fa 00000000  DE AD BE EF               |....|\n[...]\n```\n\n## can-send\n\n```\ncan-send sends data on the CAN bus.\n\nUsage of can-send:\n\nsh\u003e can-send [options] \u003cCAN interface\u003e \u003cCAN frame\u003e\n\nwhere \u003cCAN frame\u003e is of the form: \u003cID-hex\u003e#\u003cframe data-hex\u003e.\n\nExamples:\n\n can-send vcan0 f12#1122334455667788\n can-send vcan0 ffa#deadbeef\n```\n\n```sh\n$\u003e can-dump vcan0 \u0026\n$\u003e can-send vcan0 f12#1122334455667788\n  vcan0  712 00000000  11 22 33 44 55 66 77 88   |.\"3DUFW.|\n$\u003e can-send vcan0 ffa#deadbeef\n  vcan0  7fa 00000000  DE AD BE EF               |....|\n```\n\n## References\n\n```sh\n$\u003e modprobe can\n$\u003e modprobe can_raw\n$\u003e modprobe vcan\n\n## setup vcan network devices\n$\u003e ip link add type vcan\n$\u003e ip link add dev vcan0 type vcan\n$\u003e ip link set vcan0 up\n```\n\n- https://www.kernel.org/doc/Documentation/networking/can.txt\n- https://en.wikipedia.org/wiki/CAN_bus\n- https://en.wikipedia.org/wiki/SocketCAN\n- https://godoc.org/golang.org/x/sys/unix#SocketaddrCAN\n- http://www.computer-solutions.co.uk/info/Embedded_tutorials/can_tutorial.htm\n- http://elinux.org/Bringing_CAN_interface_up\n- http://inst.cs.berkeley.edu/~ee249/fa08/Lectures/handout_canbus2.pdf\n- https://chemnitzer.linux-tage.de/2012/vortraege/folien/1044_SocketCAN.pdf\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgo-daq%2Fcanbus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgo-daq%2Fcanbus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgo-daq%2Fcanbus/lists"}