{"score":100,"grade":"A","scannedAt":"2026-12-05T22:57:54.233Z","scanner":"grades-0.2","signals":{"ecosystem":"pypi","name":"hkex-filing-scraper","version":"2.4.3","license":"MIT","repository":"https://github.com/simonmak-ascent/hkex-filing-scraper","firstPublished":"2026-09-17T01:13:15.794097Z","lastPublished":"2026-10-14T15:17:01.398321Z","versions":7,"files":171,"bytes":1795020,"hosts":["hkex-listco-updates.ascent-partners.com","www1.hkexnews.hk"]},"capabilities":{"network":true,"files":true,"shell":true,"env":true,"dynamicCode":false},"findings":[{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"api/mcp.py","line":38,"snippet":"raw = os.environ.get(\"MCP_ALLOWED_ORIGINS\", _DEFAULT_ORIGINS)"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"scripts/mirror_wiki.py","line":226,"snippet":"shutil.rmtree(out_dir)"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"scripts/render_brand_assets.py","line":45,"snippet":"env = os.environ.get(\"CHROME_BIN\")"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"scripts/render_brand_assets.py","line":77,"snippet":"subprocess.run("},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"src/hkex_scraper/config.py","line":29,"snippet":"SURREAL_ENDPOINT: str = os.environ.get(\"SURREAL_ENDPOINT\", \"\")"},{"rule":"network","severity":"info","title":"Makes network requests","file":"src/hkex_scraper/db.py","line":8,"snippet":"import urllib.request"},{"rule":"network","severity":"info","title":"Makes network requests","file":"src/hkex_scraper/db.py","line":42,"snippet":"req = urllib.request.Request("},{"rule":"network","severity":"info","title":"Makes network requests","file":"src/hkex_scraper/db.py","line":54,"snippet":"with urllib.request.urlopen(req, timeout=timeout) as resp:"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"src/hkex_scraper/db.py","line":136,"snippet":"with open(LOG_DIR / \"hkex_failed.sql\", \"a\", encoding=\"utf-8\") as fh:"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"src/hkex_scraper/extractor.py","line":296,"snippet":"os.unlink(tmp_path)"}],"vulns":[],"installScripts":[],"server":{"name":"com.ascent-partners/hkex-filings","title":"HKEx Filings","description":"Live HKEx (Hong Kong Stock Exchange) regulatory filings for AI agents.","websiteUrl":"https://hkex-listco-updates.ascent-partners.com/","repository":"https://github.com/simonmak-ascent/hkex-filing-scraper","version":"2.4.3"}}