{"id":13458765,"url":"https://github.com/immutables/immutables","last_synced_at":"2026-01-11T17:32:40.688Z","repository":{"id":9376153,"uuid":"11233996","full_name":"immutables/immutables","owner":"immutables","description":"Java annotation processor to create immutable objects and builders, for records too. Sweep boilerplate code under the rug!","archived":false,"fork":false,"pushed_at":"2025-12-28T17:55:31.000Z","size":14265,"stargazers_count":3540,"open_issues_count":437,"forks_count":291,"subscribers_count":82,"default_branch":"master","last_synced_at":"2025-12-31T07:30:54.214Z","etag":null,"topics":["annotation-processor","builder","gson","guava","immutable-collections","immutable-datastructures","immutable-objects","immutables","jackson","java","records"],"latest_commit_sha":null,"homepage":"http://immutables.org","language":"Java","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/immutables.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}},"created_at":"2013-07-07T13:48:23.000Z","updated_at":"2025-12-28T17:55:34.000Z","dependencies_parsed_at":"2023-01-13T15:19:25.481Z","dependency_job_id":"56df0301-7381-4e28-a64d-2fd242be398c","html_url":"https://github.com/immutables/immutables","commit_stats":null,"previous_names":["immutables/org.immutables"],"tags_count":141,"template":false,"template_full_name":null,"purl":"pkg:github/immutables/immutables","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/immutables%2Fimmutables","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/immutables%2Fimmutables/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/immutables%2Fimmutables/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/immutables%2Fimmutables/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/immutables","download_url":"https://codeload.github.com/immutables/immutables/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/immutables%2Fimmutables/sbom","scorecard":{"id":485930,"data":{"date":"2025-08-11","repo":{"name":"github.com/immutables/immutables","commit":"3882eefeed5f9ab543976dbf2a18649c99675399"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.3,"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":1,"reason":"Found 4/24 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/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":"Maintained","score":10,"reason":"30 commit(s) and 25 issue activity found in the last 90 days -- score normalized to 10","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":"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":"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":"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/ci.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/immutables/immutables/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/immutables/immutables/ci.yml/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":"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 10 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":8,"reason":"2 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-5mg8-w23w-74h3","Warn: Project is vulnerable to: GHSA-7g45-4rm6-3mm3"],"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-19T17:47:38.085Z","repository_id":9376153,"created_at":"2025-08-19T17:47:38.085Z","updated_at":"2025-08-19T17:47:38.085Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28201636,"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":"2026-01-04T02:00:06.065Z","response_time":58,"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":["annotation-processor","builder","gson","guava","immutable-collections","immutable-datastructures","immutable-objects","immutables","jackson","java","records"],"created_at":"2024-07-31T09:00:57.010Z","updated_at":"2026-01-11T17:32:40.670Z","avatar_url":"https://github.com/immutables.png","language":"Java","readme":"![CI](https://github.com/immutables/immutables/workflows/CI/badge.svg) [![Sonatype Central](https://maven-badges.sml.io/sonatype-central/org.immutables/value/badge.svg)](https://maven-badges.sml.io/sonatype-central/org.immutables/value/) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) \n\n![imcover.png](imcover.png)\n\nFull documentation at [immutables.org](http://immutables.org)\n\n## Record Builder\n\n```java\n@Value.Builder\nrecord Person(String name, int age, String email) {}\n\n// Use the generated builder\nPerson person = new PersonBuilder()\n    .name(\"Alice\")\n    .age(30)\n    .email(\"alice@example.com\")\n    .build();\n```\n\nMore fancy example having copy-with methods generated, and style `withUnaryOperator=\"with*\"`\n\n```java\n@Value.Builder\nrecord Person(String name, int age) implements WithPerson {\n  // Extend the generated PersonBuilder\n  static class Builder extends PersonBuilder {}\n}\n\n// Use your custom builder\nvar person = new Person.Builder()\n    .name(\"Bob\")\n    .age(18)\n    .build();\n\nperson = person.withName(\"Bobby!\")\n    .withAge(age -\u003e age + 3);\n```\n\n## Immutable class\n\nMinimal, classical style\n\n```java\n@Value.Immutable\ninterface Book {\n  String isbn();\n  String title();\n  List\u003cString\u003e authors();\n}\n\nImmutableBook book = ImmutableBook.builder()\n    .isbn(\"978-1-56619-909-4\")\n    .title(\"The Elements of Style\")\n    .addAuthors(\"William Strunk Jr.\", \"E.B. White.\")\n    .build();\n```\n\n\"sandwich\" style, with nested builder and extending `With*` interface\n\n```java\n// Define abstract value type using interface, abstract class or annotation\n@Value.Immutable\npublic interface ValueObject extends WithValueObject {\n  // WithValueObject is not yet generated, We extend With* to inherit `with*` method signatures\n  String name();\n  List\u003cInteger\u003e counts();\n  Optional\u003cString\u003e description();\n\n  class Builder extends ImmutableValueObject.Builder {}\n  // ImmutableValueObject.Builder will be generated and\n  // our builder will inherit and reexport methods as its own.\n  // Static nested Builder will inherit all the public method\n  // signatures of ImmutableValueObject.Builder\n} \n\n// Use generated immutable implementation and builder\nvar value = new ValueObject.Builder()\n    .name(\"Nameless\")\n    .description(\"present\")\n    .addCounts(1)\n    .addCounts(2)\n    .build();\n\nvalue = value.withName(\"Doe\");\n\n//fetch values via accessors\nList\u003cInteger\u003e counts = v.counts();\nOptional\u003cString\u003e description = v.description();\n```\n\n## Changelog\n\nSee [releases](https://github.com/immutables/immutables/releases) tab for release history. Archived [changelog](.archive/CHANGELOG.md) for earlier releases.\n","funding_links":[],"categories":["Java"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimmutables%2Fimmutables","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimmutables%2Fimmutables","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimmutables%2Fimmutables/lists"}