{"id":1098198,"name":"@octokit/request-error","ecosystem":"npm","description":"Error class for Octokit request errors","homepage":"https://github.com/octokit/request-error.js#readme","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/octokit/request-error.js","keywords_array":["octokit","github","api","error"],"namespace":"octokit","versions_count":49,"first_release_published_at":"2019-05-16T18:57:35.787Z","latest_release_published_at":"2025-11-13T18:32:02.043Z","latest_release_number":"7.1.0","last_synced_at":"2026-06-27T06:01:20.880Z","created_at":"2022-04-08T10:43:04.117Z","updated_at":"2026-06-27T06:01:20.880Z","registry_url":"https://www.npmjs.com/package/@octokit/request-error","install_command":"npm install @octokit/request-error","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"next":"2.1.0","beta":"6.0.0-beta.5","release-5.x":"5.1.1","latest":"7.1.0"}},"repo_metadata":{"id":39228817,"uuid":"187081510","full_name":"octokit/request-error.js","owner":"octokit","description":"Error class for Octokit request errors","archived":false,"fork":false,"pushed_at":"2024-09-25T20:32:46.000Z","size":2582,"stargazers_count":13,"open_issues_count":0,"forks_count":11,"subscribers_count":9,"default_branch":"main","last_synced_at":"2024-09-25T21:10:34.311Z","etag":null,"topics":["hacktoberfest","octokit-js","plugin"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/octokit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-05-16T18:31:26.000Z","updated_at":"2024-09-25T20:32:49.000Z","dependencies_parsed_at":"2023-10-23T16:39:55.067Z","dependency_job_id":"d34cdeaf-e44f-4c26-a868-b07ded230c49","html_url":"https://github.com/octokit/request-error.js","commit_stats":{"total_commits":384,"total_committers":13,"mean_commits":29.53846153846154,"dds":0.65625,"last_synced_commit":"3c6aeedfb4c97dffa934470cd35abaa4113a6aaf"},"previous_names":[],"tags_count":40,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/octokit","download_url":"https://codeload.github.com/octokit/request-error.js/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219873877,"owners_count":16554521,"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","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":"octokit","name":"Octokit","uuid":"3430433","kind":"organization","description":"Official clients for the GitHub API","email":null,"website":"http://octokit.github.io","location":null,"twitter":"octokit","company":null,"icon_url":"https://avatars.githubusercontent.com/u/3430433?v=4","repositories_count":62,"last_synced_at":"2023-04-09T03:40:20.767Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/octokit","funding_links":[],"total_stars":20881,"followers":null,"following":null,"created_at":"2022-11-02T16:17:14.169Z","updated_at":"2023-04-09T03:40:20.779Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/octokit","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/octokit/repositories"},"tags":[{"name":"v6.1.4","sha":"ba04ffac8c1eea3e8cd7aac9b0ee2427df8c9a4a","kind":"commit","published_at":"2024-07-11T16:58:48.000Z","download_url":"https://codeload.github.com/octokit/request-error.js/tar.gz/v6.1.4","html_url":"https://github.com/octokit/request-error.js/releases/tag/v6.1.4","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v6.1.4","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v6.1.4/manifests"},{"name":"v6.1.3","sha":"e24d9231d055cab591c1271cfd3f41d4388bae1b","kind":"commit","published_at":"2024-07-11T11:29:32.000Z","download_url":"https://codeload.github.com/octokit/request-error.js/tar.gz/v6.1.3","html_url":"https://github.com/octokit/request-error.js/releases/tag/v6.1.3","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v6.1.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v6.1.3/manifests"},{"name":"v6.1.2","sha":"6eb863401613f29952d36d888159ef0969107a1d","kind":"commit","published_at":"2024-07-10T22:47:05.000Z","download_url":"https://codeload.github.com/octokit/request-error.js/tar.gz/v6.1.2","html_url":"https://github.com/octokit/request-error.js/releases/tag/v6.1.2","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v6.1.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v6.1.2/manifests"},{"name":"v6.1.1","sha":"a1ab11e3d9bcc065bb0f5cb1c307d295aef85505","kind":"commit","published_at":"2024-04-16T18:01:00.000Z","download_url":"https://codeload.github.com/octokit/request-error.js/tar.gz/v6.1.1","html_url":"https://github.com/octokit/request-error.js/releases/tag/v6.1.1","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v6.1.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v6.1.1/manifests"},{"name":"v5.1.0","sha":"3af20bd58fea6cc349bc191c725e78e9cc021da6","kind":"commit","published_at":"2024-04-05T19:59:57.000Z","download_url":"https://codeload.github.com/octokit/request-error.js/tar.gz/v5.1.0","html_url":"https://github.com/octokit/request-error.js/releases/tag/v5.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v5.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v5.1.0/manifests"},{"name":"v6.1.0","sha":"2836ddb477c1b9fc0310679017776d0ff8a009c6","kind":"commit","published_at":"2024-04-03T18:18:13.000Z","download_url":"https://codeload.github.com/octokit/request-error.js/tar.gz/v6.1.0","html_url":"https://github.com/octokit/request-error.js/releases/tag/v6.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v6.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v6.1.0/manifests"},{"name":"v6.0.3","sha":"352b655b176d76c9c03649babaafd063227c3785","kind":"commit","published_at":"2024-04-03T17:42:17.000Z","download_url":"https://codeload.github.com/octokit/request-error.js/tar.gz/v6.0.3","html_url":"https://github.com/octokit/request-error.js/releases/tag/v6.0.3","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v6.0.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v6.0.3/manifests"},{"name":"v6.0.2","sha":"4e55235ccbecfc71d604e89eb814716e73fa6a35","kind":"commit","published_at":"2024-02-27T22:00:20.000Z","download_url":"https://codeload.github.com/octokit/request-error.js/tar.gz/v6.0.2","html_url":"https://github.com/octokit/request-error.js/releases/tag/v6.0.2","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v6.0.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v6.0.2/manifests"},{"name":"v6.0.1","sha":"479d0b4c4916720c7822a24eb108f6322252b5a7","kind":"commit","published_at":"2024-02-23T20:11:39.000Z","download_url":"https://codeload.github.com/octokit/request-error.js/tar.gz/v6.0.1","html_url":"https://github.com/octokit/request-error.js/releases/tag/v6.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v6.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v6.0.1/manifests"},{"name":"v6.0.0","sha":"d73dee66b6a7606b73c3bf4c4051269b68b982f4","kind":"commit","published_at":"2024-02-23T00:58:41.000Z","download_url":"https://codeload.github.com/octokit/request-error.js/tar.gz/v6.0.0","html_url":"https://github.com/octokit/request-error.js/releases/tag/v6.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v6.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v6.0.0/manifests"},{"name":"v6.0.0-beta.5","sha":"790e189042f580e89db0c29675d8571b3da4b7d8","kind":"commit","published_at":"2024-02-17T22:53:35.000Z","download_url":"https://codeload.github.com/octokit/request-error.js/tar.gz/v6.0.0-beta.5","html_url":"https://github.com/octokit/request-error.js/releases/tag/v6.0.0-beta.5","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v6.0.0-beta.5","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v6.0.0-beta.5/manifests"},{"name":"v6.0.0-beta.4","sha":"b44e6d13cea6b783f97f85f4da203b81fbd5a45c","kind":"commit","published_at":"2024-02-17T22:46:29.000Z","download_url":"https://codeload.github.com/octokit/request-error.js/tar.gz/v6.0.0-beta.4","html_url":"https://github.com/octokit/request-error.js/releases/tag/v6.0.0-beta.4","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v6.0.0-beta.4","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v6.0.0-beta.4/manifests"},{"name":"v6.0.0-beta.3","sha":"518b3701983eb7c259d0f744fc2ff4588d52b463","kind":"commit","published_at":"2024-02-17T22:38:00.000Z","download_url":"https://codeload.github.com/octokit/request-error.js/tar.gz/v6.0.0-beta.3","html_url":"https://github.com/octokit/request-error.js/releases/tag/v6.0.0-beta.3","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v6.0.0-beta.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v6.0.0-beta.3/manifests"},{"name":"v6.0.0-beta.2","sha":"92f595dc665fc14bad52ce208d8d78731ef3b2dc","kind":"commit","published_at":"2024-02-17T22:28:03.000Z","download_url":"https://codeload.github.com/octokit/request-error.js/tar.gz/v6.0.0-beta.2","html_url":"https://github.com/octokit/request-error.js/releases/tag/v6.0.0-beta.2","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v6.0.0-beta.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v6.0.0-beta.2/manifests"},{"name":"v6.0.0-beta.1","sha":"75a350de10571eb804f0f6c2c6d7157dafcdb95c","kind":"commit","published_at":"2024-02-17T22:26:10.000Z","download_url":"https://codeload.github.com/octokit/request-error.js/tar.gz/v6.0.0-beta.1","html_url":"https://github.com/octokit/request-error.js/releases/tag/v6.0.0-beta.1","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v6.0.0-beta.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v6.0.0-beta.1/manifests"},{"name":"v5.0.1","sha":"590fc396a48bb72b4e63f3687f1bdd27fc785a24","kind":"commit","published_at":"2023-09-23T12:32:38.000Z","download_url":"https://codeload.github.com/octokit/request-error.js/tar.gz/v5.0.1","html_url":"https://github.com/octokit/request-error.js/releases/tag/v5.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v5.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v5.0.1/manifests"},{"name":"v5.0.0","sha":"372097e9b16f70d4ad75089003dc9154e304faa7","kind":"commit","published_at":"2023-07-07T19:19:32.000Z","download_url":"https://codeload.github.com/octokit/request-error.js/tar.gz/v5.0.0","html_url":"https://github.com/octokit/request-error.js/releases/tag/v5.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v5.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v5.0.0/manifests"},{"name":"v4.0.2","sha":"28b1958bb96bccd50d44b69a6769e08069dd3922","kind":"commit","published_at":"2023-06-16T17:01:40.000Z","download_url":"https://codeload.github.com/octokit/request-error.js/tar.gz/v4.0.2","html_url":"https://github.com/octokit/request-error.js/releases/tag/v4.0.2","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v4.0.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v4.0.2/manifests"},{"name":"v4.0.1","sha":"5ff96da853f8db5b54fdd203752bc3fc676a6d0a","kind":"commit","published_at":"2023-06-02T19:01:55.000Z","download_url":"https://codeload.github.com/octokit/request-error.js/tar.gz/v4.0.1","html_url":"https://github.com/octokit/request-error.js/releases/tag/v4.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v4.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v4.0.1/manifests"},{"name":"v4.0.0","sha":"dc68be263e041de0fb44bf08ef79e72417167cd6","kind":"commit","published_at":"2023-05-31T18:40:04.000Z","download_url":"https://codeload.github.com/octokit/request-error.js/tar.gz/v4.0.0","html_url":"https://github.com/octokit/request-error.js/releases/tag/v4.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v4.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v4.0.0/manifests"},{"name":"v3.0.3","sha":"82c78fc8de229267289882de35184ddd1b4fbe42","kind":"commit","published_at":"2023-01-20T22:39:16.000Z","download_url":"https://codeload.github.com/octokit/request-error.js/tar.gz/v3.0.3","html_url":"https://github.com/octokit/request-error.js/releases/tag/v3.0.3","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v3.0.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v3.0.3/manifests"},{"name":"v3.0.2","sha":"4cabbecf9f7641c6218b613ee57a120ddb37f434","kind":"commit","published_at":"2022-10-13T05:20:24.000Z","download_url":"https://codeload.github.com/octokit/request-error.js/tar.gz/v3.0.2","html_url":"https://github.com/octokit/request-error.js/releases/tag/v3.0.2","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v3.0.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v3.0.2/manifests"},{"name":"v3.0.1","sha":"5abe81a0e3ed1047424d8530ff6a051bed456ff5","kind":"commit","published_at":"2022-08-15T12:48:11.000Z","download_url":"https://codeload.github.com/octokit/request-error.js/tar.gz/v3.0.1","html_url":"https://github.com/octokit/request-error.js/releases/tag/v3.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v3.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v3.0.1/manifests"},{"name":"v3.0.0","sha":"0a86afe38fdffc884b29c3e466d1f29d5cebee45","kind":"commit","published_at":"2022-07-08T17:35:28.000Z","download_url":"https://codeload.github.com/octokit/request-error.js/tar.gz/v3.0.0","html_url":"https://github.com/octokit/request-error.js/releases/tag/v3.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v3.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v3.0.0/manifests"},{"name":"v2.1.0","sha":"487082bc139820e20b37f41b7c644b3701329d56","kind":"commit","published_at":"2021-06-11T23:17:25.000Z","download_url":"https://codeload.github.com/octokit/request-error.js/tar.gz/v2.1.0","html_url":"https://github.com/octokit/request-error.js/releases/tag/v2.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v2.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v2.1.0/manifests"},{"name":"v2.0.6","sha":"4d1515838acd6ed9af7f7e6dfb89f9ebbdc21c2c","kind":"commit","published_at":"2021-06-11T18:09:55.000Z","download_url":"https://codeload.github.com/octokit/request-error.js/tar.gz/v2.0.6","html_url":"https://github.com/octokit/request-error.js/releases/tag/v2.0.6","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v2.0.6","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v2.0.6/manifests"},{"name":"v2.0.5","sha":"da6adfcb25da640447ac5ee2c8447834d4f85b40","kind":"commit","published_at":"2021-01-25T17:44:36.000Z","download_url":"https://codeload.github.com/octokit/request-error.js/tar.gz/v2.0.5","html_url":"https://github.com/octokit/request-error.js/releases/tag/v2.0.5","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v2.0.5","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v2.0.5/manifests"},{"name":"v2.0.4","sha":"656d9ba757f7910c2ee9957b194a52b502eaf3e1","kind":"commit","published_at":"2020-12-01T06:15:32.000Z","download_url":"https://codeload.github.com/octokit/request-error.js/tar.gz/v2.0.4","html_url":"https://github.com/octokit/request-error.js/releases/tag/v2.0.4","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v2.0.4","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v2.0.4/manifests"},{"name":"v2.0.3","sha":"235b6e6467d116feb3f8f2e78d05e13336a79888","kind":"commit","published_at":"2020-11-01T18:00:57.000Z","download_url":"https://codeload.github.com/octokit/request-error.js/tar.gz/v2.0.3","html_url":"https://github.com/octokit/request-error.js/releases/tag/v2.0.3","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v2.0.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v2.0.3/manifests"},{"name":"v2.0.2","sha":"f8ba55fae464b89ba9df1e3fb36e3c34fae3ab77","kind":"commit","published_at":"2020-06-15T16:10:44.000Z","download_url":"https://codeload.github.com/octokit/request-error.js/tar.gz/v2.0.2","html_url":"https://github.com/octokit/request-error.js/releases/tag/v2.0.2","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v2.0.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v2.0.2/manifests"},{"name":"v2.0.1","sha":"0ae9ad158f664cc5416296abaa6cef838d2f6a91","kind":"commit","published_at":"2020-05-21T07:09:52.000Z","download_url":"https://codeload.github.com/octokit/request-error.js/tar.gz/v2.0.1","html_url":"https://github.com/octokit/request-error.js/releases/tag/v2.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v2.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v2.0.1/manifests"},{"name":"v2.0.0","sha":"5baae66c4a7f10198aa5240eda1ebc0eca5765c6","kind":"commit","published_at":"2020-03-24T16:42:24.000Z","download_url":"https://codeload.github.com/octokit/request-error.js/tar.gz/v2.0.0","html_url":"https://github.com/octokit/request-error.js/releases/tag/v2.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v2.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v2.0.0/manifests"},{"name":"v1.2.1","sha":"346b69abc323ff7b3c590647f9c97768af921d4b","kind":"commit","published_at":"2020-01-30T19:12:12.000Z","download_url":"https://codeload.github.com/octokit/request-error.js/tar.gz/v1.2.1","html_url":"https://github.com/octokit/request-error.js/releases/tag/v1.2.1","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v1.2.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v1.2.1/manifests"},{"name":"v1.2.0","sha":"a8d56258af8499a8903cdf9ffd60073dbf4ac1e6","kind":"commit","published_at":"2019-11-04T22:48:07.000Z","download_url":"https://codeload.github.com/octokit/request-error.js/tar.gz/v1.2.0","html_url":"https://github.com/octokit/request-error.js/releases/tag/v1.2.0","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v1.2.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v1.2.0/manifests"},{"name":"v1.1.0","sha":"56e5aa3f75f83a47640fce732ac1d5ca8e131d36","kind":"commit","published_at":"2019-11-03T21:04:02.000Z","download_url":"https://codeload.github.com/octokit/request-error.js/tar.gz/v1.1.0","html_url":"https://github.com/octokit/request-error.js/releases/tag/v1.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v1.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v1.1.0/manifests"},{"name":"v1.0.4","sha":"ebeb785911fa29ef1917583fc11de54496f498e1","kind":"commit","published_at":"2019-06-14T04:11:19.000Z","download_url":"https://codeload.github.com/octokit/request-error.js/tar.gz/v1.0.4","html_url":"https://github.com/octokit/request-error.js/releases/tag/v1.0.4","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v1.0.4","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v1.0.4/manifests"},{"name":"v1.0.3","sha":"adbdb485f951212db992c6f685a300c5ee976da8","kind":"commit","published_at":"2019-06-14T00:10:29.000Z","download_url":"https://codeload.github.com/octokit/request-error.js/tar.gz/v1.0.3","html_url":"https://github.com/octokit/request-error.js/releases/tag/v1.0.3","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v1.0.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v1.0.3/manifests"},{"name":"v1.0.2","sha":"f764c3b6285e1d59862a92c7ea2b47b6555e77b1","kind":"commit","published_at":"2019-05-16T21:10:44.000Z","download_url":"https://codeload.github.com/octokit/request-error.js/tar.gz/v1.0.2","html_url":"https://github.com/octokit/request-error.js/releases/tag/v1.0.2","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v1.0.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v1.0.2/manifests"},{"name":"v1.0.1","sha":"750497e134de33250feb4c53707a1dae9a26a2e0","kind":"commit","published_at":"2019-05-16T20:54:51.000Z","download_url":"https://codeload.github.com/octokit/request-error.js/tar.gz/v1.0.1","html_url":"https://github.com/octokit/request-error.js/releases/tag/v1.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v1.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v1.0.1/manifests"},{"name":"v1.0.0","sha":"38bbb1a82f9bd56247cff20625a5a4e2582a8bf7","kind":"commit","published_at":"2019-05-16T18:53:03.000Z","download_url":"https://codeload.github.com/octokit/request-error.js/tar.gz/v1.0.0","html_url":"https://github.com/octokit/request-error.js/releases/tag/v1.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/tags/v1.0.0/manifests"}]},"repo_metadata_updated_at":"2024-09-30T06:42:57.421Z","dependent_packages_count":84,"downloads":130131569,"downloads_period":"last-month","dependent_repos_count":193274,"rankings":{"downloads":0.04131617055775188,"dependent_repos_count":0.07576000260656027,"dependent_packages_count":0.4046739568214531,"stargazers_count":10.695713385700005,"forks_count":6.934983570730189,"docker_downloads_count":0.19762764684284495,"average":3.0583457888764674},"purl":"pkg:npm/%40octokit/request-error","advisories":[{"uuid":"GSA_kwCzR0hTQS14eDR2LXByZmgtNmNnY84ABEfr","url":"https://github.com/advisories/GHSA-xx4v-prfh-6cgc","title":"@octokit/request-error has a Regular Expression in index that Leads to ReDoS Vulnerability Due to Catastrophic Backtracking","description":"### Summary\nA Regular Expression Denial of Service (ReDoS) vulnerability exists in the processing of HTTP request headers. By sending an authorization header containing an excessively long sequence of spaces followed by a newline and \"@\", an attacker can exploit inefficient regular expression processing, leading to excessive resource consumption. This can significantly degrade server performance or cause a denial-of-service (DoS) condition, impacting availability.\n### Details\nThe issue occurs at [line 52](https://github.com/octokit/request-error.js/blob/main/src/index.ts) of iterator.ts in the @octokit/request-error repository.\nThe vulnerability is caused by the use of an inefficient regular expression in the handling of the `authorization` header within the request processing logic:\n```js\nauthorization: options.request.headers.authorization.replace(\n  / .*$/, \n  \" [REDACTED]\"\n)\n```\nThe regular expression `/ .*$/` matches a space followed by any number of characters until the end of the line. This pattern is vulnerable to Regular Expression Denial of Service (ReDoS) when processing specially crafted input. Specifically, an attacker can send an `authorization` header containing a long sequence of spaces followed by a newline and \"@\", such as:\n```js\nheaders: {\n  authorization: \"\" + \" \".repeat(100000) + \"\\n@\",\n}\n```\nDue to the way JavaScript's regular expression engine backtracks while attempting to match the space followed by arbitrary characters, this input can cause excessive CPU usage, significantly slowing down or even freezing the server. This leads to a denial-of-service condition, impacting availability.\n### PoC\n[The gist of PoC.js](https://gist.github.com/ShiyuBanzhou/e1203ad22701fd043b8501eb37676a0d)\n1. run npm i @octokit/request-error\n2. run 'node poc.js'\nresult:\n3. then the program will stuck forever with high CPU usage\n```js\nimport { RequestError } from \"@octokit/request-error\";\n\nconst error = new RequestError(\"Oops\", 500, {\n  request: {\n    method: \"POST\",\n    url: \"https://api.github.com/foo\",\n    body: {\n      bar: \"baz\",\n    },\n    headers: {\n      authorization: \"\"+\" \".repeat(100000)+\"\\n@\",\n    },\n  },\n  response: {\n    status: 500,\n    url: \"https://api.github.com/foo\",\n    headers: {\n      \"x-github-request-id\": \"1:2:3:4\",\n    },\n    data: {\n      foo: \"bar\",\n    },\n  },\n});\n```\n\n### Impact\n#### Vulnerability Type \u0026 Impact:\nThis is a `Regular Expression Denial of Service (ReDoS) vulnerability`, which occurs due to an inefficient regular expression (`/ .*$/`) used to sanitize the `authorization` header. An attacker can craft a malicious input that triggers excessive backtracking in the regex engine, leading to high CPU consumption and potential denial-of-service (DoS).\n#### Who is Impacted?\n* Projects or services using this code to process HTTP headers are vulnerable.\n* Applications that rely on user-supplied `authorization` headers are at risk, especially those processing a large volume of authentication requests.\n* Multi-tenant or API-driven platforms could experience degraded performance or service outages if exploited at scale.","origin":"UNSPECIFIED","severity":"MODERATE","published_at":"2025-02-14T17:58:54.000Z","withdrawn_at":null,"classification":"GENERAL","cvss_score":5.3,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","references":["https://github.com/octokit/request-error.js/security/advisories/GHSA-xx4v-prfh-6cgc","https://github.com/octokit/request-error.js/commit/d558320874a4bc8d356babf1079e6f0056a59b9e","https://nvd.nist.gov/vuln/detail/CVE-2025-25289","https://github.com/octokit/request-error.js/blob/main/src/index.ts","https://github.com/advisories/GHSA-xx4v-prfh-6cgc"],"source_kind":"github","identifiers":["GHSA-xx4v-prfh-6cgc","CVE-2025-25289"],"repository_url":"https://github.com/octokit/request-error.js","blast_radius":0.0,"created_at":"2025-02-14T18:07:41.521Z","updated_at":"2026-06-22T11:04:57.154Z","epss_percentage":0.0058,"epss_percentile":0.43083,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS14eDR2LXByZmgtNmNnY84ABEfr","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS14eDR2LXByZmgtNmNnY84ABEfr","packages":[{"ecosystem":"npm","package_name":"@octokit/request-error","versions":[{"first_patched_version":"6.1.7","vulnerable_version_range":"\u003e= 6.0.0, \u003c 6.1.7"},{"first_patched_version":"5.1.1","vulnerable_version_range":"\u003e= 1.0.0, \u003c 5.1.1"}],"purl":"pkg:npm/%40octokit%2Frequest-error","statistics":{"dependent_packages_count":84,"dependent_repos_count":193274,"downloads":133222710,"downloads_period":"last-month"},"affected_versions":["1.0.0","1.0.1","1.0.2","1.0.3","1.0.4","1.1.0","1.2.0","1.2.1","2.0.0","2.0.1","2.0.2","2.0.3","2.0.4","2.0.5","2.0.6","2.1.0","3.0.0","3.0.1","3.0.2","3.0.3","4.0.0","4.0.1","4.0.2","5.0.0","5.0.1","5.1.0","6.0.0","6.0.1","6.0.2","6.0.3","6.1.0","6.1.1","6.1.2","6.1.3","6.1.4","6.1.5","6.1.6"],"unaffected_versions":["5.1.1","6.1.7","6.1.8","7.0.0","7.0.1","7.0.2","7.1.0"]}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS14eDR2LXByZmgtNmNnY84ABEfr/related_packages","related_advisories":[]}],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/@octokit/request-error","docker_dependents_count":1453,"docker_downloads_count":137151140,"usage_url":"https://repos.ecosyste.ms/usage/npm/@octokit/request-error","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/@octokit/request-error/dependencies","status":null,"funding_links":[],"critical":true,"issue_metadata":{"last_synced_at":"2024-09-25T02:34:14.512Z","issues_count":3,"pull_requests_count":207,"avg_time_to_close_issue":37007.333333333336,"avg_time_to_close_pull_request":65615.31219512195,"issues_closed_count":3,"pull_requests_closed_count":205,"pull_request_authors_count":12,"issue_authors_count":3,"avg_comments_per_issue":3.6666666666666665,"avg_comments_per_pull_request":1.183574879227053,"merged_pull_requests_count":204,"bot_issues_count":0,"bot_pull_requests_count":173,"past_year_issues_count":1,"past_year_pull_requests_count":91,"past_year_avg_time_to_close_issue":14136.0,"past_year_avg_time_to_close_pull_request":58913.82417582418,"past_year_issues_closed_count":1,"past_year_pull_requests_closed_count":91,"past_year_pull_request_authors_count":7,"past_year_issue_authors_count":1,"past_year_avg_comments_per_issue":5.0,"past_year_avg_comments_per_pull_request":1.5824175824175823,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":74,"past_year_merged_pull_requests_count":91,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/octokit%2Frequest-error.js/issues","maintainers":[{"login":"octokitbot","count":9,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/octokitbot"},{"login":"wolfy1339","count":9,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/wolfy1339"},{"login":"kfcampbell","count":2,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/kfcampbell"},{"login":"oscard0m","count":2,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/oscard0m"}],"active_maintainers":[{"login":"wolfy1339","count":6,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/wolfy1339"},{"login":"octokitbot","count":4,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/octokitbot"}]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@octokit%2Frequest-error/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@octokit%2Frequest-error/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@octokit%2Frequest-error/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@octokit%2Frequest-error/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@octokit%2Frequest-error/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@octokit%2Frequest-error/codemeta","maintainers":[{"uuid":"octokitbot","login":"octokitbot","name":null,"email":"security+octokitbot@github.com","url":null,"packages_count":95,"html_url":"https://www.npmjs.com/~octokitbot","role":null,"created_at":"2022-11-10T01:28:06.002Z","updated_at":"2022-11-10T01:28:06.002Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/octokitbot/packages"}]}