{"id":44065203,"url":"https://github.com/febrezo/quickmock","last_synced_at":"2026-02-08T03:18:22.230Z","repository":{"id":57459435,"uuid":"190380089","full_name":"febrezo/quickmock","owner":"febrezo","description":"A tool for deploying quick HTTP server mocks","archived":false,"fork":false,"pushed_at":"2019-06-05T13:22:22.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-09-25T04:53:30.192Z","etag":null,"topics":["development-workflow","http","https","mock","template"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/febrezo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-06-05T11:11:12.000Z","updated_at":"2019-06-16T16:17:09.000Z","dependencies_parsed_at":"2022-09-10T09:12:26.543Z","dependency_job_id":null,"html_url":"https://github.com/febrezo/quickmock","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/febrezo/quickmock","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/febrezo%2Fquickmock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/febrezo%2Fquickmock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/febrezo%2Fquickmock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/febrezo%2Fquickmock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/febrezo","download_url":"https://codeload.github.com/febrezo/quickmock/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/febrezo%2Fquickmock/sbom","scorecard":{"id":395167,"data":{"date":"2025-08-11","repo":{"name":"github.com/febrezo/quickmock","commit":"f30cf7d7b19bb04566c274440a9e046004ba569b"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.4,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/2 approved changesets -- score normalized to 0","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":-1,"reason":"no workflows found","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":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"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":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"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":"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":"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":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: containerImage not pinned by hash: Dockerfile:1: pin your Docker image by updating python:3.7-alpine to python:3.7-alpine@sha256:f3d31c8677d03f0b3c724446077f229a6ce9d3ac430f5c08cd7dff00292048c3","Warn: pipCommand not pinned by hash: Dockerfile:7","Info:   0 out of   1 containerImage dependencies pinned","Info:   0 out of   1 pipCommand 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":"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":2,"reason":"8 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2018-66 / GHSA-562c-5r94-xh97","Warn: Project is vulnerable to: PYSEC-2019-179 / GHSA-5wv5-4vpf-pj6m","Warn: Project is vulnerable to: PYSEC-2023-62 / GHSA-m2qf-hxjv-5gpq","Warn: Project is vulnerable to: PYSEC-2014-14 / GHSA-652x-xj99-gmcc","Warn: Project is vulnerable to: GHSA-9hjg-9r4m-mvj7","Warn: Project is vulnerable to: GHSA-9wx4-h78v-vm56","Warn: Project is vulnerable to: PYSEC-2014-13 / GHSA-cfj3-7x9c-4p3h","Warn: Project is vulnerable to: PYSEC-2018-28 / GHSA-x84v-xcm2-53pg"],"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-18T18:48:39.351Z","repository_id":57459435,"created_at":"2025-08-18T18:48:39.351Z","updated_at":"2025-08-18T18:48:39.351Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29218850,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-08T02:25:35.815Z","status":"ssl_error","status_checked_at":"2026-02-08T02:24:27.970Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["development-workflow","http","https","mock","template"],"created_at":"2026-02-08T03:18:21.603Z","updated_at":"2026-02-08T03:18:22.222Z","avatar_url":"https://github.com/febrezo.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Sample Mocked Services\n======================\n\nA simple service mocking utility.\nServices can be mocked using `.json` files where the paths and the responses can be defined.\n\n\nInstallation\n------------\n\nTo install the quickmock, just clone the repository and `cd` into it to install it with `pip`.\n\n```\n$ git clone http://github.com/febrezo/quickmock\n$ cd quickmock\n$ pip3 install -e . --user\n```\n\nAfterwards, you will be able to use it the tool using the new entry point in your system:\n\n```\n$ quickmock --help\n```\n\nSimple Service\n--------------\n\nA typical `.json` file contains three keywords:\n\n- `host`. The host. Typically, 0.0.0.0 to permit requests from any machine.\n- `port`. An integer defining the local port in the Docker container.\n- `responses`. This dictionary contains several subdictionaries order by methods and URL.\n\n```\n{\n    \"host\": \"0.0.0.0\",\n    \"port\": 6000,\n    \"responses\": {\n        \"GET\": {\n            \"simple/1\": [\n                  {\n                    \"response\": {\n                        \"status\": 200,\n                        \"return\": {\n                            \"name\": \"James Bond\"\n                        },\n                        \"mimetype\": \"application/json\"\n                    }\n                }\n            ],\n            \"simple/1001\": [\n                {\n                    \"response\": {\n                        \"status\": 404,\n                        \"return\": {\n                            \"code\": 404,\n                            \"message\": \"User not found\"\n                        },\n                        \"mimetype\": \"application/json\"\n                    }\n                }\n            ]\n        }\n    }\n}\n```\n\nMore complex examples can be found in the [`./doc/examples`](./doc/examples) folder to define conditional behaviour depending on the headers or data provided together with the request.\nHowever, there is also a creator assistant that guides the user through the creation of a new template:\n\n```\n$ quickmock template\n```\n\nThe output file can be set using `-t`:\n\n```\n$ quickmock template -t my_conf.json\n```\n\nDeployment\n----------\n\nTo run the newly created web server, use `quickmock run`:\n\n```\n$ quickmock run -c ./my_conf.json\n```\n\nFor further assistance, use `--help`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffebrezo%2Fquickmock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffebrezo%2Fquickmock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffebrezo%2Fquickmock/lists"}