1 check that ran failed — supply chain — so this release can’t be trusted as-is.
- Publisher
- io.github.dgunning
- Repository
- github.com/dgunning/edgartools
- Install
- pypi:edgartools
- Versions
- 1
- Inspected
- 4 of 6 checks · 65%
- Scored
- 2026-07-20 · rubric 1.0.0
What we checked
Six static checks, weighted by risk. Every result reflects only what could be observed in the published package and repository — never intent.
Injection surface
unscannable25% of gradeTool descriptions/manifest scanned for instruction-injection patterns (imperatives at the model, hidden text, 'ignore previous', data-exfil URLs).
No tool descriptions, server instructions, prompts, or resources were fetched; nothing to scan for injection.
Supply chain
fail25% of gradePackage provenance: namespace verification, repo linkage, maintainer count, account age, postinstall scripts, typosquat distance.
Python build script executes at build time: network call in build script
Credential hygiene
pass15% of gradeHow the server takes secrets (env vs plaintext config vs hardcoded); secrets appearing in tool schemas.
Reads secrets from the environment (e.g. edgar/config.py) — the recommended intake shape. PASS = no static red flag; static analysis cannot prove the code honors env-based secret handling at runtime.
Permission scope
warn15% of gradeDeclared tools vs. breadth (filesystem, network, exec); flags shell-exec and unbounded filesystem access.
discloses dynamic code execution: edgar/attachments.py: uses eval/exec/__import__ discloses dynamic code execution: edgar/filesystem.py: uses eval/exec/__import__ discloses dynamic code execution: edgar/ai/evaluation/evaluators.py: uses eval/exec/__import__ discloses dynamic code execution: edgar/entity/data.py: uses eval/exec/__import__ discloses dynamic code execution: edgar/thirteenf/models.py: uses eval/exec/__import__ discloses broad/destructive filesystem access: edgar/_filings.py: open(…, 'w'/'a'/'x') write-mode file access discloses broad/destructive filesystem access: edgar/filesystem.py: open(…, 'w'/'a'/'x') write-mode file access discloses broad/destructive filesystem access: edgar/httpclient.py: destructive filesystem call (shutil.rmtree/os.remove/etc.) discloses broad/destructive filesystem access: edgar/httprequests.py: open(…, 'w'/'a'/'x') write-mode file access discloses broad/destructive filesystem access: edgar/httprequests.py: destructive filesystem call (shutil.rmtree/os.remove/etc.) discloses broad/destructive filesystem access: edgar/ai/__init__.py: destructive filesystem call (shutil.rmtree/os.remove/etc.) discloses broad/destructive filesystem access: edgar/ai/exporters/claude_desktop.py: destructive filesystem call (shutil.rmtree/os.remove/etc.) discloses broad/destructive filesystem access: edgar/ai/exporters/claude_skills.py: destructive filesystem call (shutil.rmtree/os.remove/etc.) discloses broad/destructive filesystem access: edgar/ai/mcp/server.py: path traversal ('../') combined with file access discloses broad/destructive filesystem access: edgar/documents/ranking/cache.py: open(…, 'w'/'a'/'x') write-mode file access discloses broad/destructive filesystem access: edgar/documents/utils/anchor_cache.py: open(…, 'w'/'a'/'x') write-mode file access discloses broad/destructive filesystem access: edgar/entity/data/process_mappings.py: open(…, 'w'/'a'/'x') write-mode file access discloses broad/destructive filesystem access: edgar/entity/training/run_industry_learning.py: open(…, 'w'/'a'/'x') write-mode file access discloses broad/destructive filesystem access: edgar/entity/training/run_learning.py: open(…, 'w'/'a'/'x') write-mode file access discloses broad/destructive filesystem access: edgar/standardization/synonym_groups.py: open(…, 'w'/'a'/'x') write-mode file access discloses broad/destructive filesystem access: edgar/storage/_local.py: open(…, 'w'/'a'/'x') write-mode file access discloses broad/destructive filesystem access: edgar/storage/_local.py: recursive glob ('**') from a broad root discloses broad/destructive filesystem access: edgar/storage/_management.py: open(…, 'w'/'a'/'x') write-mode file access discloses broad/destructive filesystem access: edgar/vendored/uu.py: open(…, 'w'/'a'/'x') write-mode file access discloses broad/destructive filesystem access: edgar/vendored/uu.py: destructive filesystem call (shutil.rmtree/os.remove/etc.) discloses broad/destructive filesystem access: edgar/xbrl/standardization/core.py: open(…, 'w'/'a'/'x') write-mode file access Capability DISCLOSURE, not a verdict: static analysis sees the primitive is present and reachable, not whether its use is attacker-controlled.
Version behavior
unscannable10% of gradeDiff of tool definitions between versions; new permissions or changed descriptions in a patch release (the postmark-mcp class).
no prior version to diff (first sight of io.github.dgunning/[email protected]); version-drift / rug-pull cannot be evaluated. Cold-start risk is covered by point-in-time checks (injection_surface, supply_chain, credential_hygiene), not here.
Transport config
warn10% of gradeRemote servers: TLS and auth mode (none/token/OAuth). Local servers: whether the manifest indicates it phones home.
manifest/source references tracking behavior — disclosure
Version history
Each release plotted by grade against the safe line at B. A version that sinks below the line has lost its trusted standing — the shape of a rug-pull.
| Version | Published | Grade | Score | Inspected | Change |
|---|---|---|---|---|---|
| v5.21.1 · current | 2026-03-06 | C | 62.5 | 4/6 · 65% | — |