{"id":24961164,"url":"https://github.com/cag/execgate","last_synced_at":"2025-10-16T08:53:21.762Z","repository":{"id":9600163,"uuid":"11521394","full_name":"cag/execgate","owner":"cag","description":"A safer python 3 exec.","archived":false,"fork":false,"pushed_at":"2013-07-19T07:44:39.000Z","size":108,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-12T05:02:32.987Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/cag.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":"2013-07-19T06:10:50.000Z","updated_at":"2022-04-29T10:34:14.000Z","dependencies_parsed_at":"2022-08-30T09:31:37.449Z","dependency_job_id":null,"html_url":"https://github.com/cag/execgate","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cag%2Fexecgate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cag%2Fexecgate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cag%2Fexecgate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cag%2Fexecgate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cag","download_url":"https://codeload.github.com/cag/execgate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246106692,"owners_count":20724401,"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-02-03T08:45:41.346Z","updated_at":"2025-10-16T08:53:16.728Z","avatar_url":"https://github.com/cag.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"execgate\n========\n\nA safer python 3 exec.\n\nUsage:\n\n    from execgate import gated_exec, gated_eval, GateSecurityError\n\n    foo = gated_eval('1 + 1')\n    try:\n        gated_exec(\"\"\"[\n            c for c in \n                ().__class__.__bases__[0].__subclasses__() \n                    if c.__name__ == \"Quitter\"\n                    ][0](0)()\"\"\")\n    except GateSecurityError:\n        print(\"You are a baaaad monkey.\")\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcag%2Fexecgate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcag%2Fexecgate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcag%2Fexecgate/lists"}