{"id":17830355,"url":"https://github.com/lemaiwo/ui5-middleware-route-proxy","last_synced_at":"2026-03-04T05:32:59.534Z","repository":{"id":43936072,"uuid":"241310167","full_name":"lemaiwo/ui5-middleware-route-proxy","owner":"lemaiwo","description":"UI5Tooling route proxy","archived":false,"fork":false,"pushed_at":"2023-10-02T19:45:17.000Z","size":39,"stargazers_count":11,"open_issues_count":7,"forks_count":4,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-10-06T13:56:07.232Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/lemaiwo.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":"2020-02-18T08:32:52.000Z","updated_at":"2022-01-13T14:54:38.000Z","dependencies_parsed_at":"2024-06-19T05:14:21.028Z","dependency_job_id":"38b39cb6-d061-4e52-9ad8-93014ca8ccf5","html_url":"https://github.com/lemaiwo/ui5-middleware-route-proxy","commit_stats":{"total_commits":31,"total_committers":11,"mean_commits":"2.8181818181818183","dds":0.7096774193548387,"last_synced_commit":"dd55df987f6e243e7b237be2645621301d44399d"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/lemaiwo/ui5-middleware-route-proxy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lemaiwo%2Fui5-middleware-route-proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lemaiwo%2Fui5-middleware-route-proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lemaiwo%2Fui5-middleware-route-proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lemaiwo%2Fui5-middleware-route-proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lemaiwo","download_url":"https://codeload.github.com/lemaiwo/ui5-middleware-route-proxy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lemaiwo%2Fui5-middleware-route-proxy/sbom","scorecard":{"id":583820,"data":{"date":"2025-08-11","repo":{"name":"github.com/lemaiwo/ui5-middleware-route-proxy","commit":"dd55df987f6e243e7b237be2645621301d44399d"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"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":"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":3,"reason":"Found 7/18 approved changesets -- score normalized to 3","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":3,"reason":"dependency not pinned by hash detected -- score normalized to 3","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npm-publish.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/lemaiwo/ui5-middleware-route-proxy/npm-publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npm-publish.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/lemaiwo/ui5-middleware-route-proxy/npm-publish.yml/master?enable=pin","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   1 out of   1 npmCommand 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":"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":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/npm-publish.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":"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: MIT 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 '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":"Vulnerabilities","score":5,"reason":"5 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-74fj-2j2h-c42q","Warn: Project is vulnerable to: GHSA-pw2r-vq6v-hr8c","Warn: Project is vulnerable to: GHSA-jchw-25xp-jwwc","Warn: Project is vulnerable to: GHSA-cxjh-pqwp-8mfp"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 19 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"}}]},"last_synced_at":"2025-08-20T19:53:54.345Z","repository_id":43936072,"created_at":"2025-08-20T19:53:54.345Z","updated_at":"2025-08-20T19:53:54.345Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30072546,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T05:31:57.858Z","status":"ssl_error","status_checked_at":"2026-03-04T05:31:38.462Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":[],"created_at":"2024-10-27T19:30:13.853Z","updated_at":"2026-03-04T05:32:59.516Z","avatar_url":"https://github.com/lemaiwo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# UI5 proxy middleware using routes\n\nMiddleware for [ui5-server](https://github.com/SAP/ui5-server), enabling proxy support.\n\n## Install\n\n```bash\nnpm install ui5-middleware-route-proxy --save-dev\n```\n\n## Configuration options (in `$yourapp/ui5.yaml`)\n\n- debug: `boolean`\n  enable logging\n- root directory of the request uri: `object`\n  used to match and forward requests to your server. Needs to include the leading slash  character (`/`).\n  - target: `string`\n    hostname of your backend server\n  - replacePath: `string` optional. If the request path needs to be modified by taking out the root directory uri\n  - auth: `object`\n    authorization object with username and password ( pass `false` if authorization is not required )\n    - user: `string`\n    - pass: `string` \n    - client: `string` optional. If the client is not the default client on the SAP system\n    - header: `string` optional. Is used as value for the `Authorization` header if available. `user` and `pass` values are not used in this case.\n  - changeOrigin: `boolean` optional. If provided, the value will be added to the [options of the http-proxy](https://www.npmjs.com/package/http-proxy#options).\n  \nEach `boolean` or `string` field in a root path object can either represent the actual value or the name of a parameter in a .env file. \n\nExample:\n```yml\n      debug: true\n      /sap: \n        target: http(s)://host:port\n        replacePath: true\n        auth:\n          user: Username\n          pass: Password!\n          client: '100' \n```\n\nExample with target/user/pass in .env file:\n```yaml\n      debug: true\n      /sap: \n        target: PROXY_TARGET\n        auth:\n          user: PROXY_USERNAME\n          pass: PROXY_PASSWORD\n          client: PROXY_CLIENT\n```\n\nExample with target and dedicated `Authorization` header in .env file:\n```yaml\n      debug: true\n      /sap: \n        target: PROXY_TARGET\n        auth:\n          header: PROXY_AUTHORIZATION\n        changeOrigin: true\n```\n\n## Usage\n\n1. Define the dependency in `$yourapp/package.json`:\n\n```json\n\"devDependencies\": {\n    // ...\n    \"ui5-middleware-route-proxy\": \"*\"\n    // ...\n},\n\"ui5\": {\n  \"dependencies\": [\n    // ...\n    \"ui5-middleware-route-proxy\",\n    // ...\n  ]\n}\n```\n\n\u003e As the devDependencies are not recognized by the UI5 tooling, they need to be listed in the `ui5 \u003e dependencies` array. In addition, once using the `ui5 \u003e dependencies` array you need to list all UI5 tooling relevant dependencies.\n\n2. configure it in `$yourapp/ui5.yaml`:\n\n```yaml\nserver:\n  customMiddleware:\n  - name: ui5-middleware-route-proxy\n    afterMiddleware: compression\n    configuration:\n      debug: true\n      /routeRootPath: \n        target: PROXY_TARGET\n        auth:\n          user: PROXY_USERNAME\n          pass: PROXY_PASSWORD\n```\n\n3. Add a `.env` file with your target, username and password for the proxy:\n\n```yaml\nPROXY_TARGET=\u003chttp(s)://host:port\u003e\nPROXY_USERNAME=\u003cusername\u003e\nPROXY_PASSWORD=\u003cpassword\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flemaiwo%2Fui5-middleware-route-proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flemaiwo%2Fui5-middleware-route-proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flemaiwo%2Fui5-middleware-route-proxy/lists"}