{"id":17606271,"url":"https://github.com/noamt/python-mongo-sanitizer","last_synced_at":"2025-07-10T18:34:12.953Z","repository":{"id":57442973,"uuid":"97134916","full_name":"noamt/python-mongo-sanitizer","owner":"noamt","description":"A component that sanitizes MongoDB queries against injection attacks","archived":false,"fork":false,"pushed_at":"2020-04-02T04:36:31.000Z","size":5,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-09T01:05:26.944Z","etag":null,"topics":["mongodb","python","security"],"latest_commit_sha":null,"homepage":null,"language":"Python","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/noamt.png","metadata":{"files":{"readme":"README.asciidoc","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}},"created_at":"2017-07-13T14:56:53.000Z","updated_at":"2023-07-25T05:45:30.000Z","dependencies_parsed_at":"2022-09-04T23:00:35.088Z","dependency_job_id":null,"html_url":"https://github.com/noamt/python-mongo-sanitizer","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/noamt/python-mongo-sanitizer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noamt%2Fpython-mongo-sanitizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noamt%2Fpython-mongo-sanitizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noamt%2Fpython-mongo-sanitizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noamt%2Fpython-mongo-sanitizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/noamt","download_url":"https://codeload.github.com/noamt/python-mongo-sanitizer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noamt%2Fpython-mongo-sanitizer/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264631211,"owners_count":23640940,"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":["mongodb","python","security"],"created_at":"2024-10-22T15:44:09.317Z","updated_at":"2025-07-10T18:34:12.937Z","avatar_url":"https://github.com/noamt.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"= Python Mongo Sanitizer =\n\n== A component that sanitizes MongoDB queries against injection attacks ==\n\nimage:https://travis-ci.org/noamt/python-mongo-sanitizer.svg?branch=master[\"Build Status\", link=\"https://travis-ci.org/noamt/python-mongo-sanitizer\"]\nimage:https://badge.fury.io/py/MongoSanitizer.svg[\"PyPI version\", link=\"https://badge.fury.io/py/MongoSanitizer\"]\n\n=== Installation ===\n\n`pip install mongosanitizer`\n\n=== Usage ===\n\n[source,python]\n----\nfrom mongosanitizer.sanitizer import sanitize\n\nquery = {'$bob': 'alice'}\nsanitize(query)\nassert '$bob' not in query\n----\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoamt%2Fpython-mongo-sanitizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnoamt%2Fpython-mongo-sanitizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoamt%2Fpython-mongo-sanitizer/lists"}