{"id":123084,"name":"personnummer","ecosystem":"pub","description":"Validate Swedish personal identity numbers with Dart and Flutter.","homepage":"https://github.com/personnummer/dart","licenses":"mit","normalized_licenses":["MIT"],"repository_url":"https://github.com/personnummer/dart","keywords_array":[],"namespace":null,"versions_count":12,"first_release_published_at":"2019-06-01T09:31:55.912Z","latest_release_published_at":"2023-03-12T15:40:11.169Z","latest_release_number":"3.1.0","last_synced_at":"2026-09-27T19:18:31.390Z","created_at":"2022-04-05T13:56:25.794Z","updated_at":"2026-09-28T10:46:34.045Z","registry_url":"https://pub.dev/packages/personnummer","install_command":"dart pub add personnummer","documentation_url":"https://pub.dev/documentation/personnummer/latest/","metadata":{},"repo_metadata":{"id":34914625,"uuid":"189711751","full_name":"personnummer/dart","owner":"personnummer","description":"Validate Swedish personal identity numbers","archived":false,"fork":false,"pushed_at":"2026-07-07T09:32:10.000Z","size":72,"stargazers_count":4,"open_issues_count":1,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-09-12T03:43:21.607Z","etag":null,"topics":["dart","flutter","hacktoberfest","personal-identity-number","personnummer","social-security-number","validation"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/personnummer","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/personnummer.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":{"open_collective":"sweidproject"}},"created_at":"2019-06-01T08:58:36.000Z","updated_at":"2026-07-07T09:32:11.000Z","dependencies_parsed_at":"2025-04-16T10:39:39.879Z","dependency_job_id":null,"html_url":"https://github.com/personnummer/dart","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/personnummer/dart","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/personnummer%2Fdart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/personnummer%2Fdart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/personnummer%2Fdart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/personnummer%2Fdart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/personnummer","download_url":"https://codeload.github.com/personnummer/dart/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/personnummer%2Fdart/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":341189360,"owners_count":37575741,"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-21T02:00:06.232Z","response_time":53,"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":"personnummer","name":"Personnummer","uuid":"32910698","kind":"organization","description":"Packages for validating Swedish personal identity numbers in different programming languages.","email":null,"website":"https://personnummer.dev","location":"Sweden","twitter":"sweidproject","company":null,"icon_url":"https://avatars.githubusercontent.com/u/32910698?v=4","repositories_count":24,"last_synced_at":"2024-05-29T11:48:06.298Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/personnummer","funding_links":[],"total_stars":161,"followers":14,"following":0,"created_at":"2022-11-10T14:45:34.464Z","updated_at":"2024-05-29T11:48:19.952Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/personnummer","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/personnummer/repositories"},"tags":[{"name":"v3.1.0","sha":"07d19ccaeae6e646d8e6f4a59bcb3581793284a7","kind":"commit","published_at":"2023-03-12T15:35:30.000Z","download_url":"https://codeload.github.com/personnummer/dart/tar.gz/v3.1.0","html_url":"https://github.com/personnummer/dart/releases/tag/v3.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/personnummer/dart@v3.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/personnummer%2Fdart/tags/v3.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/personnummer%2Fdart/tags/v3.1.0/manifests"},{"name":"v3.0.5","sha":"ca5183e3fae60358f6fa4fd4a1cdc84f778e7950","kind":"commit","published_at":"2022-01-11T09:06:51.000Z","download_url":"https://codeload.github.com/personnummer/dart/tar.gz/v3.0.5","html_url":"https://github.com/personnummer/dart/releases/tag/v3.0.5","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/personnummer/dart@v3.0.5","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/personnummer%2Fdart/tags/v3.0.5","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/personnummer%2Fdart/tags/v3.0.5/manifests"},{"name":"v3.0.4","sha":"41829385827fddfc25fb82ed780d73b51f28a37b","kind":"commit","published_at":"2021-06-04T17:22:56.000Z","download_url":"https://codeload.github.com/personnummer/dart/tar.gz/v3.0.4","html_url":"https://github.com/personnummer/dart/releases/tag/v3.0.4","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/personnummer/dart@v3.0.4","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/personnummer%2Fdart/tags/v3.0.4","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/personnummer%2Fdart/tags/v3.0.4/manifests"},{"name":"v3.0.3","sha":"ca9f91e24eefc8cfda73decb6442c1369086c6db","kind":"commit","published_at":"2020-06-17T06:42:19.000Z","download_url":"https://codeload.github.com/personnummer/dart/tar.gz/v3.0.3","html_url":"https://github.com/personnummer/dart/releases/tag/v3.0.3","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/personnummer/dart@v3.0.3","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/personnummer%2Fdart/tags/v3.0.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/personnummer%2Fdart/tags/v3.0.3/manifests"},{"name":"v3.0.2","sha":"4253a47ab8ddd23ba30c468b7430a036acde6db1","kind":"commit","published_at":"2020-04-17T12:13:19.000Z","download_url":"https://codeload.github.com/personnummer/dart/tar.gz/v3.0.2","html_url":"https://github.com/personnummer/dart/releases/tag/v3.0.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/personnummer/dart@v3.0.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/personnummer%2Fdart/tags/v3.0.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/personnummer%2Fdart/tags/v3.0.2/manifests"},{"name":"v3.0.1","sha":"79ba86e9910fc1f89e37d68e6cd5fe0c2835443e","kind":"commit","published_at":"2020-04-17T11:39:36.000Z","download_url":"https://codeload.github.com/personnummer/dart/tar.gz/v3.0.1","html_url":"https://github.com/personnummer/dart/releases/tag/v3.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/personnummer/dart@v3.0.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/personnummer%2Fdart/tags/v3.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/personnummer%2Fdart/tags/v3.0.1/manifests"},{"name":"v3.0.0","sha":"24800a5a4afc2190ea682bd047d67b6c94a66478","kind":"commit","published_at":"2020-03-04T09:20:32.000Z","download_url":"https://codeload.github.com/personnummer/dart/tar.gz/v3.0.0","html_url":"https://github.com/personnummer/dart/releases/tag/v3.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/personnummer/dart@v3.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/personnummer%2Fdart/tags/v3.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/personnummer%2Fdart/tags/v3.0.0/manifests"},{"name":"v2.0.0","sha":"c3149b934e3083eb90fb8af450caab76ef78d9b9","kind":"commit","published_at":"2019-08-27T08:48:37.000Z","download_url":"https://codeload.github.com/personnummer/dart/tar.gz/v2.0.0","html_url":"https://github.com/personnummer/dart/releases/tag/v2.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/personnummer/dart@v2.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/personnummer%2Fdart/tags/v2.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/personnummer%2Fdart/tags/v2.0.0/manifests"},{"name":"v1.0.2","sha":"0f83bb5754cae172ed4230008bd63220e3fd8a8e","kind":"commit","published_at":"2019-06-01T09:49:29.000Z","download_url":"https://codeload.github.com/personnummer/dart/tar.gz/v1.0.2","html_url":"https://github.com/personnummer/dart/releases/tag/v1.0.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/personnummer/dart@v1.0.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/personnummer%2Fdart/tags/v1.0.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/personnummer%2Fdart/tags/v1.0.2/manifests"},{"name":"v1.0.1","sha":"c0f5bf5da074dab78b1fa80c4d880c0dd37b03eb","kind":"commit","published_at":"2019-06-01T09:48:03.000Z","download_url":"https://codeload.github.com/personnummer/dart/tar.gz/v1.0.1","html_url":"https://github.com/personnummer/dart/releases/tag/v1.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/personnummer/dart@v1.0.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/personnummer%2Fdart/tags/v1.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/personnummer%2Fdart/tags/v1.0.1/manifests"},{"name":"v1.0.0","sha":"cc703fb224881eea7f8ddd3ee6e386e49a0151d5","kind":"commit","published_at":"2019-06-01T09:31:34.000Z","download_url":"https://codeload.github.com/personnummer/dart/tar.gz/v1.0.0","html_url":"https://github.com/personnummer/dart/releases/tag/v1.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/personnummer/dart@v1.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/personnummer%2Fdart/tags/v1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/personnummer%2Fdart/tags/v1.0.0/manifests"}]},"repo_metadata_updated_at":"2026-09-27T19:18:32.958Z","dependent_packages_count":2,"downloads":null,"downloads_period":null,"dependent_repos_count":1,"rankings":{"downloads":null,"dependent_repos_count":23.15334590209079,"dependent_packages_count":7.052694002033209,"stargazers_count":23.91239886474351,"forks_count":16.128690642606006,"docker_downloads_count":null,"average":17.561782352868377},"purl":"pkg:pub/personnummer","advisories":[{"uuid":"GSA_kwCzR0hTQS05ZjJjLXh4Zm0tMzJtas4AAw5d","url":"https://github.com/advisories/GHSA-9f2c-xxfm-32mj","title":"Duplicate of GHSA-4xh4-v2pq-jvhm","description":"## Duplicate Advisory\n\nThis advisory has been withdrawn because it is a duplicate of [GHSA-4xh4-v2pq-jvhm](https://github.com/advisories/GHSA-4xh4-v2pq-jvhm). This link is maintained to preserve external references.\n\n## Original Description\n\nThe personnummer implementation before 3.0.3 for Dart mishandles numbers in which the last four digits match the ^000[0-9]$ regular expression.","origin":"UNSPECIFIED","severity":"LOW","published_at":"2023-01-11T06:30:20.000Z","withdrawn_at":"2023-01-11T18:58:40.000Z","classification":"GENERAL","cvss_score":0.0,"cvss_vector":null,"references":["https://github.com/personnummer/dart/security/advisories/GHSA-4xh4-v2pq-jvhm","https://nvd.nist.gov/vuln/detail/CVE-2023-22963","https://github.com/advisories/GHSA-4xh4-v2pq-jvhm","https://github.com/advisories/GHSA-9f2c-xxfm-32mj"],"source_kind":"github","identifiers":["GHSA-9f2c-xxfm-32mj"],"repository_url":"https://github.com/personnummer/dart","blast_radius":0.0,"created_at":"2023-01-11T19:03:16.826Z","updated_at":"2026-04-05T20:09:18.682Z","epss_percentage":null,"epss_percentile":null,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS05ZjJjLXh4Zm0tMzJtas4AAw5d","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS05ZjJjLXh4Zm0tMzJtas4AAw5d","packages":[{"ecosystem":"pub","package_name":"personnummer","versions":[{"first_patched_version":"3.0.3","vulnerable_version_range":"\u003c 3.0.3"}],"purl":null}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS05ZjJjLXh4Zm0tMzJtas4AAw5d/related_packages","related_advisories":[]},{"uuid":"GSA_kwCzR0hTQS00eGg0LXYycHEtanZobc4AAu6V","url":"https://github.com/advisories/GHSA-4xh4-v2pq-jvhm","title":"personnummer/dart vulnerable to Improper Input Validation","description":"This vulnerability was reported to the personnummer team in June 2020. The slow response was due to locked ownership of some of the affected packages, which caused delays to update packages prior to disclosure.\n\nThe vulnerability is determined to be low severity.\n\n### Impact\n\nThis vulnerability impacts users who rely on the for last digits of personnummer to be a _real_ personnummer.  \n\n### Patches\n\nThe issue have been patched in all repositories. The following versions should be updated to as soon as possible:\n\n[C#](https://github.com/advisories/GHSA-qv8q-v995-72gr) 3.0.2  \nD 3.0.1  \n[Dart](https://github.com/advisories/GHSA-4xh4-v2pq-jvhm) 3.0.3  \nElixir 3.0.0  \n[Go](https://github.com/advisories/GHSA-hv53-vf5m-8q94) 3.0.1  \n[Java](https://github.com/advisories/GHSA-q3vw-4jx3-rrr2) 3.3.0  \n[JavaScript](https://github.com/advisories/GHSA-vpgc-7h78-gx8f) 3.1.0  \nKotlin 1.1.0  \nLua 3.0.1  \n[PHP](https://github.com/advisories/GHSA-2p6g-gjp8-ggg9) 3.0.2  \nPerl 3.0.0  \n[Python](https://github.com/advisories/GHSA-rxq3-5249-8hgg) 3.0.2  \n[Ruby](https://github.com/advisories/GHSA-vp9c-fpxx-744v) 3.0.1  \n[Rust](https://github.com/advisories/GHSA-28r9-pq4c-wp3c) 3.0.0  \nScala 3.0.1  \nSwift 1.0.1  \n\nIf you are using any of the earlier packages, please update to latest.\n\n### Workarounds\n\nThe issue arrieses from the regular expression allowing the first three digits in the last four digits of the personnummer to be\n000, which is invalid. To mitigate this without upgrading, a check on the last four digits can be made to make sure it's not\n000x.\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n* Open an issue in [Personnummer Meta](https://github.com/personnummer/meta/issues)\n* Email us at [Personnummer Email](mailto:security@personnummer.dev)","origin":"UNSPECIFIED","severity":"LOW","published_at":"2022-09-19T22:47:29.000Z","withdrawn_at":null,"classification":"GENERAL","cvss_score":0.0,"cvss_vector":null,"references":["https://github.com/personnummer/dart/security/advisories/GHSA-4xh4-v2pq-jvhm","https://pub.dev/packages/personnummer","https://nvd.nist.gov/vuln/detail/CVE-2023-22963","https://github.com/advisories/GHSA-4xh4-v2pq-jvhm"],"source_kind":"github","identifiers":["GHSA-4xh4-v2pq-jvhm","CVE-2023-22963"],"repository_url":"https://github.com/personnummer/dart","blast_radius":0.0,"created_at":"2022-12-21T16:11:57.800Z","updated_at":"2026-09-28T10:19:09.215Z","epss_percentage":0.00489,"epss_percentile":0.39538,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS00eGg0LXYycHEtanZobc4AAu6V","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS00eGg0LXYycHEtanZobc4AAu6V","packages":[{"ecosystem":"pub","package_name":"personnummer","versions":[{"first_patched_version":"3.0.3","vulnerable_version_range":"\u003c 3.0.3"}],"purl":null,"statistics":{"dependent_packages_count":2,"dependent_repos_count":1,"downloads":null,"downloads_period":null},"affected_versions":["1.0.0","1.0.1","1.0.2","2.0.0","2.1.0","3.0.0","3.0.1","3.0.2"],"unaffected_versions":["3.0.3","3.0.4","3.0.5","3.1.0"]}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS00eGg0LXYycHEtanZobc4AAu6V/related_packages","related_advisories":[]}],"docker_usage_url":"https://docker.ecosyste.ms/usage/pub/personnummer","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/pub/personnummer","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/pub/personnummer/dependencies","status":null,"funding_links":["https://opencollective.com/sweidproject"],"critical":null,"issue_metadata":{"last_synced_at":"2026-09-26T18:18:12.664Z","issues_count":2,"pull_requests_count":19,"avg_time_to_close_issue":2934.0,"avg_time_to_close_pull_request":1935740.5882352942,"issues_closed_count":1,"pull_requests_closed_count":17,"pull_request_authors_count":6,"issue_authors_count":1,"avg_comments_per_issue":0.0,"avg_comments_per_pull_request":0.5263157894736842,"merged_pull_requests_count":15,"bot_issues_count":2,"bot_pull_requests_count":11,"past_year_issues_count":0,"past_year_pull_requests_count":2,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":936793.0,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":2,"past_year_pull_request_authors_count":1,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":0.0,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":2,"past_year_merged_pull_requests_count":2,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/personnummer%2Fdart/issues","maintainers":[{"login":"frozzare","count":3,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/frozzare"},{"login":"rasmusbe","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/rasmusbe"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/pub.dev/packages/personnummer/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/pub.dev/packages/personnummer/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/pub.dev/packages/personnummer/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/pub.dev/packages/personnummer/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/pub.dev/packages/personnummer/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/pub.dev/packages/personnummer/codemeta","maintainers":[]}