{"id":25864898,"url":"https://github.com/stackloklabs/banditize","last_synced_at":"2026-05-15T07:06:10.942Z","repository":{"id":265588336,"uuid":"890072742","full_name":"StacklokLabs/banditize","owner":"StacklokLabs","description":"PyCQA/bandit as a web service","archived":false,"fork":false,"pushed_at":"2025-01-29T04:55:32.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-23T19:38:10.342Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/StacklokLabs.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":"2024-11-17T23:37:00.000Z","updated_at":"2025-01-30T19:51:23.000Z","dependencies_parsed_at":"2025-02-06T03:42:25.564Z","dependency_job_id":"b6b03add-8542-45aa-95c7-9ec4b41c3377","html_url":"https://github.com/StacklokLabs/banditize","commit_stats":null,"previous_names":["evankanderson/banditize","stackloklabs/banditize"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StacklokLabs%2Fbanditize","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StacklokLabs%2Fbanditize/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StacklokLabs%2Fbanditize/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StacklokLabs%2Fbanditize/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StacklokLabs","download_url":"https://codeload.github.com/StacklokLabs/banditize/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241447318,"owners_count":19964306,"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"}},"keywords":[],"created_at":"2025-03-02T01:31:05.166Z","updated_at":"2026-05-15T07:06:05.906Z","avatar_url":"https://github.com/StacklokLabs.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# banditize\nPyCQA/bandit as a web service.\n\nThis is a small web service (designed to be run under [Google Cloud Run](https://cloud.google.com/run) or the like that wraps [PyCQA/bandit](https://github.com/PyCQA/bandit) in a JSON-based API.  The input format is:\n\n```json\n{\n    \"base\": \"... base64-encoded .tar.gz of the base filesystem ...\",\n    \"head\": \"... base64-encoded .tar.gz of the proposed changed filesystem ...\"\n}\n```\n\nYou may omit `base` to scan a directory from scratch.\n\nIn turn, this currently returns a single field, but we may expand it later:\n\n```json\n{\n    \"simpleFindings\": \"... bandit output ...\"\n}\n\n## Usage\n\nTo test on the command line in a python directory, you can do the following:\n\n```\ncurl --data @\u003c(echo \"{\\\"head\\\":\\\"$(tar -czf - . | base64 -i -)\\\"}\") http://localhost:7777/pull\n```\n\n## Deployment\n\nThis is also deployed on Google Cloud Run at the following URL via CI:\n\nhttps://banditize-562949304223.us-central1.run.app/","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackloklabs%2Fbanditize","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstackloklabs%2Fbanditize","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackloklabs%2Fbanditize/lists"}