{"score":100,"grade":"A","scannedAt":"2026-12-05T23:10:36.737Z","scanner":"grades-0.2","signals":{"ecosystem":"pypi","name":"apifacts","version":"0.2.1","license":"MIT","repository":"https://github.com/Illouminus/apifacts","firstPublished":"2026-10-25T07:50:27.931865Z","lastPublished":"2026-10-26T05:46:31.413142Z","versions":4,"files":266,"bytes":617498,"hosts":["api.stripe.com","apifacts.dev","creativecommons.org","oauth2.googleapis.com","www.googleapis.com"]},"capabilities":{"network":true,"files":true,"shell":true,"env":true,"dynamicCode":false},"findings":[{"rule":"bidi-string","severity":"low","title":"Text-direction characters inside a string (usually right-to-left text)","file":"apifacts/client/render.py","line":22,"snippet":"_BIDI = re.compile(r\"[‎‏<U+202A>-<U+202E><U+2066>-<U+2069>]\")"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"apifacts/api/app.py","line":411,"snippet":"env_proxies = os.environ.get(\"APIFACTS_TRUSTED_PROXIES\", \",\".join(DEFAULT_TRUSTED_PROXIES))"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"apifacts/api/app.py","line":416,"snippet":"root = Path(repo if repo is not None else os.environ.get(\"APIFACTS_REPO\", \".\"))"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"apifacts/api/app.py","line":417,"snippet":"store = Store(db_path or os.environ.get(\"APIFACTS_DB\", \"observations.sqlite\"))"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"apifacts/bot/collect.py","line":30,"snippet":"done = subprocess.run("},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"apifacts/bot/pr.py","line":95,"snippet":"done = subprocess.run([exe, *args], cwd=root, capture_output=True, text=True, env=env,"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"apifacts/bot/pr.py","line":342,"snippet":"shutil.rmtree(scratch, ignore_errors=True)"},{"rule":"network","severity":"info","title":"Makes network requests","file":"apifacts/client/transport.py","line":15,"snippet":"import urllib.request"},{"rule":"network","severity":"info","title":"Makes network requests","file":"apifacts/client/transport.py","line":68,"snippet":"class _NoRedirect(urllib.request.HTTPRedirectHandler):"},{"rule":"network","severity":"info","title":"Makes network requests","file":"apifacts/client/transport.py","line":102,"snippet":"self._opener = urllib.request.build_opener(_NoRedirect())"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"apifacts/probe/results.py","line":145,"snippet":"with self.path.open(\"a\", encoding=\"utf-8\") as fh:"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"apifacts/probe/runner.py","line":522,"snippet":"with (state_dir / LOCK_FILE).open(\"a\") as fh:"}],"vulns":[],"installScripts":[],"server":{"name":"io.github.Illouminus/apifacts","title":"apifacts","description":"Verified facts and typed fixes for failing third-party API calls (Stripe, GitHub, Google…)","websiteUrl":"https://apifacts.dev","repository":"https://github.com/Illouminus/apifacts","version":"0.2.1"}}