{"id":19011725,"url":"https://github.com/umbracle/fastrlp","last_synced_at":"2025-09-16T04:35:37.163Z","repository":{"id":39710258,"uuid":"215272802","full_name":"umbracle/fastrlp","owner":"umbracle","description":"Fast RLP encoder/decoder","archived":false,"fork":false,"pushed_at":"2023-12-18T21:58:02.000Z","size":74,"stargazers_count":24,"open_issues_count":3,"forks_count":6,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-14T14:07:17.073Z","etag":null,"topics":["ethereum","fast","go","rlp"],"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/umbracle.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":"2019-10-15T10:38:28.000Z","updated_at":"2025-06-28T12:55:02.000Z","dependencies_parsed_at":"2024-06-18T16:43:00.431Z","dependency_job_id":"701c949a-7ae5-4635-87f0-6c7b40fc15e2","html_url":"https://github.com/umbracle/fastrlp","commit_stats":{"total_commits":11,"total_committers":3,"mean_commits":"3.6666666666666665","dds":"0.18181818181818177","last_synced_commit":"a72a17ab1ecff1ab0722721aabc62fa90ab482a4"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/umbracle/fastrlp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umbracle%2Ffastrlp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umbracle%2Ffastrlp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umbracle%2Ffastrlp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umbracle%2Ffastrlp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/umbracle","download_url":"https://codeload.github.com/umbracle/fastrlp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umbracle%2Ffastrlp/sbom","scorecard":{"id":908410,"data":{"date":"2025-08-11","repo":{"name":"github.com/umbracle/fastrlp","commit":"58a1b8a9929d155f6bfa9b1b1e1341a64124f4a6"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":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":"Code-Review","score":2,"reason":"Found 3/12 approved changesets -- score normalized to 2","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":"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":"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":"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/pr.yaml:8: update your workflow using https://app.stepsecurity.io/secureworkflow/umbracle/fastrlp/pr.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pr.yaml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/umbracle/fastrlp/pr.yaml/master?enable=pin","Info:   0 out of   2 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/pr.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":"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":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"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 9 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":3,"reason":"7 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2022-0968 / GHSA-gwc9-m7rh-j2ww","Warn: Project is vulnerable to: GO-2021-0356 / GHSA-8c26-wmh5-6g9v","Warn: Project is vulnerable to: GO-2024-2961","Warn: Project is vulnerable to: GO-2023-2402 / GHSA-45x7-px36-x8w8","Warn: Project is vulnerable to: GO-2024-3321 / GHSA-v778-237x-gjrc","Warn: Project is vulnerable to: GO-2025-3487 / GHSA-hcg3-q754-cr77","Warn: Project is vulnerable to: GO-2022-0493 / GHSA-p782-xgp4-8hr8"],"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-24T18:14:49.011Z","repository_id":39710258,"created_at":"2025-08-24T18:14:49.011Z","updated_at":"2025-08-24T18:14:49.011Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275363875,"owners_count":25451511,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-16T02:00:10.229Z","response_time":65,"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":["ethereum","fast","go","rlp"],"created_at":"2024-11-08T19:15:32.820Z","updated_at":"2025-09-16T04:35:37.138Z","avatar_url":"https://github.com/umbracle.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# FastRlp\n\nFastRlp is a high performant encoding/decoding library for the RLP Ethereum format. This library is based on [fastjson](https://github.com/valyala/fastjson).\n\n## Usage\n\nFastRlp does not uses reflect to avoid bottlenecks. It provides a single value primitive that can be encoded or decoded into any specific type.\n\nEncode: \n\n```\na := \u0026fastrlp.Arena{}\n\n// Encode a uint\nv := a.NewUint(300)\nbuf := v.MarshalTo(nil)\n\n// Encode an array\nv = a.NewArray()\nv.Set(a.NewUint(300))\nbuf = v.MarshalTo(nil)\n```\n\nYou can find more examples [here](https://github.com/umbracle/fastrlp/blob/master/arena_test.go#L53).\n\nDecode:\n\n```\np := \u0026fastrlp.Parser{}\nv, err := p.Parse([]byte{0x01})\nif err != nil {\n    panic(err)\n}\n\nnum, err := v.GetUint64()\nif err != nil {\n    panic(err)\n}\nfmt.Println(num)\n```\n\n## Benchmark\n\n```\n$ go-rlp-test go test -v ./. -run=XX -bench=.     \ngoos: linux\ngoarch: amd64\npkg: github.com/ferranbt/go-rlp-test\nBenchmarkDecode100HeadersGeth-8      \t   10000\t    196183 ns/op\t   32638 B/op\t    1002 allocs/op\nBenchmarkEncode100HeadersGeth-8      \t   10000\t    179328 ns/op\t   88471 B/op\t    1003 allocs/op\nBenchmarkDecode100HeadersFastRlp-8   \t   30000\t     57179 ns/op\t      16 B/op\t       0 allocs/op\nBenchmarkEncode100HeadersFastRlp-8   \t   30000\t     43967 ns/op\t      23 B/op\t       0 allocs/op\nPASS\nok  \tgithub.com/ferranbt/go-rlp-test\t7.890s\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fumbracle%2Ffastrlp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fumbracle%2Ffastrlp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fumbracle%2Ffastrlp/lists"}