Public record
Software health reportschema 0.34.0 · metrics 2.10.0 · 2026-11-26 08:36 UTC

Guard-Core / fastapi-guard

A security library for FastAPI that provides middleware to control IPs, log requests, detect penetration attempts, honeypot setup, behavioural analysis, emergency mode lockdown, block Cloud Provider IPs, country blocking, and much more... It integrates seamlessly with FastAPI to offer robust protection against various security threats.

PythonMIT★ 828 stars⑂ 49 forkssince Aug 2024View on GitHub ↗
KindLibraryNetwork servicehow this is determined

Guard-Core/fastapi-guard holds a health index of 94 out of 100, placing it in the Exceptional band. It scores highest on Engineering Quality (96/100) and lowest on Sustainability & Governance (65/100). It was last updated 12 days ago. A single contributor accounts for most of its recent work.

94
overall / 100
Exceptional

Software health index

Metrics are grouped into weighted categories on one standardized 1–100 scale. Overall starts as their weighted mean, calibrated against the distribution of the public record so bands carry percentile meaning; when public evidence triggers the High-Risk Jurisdiction Policy, the rating is adjusted and receives an At Risk ceiling of 34.

94
Exceptional93-100The record's top tier (≈ top 5%); essentially all checked criteria met
Excellent80-92Strong across the board; minor gaps
Good65-79Healthy; gaps are limited and manageable
Moderate50-64Acceptable with notable gaps; review recommended
Weak35-49Material weaknesses across several areas
At Risk20-34Significant weaknesses; adoption warrants caution
Critical1-19Severe problems (abandoned, single-maintainer, no hygiene)
VitalityCommunity &AdoptionSustainability &GovernanceEngineeringQualitySecurityAI Readiness

Score profile

Each axis is a category. The shape matters more than the average — a healthy subject fills the whole shape, while a spike-and-crater profile means strength in one dimension is masking risk in another.

The weighted overall 80 is calibrated to 94 on the published index scale (record calibration 2026-08-02).

Ownership

Guard CoreOrganization · verified domain
6 followers35 public repossince Jun 2026

This repository is backed by an organization — shared, accountable stewardship that can outlive any single maintainer.

Package ecosystems

RegistryPackageVersionDownloads / moVersionsLast publishTags
PyPIfastapi_guard8.1.284,7966439 days agoapi-securityfastapiip-filteringmiddlewarepenetration-detectionrate-limitingsecuritywaf

Metrics by category

Vitality

Is the project alive — is code being written and are releases shipping?

88Excellent · 21% of overall
How it's scored
28.8/36Push recency — last push 12 days ago
22.8/36Commit cadence — 33/52 weeks with commits
18/18Commit volume — 197 commits in the last year
10/10OpenSSF Scorecard: Maintained — 30 commit(s) and 11 issue activity found in the last 90 days -- score normalized to 10
Inputs used
Commits in the last year197
Share of human-authored commits0.9
Days since last push12
Weeks with commits in the last year33

Release discipline

100Exceptional
How it's scored
27/27Ships releases — 66 releases published
36/36Release recency — latest release 39 days ago
27/27Release cadence — a release every ~5.8 days
0/10OpenSSF Scorecard: Signed-Releases — no data
Inputs used
Number of releases66
Latest release tagv8.1.2
Releases derived from version tagsno
Days since latest release39
Mean days between releases5.8
Excluded from scoring (no data or not applicable): OpenSSF Scorecard: Signed-Releases. Remaining weights renormalized.

Community & Adoption

Does the project have users, downloads, attention, and a welcoming setup for contributors?

78Good · 17% of overall
How it's scored
47.3/60Stars — 828 stars
14/25Forks — 49 forks
2.7/15Watchers — 4 watchers
Inputs used
Forks49
Stars828
Watchers4
Growth authenticity stateunverified
Multiplier applied to stars and forks (%)100
Reason growth could not be assessedno_history

Community health

92Excellent
How it's scored
22.5/22.5README
22.5/22.5License — recognized license (MIT)
18/18CONTRIBUTING guide
13.5/13.5Code of conduct
0/7.2Issue template
6.3/6.3PR template
Inputs used
README presentyes
License file presentyes
Badges in the README38
CONTRIBUTING guide presentyes
Issue template presentno
Code of conduct presentyes
Badge services used in the READMEbadge.fury.io, github.com, shields.io
Pull request template presentyes
How it's scored
65.7/80Monthly downloads — 84,796 downloads/month across pypi
0/20Registry dependents — not reported by this ecosystem
Inputs used
Packagesfastapi_guard
Registry dependents—
Package ecosystemspypi
Total downloads—
Monthly downloads84,796
Packages excluded as unverified—
Excluded from scoring (no data or not applicable): Registry dependents. Remaining weights renormalized.

Sustainability & Governance

Will the project survive its people — bus factor, responsiveness, who backs it, and package upkeep?

65Good · 23% of overall
How it's scored
9/54Bus factor — 1 contributor(s) cover half of all commits
0.8/22.5Commit distribution — top contributor authored 96% of commits
9.5/13.5Contributor breadth — 7 contributors
10/10OpenSSF Scorecard: Contributors — project has 3 contributing companies or organizations -- score normalized to 10
Inputs used
Bus factor1
Contributors sampled7
Share of commits by the top contributor0.965
How it's scored
39.4/42Issue resolution — 94% of issues closed
27.7/30PR acceptance — 133/144 decided PRs merged
0/13Newcomer PR acceptance — no first-time contributor's PR decided in 30d
0/15OpenSSF Scorecard: Code-Review — Found 0/25 approved changesets -- score normalized to 0
Inputs used
Merged pull requests133
Open issues2
Closed issues30
Pull requests merged in the last 7 days0
Pull requests decided in the last 7 days0
Pull requests merged in the last 30 days0
Pull requests decided in the last 30 days0
Share of issues closed0.938
Pull requests closed without merging11
First-time contributors with a pull request decided in the last 30 days0
Pull requests from first-time contributors merged in the last 30 days0
Pull requests from first-time contributors decided in the last 30 days0
Excluded from scoring (no data or not applicable): Newcomer PR acceptance. Remaining weights renormalized.
How it's scored
30/30Ownership backing — organization-owned
20/20Verified domain
6.1/25Owner reach — 6 followers of Guard-Core
12.2/25Track record — 35 public repos, account ~0 yr old
Inputs used
Followers6
Owner account typeOrganization
Verified domainyes
Owner accountGuard-Core
Public repositories35
Owner account age in days157

Package maintenance

100Exceptional
How it's scored
25/25Published & resolvable — 1 package(s) on pypi
35/35Publish recency — latest publish 39 days ago
20/20Version history — 64 published versions
20/20Not deprecated — active, not deprecated or yanked
Inputs used
Packagesfastapi_guard
Package ecosystemspypi
Any package deprecated or yankedno
Days since latest package publish39

Engineering Quality

Are baseline engineering and documentation practices in place?

96Exceptional · 19% of overall
How it's scored
24/24CI workflows — 16 workflow(s)
24/24Tests present
16/16Linter config — pyproject.toml ([tool.ruff])
9.6/9.6Pre-commit hooks
0/6.4.editorconfig
20/20OpenSSF Scorecard: CI-Tests — 22 out of 22 merged PRs checked by a CI test -- score normalized to 10
Inputs used
CI workflows presentyes
Tests presentyes
.editorconfig presentno
Linter config presentyes
Pre-commit config presentyes

Documentation

100Exceptional
How it's scored
30/30README
25/25Documentation directory
15/15Documentation / homepage site — https://guard-core.com/
10/10Repository description
10/10Topics — 7 topics
10/10Wiki
Inputs used
Repository topicsapi, security, fastapi, ip, middleware, python, rest
Wiki enabledyes
Repository homepagehttps://guard-core.com/
Documentation sitehttps://guard-core.com/
README presentyes
Documentation directory presentyes
Repository description presentyes

Security

Are visible security and supply-chain practices strong, without unresolved high-risk jurisdiction exposure?

76Good · 16% of overall
How it's scored
7.5/7.5Binary-Artifacts — no binaries found in the repo
6.8/7.5Branch-Protection — branch protection is not maximal on development and all release branches
2.5/2.5CI-Tests — 22 out of 22 merged PRs checked by a CI test -- score normalized to 10
0/2.5CII-Best-Practices — no effort to earn an OpenSSF best practices badge detected
0/7.5Code-Review — Found 0/25 approved changesets -- score normalized to 0
2.5/2.5Contributors — project has 3 contributing companies or organizations -- score normalized to 10
10/10Dangerous-Workflow — no dangerous workflow patterns detected
7.5/7.5Dependency-Update-Tool — update tool detected
0/5Fuzzing — project is not fuzzed
2.5/2.5License — license file detected
7.5/7.5Maintained — 30 commit(s) and 11 issue activity found in the last 90 days -- score normalized to 10
5/5Packaging — packaging workflow detected
0/5Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 0
4/5SAST — SAST tool detected but not run on all commits
5/5Security-Policy — security policy file detected
0/7.5Signed-Releases — no data
0/7.5Token-Permissions — detected GitHub workflow tokens with excessive permissions
7.5/7.5Vulnerabilities — 0 existing vulnerabilities detected
Inputs used
Data sourceopenssf_scorecard
Scorecard checks evaluated17
OpenSSF Scorecard versionv5.5.0
Scorecard checks inconclusive1
OpenSSF Scorecard aggregate score7
Excluded from scoring (no data or not applicable): Signed-Releases. Remaining weights renormalized.

Dependency advisories

100Exceptional
How it's scored
35/35Direct dependencies free of known advisories — no direct dependency carries a known advisory
25/25Indirect dependencies free of known advisories — no indirect dependency carries a known advisory
0/40No advisories left outstanding — no advisory carries a publication date
Inputs used
Data sourceosv
Advisories across affected packages0
Packages affected by advisories0
Packages assessed30
Packages not assessed0
Affected packages by severitynone
Direct dependencies affected by advisories0
Excluded from scoring (no data or not applicable): No advisories left outstanding. Remaining weights renormalized. Matched the pypi:fastapi_guard@8.1.2 runtime dependency closure — what installing the published package pulls in — 30 packages. Reachability is not analyzed.

AI Readiness

How well is the repo equipped to be developed and maintained with AI coding agents? Carries a deliberately small weight (4%): agent tooling is a real maintenance signal, but a repository with none can still reach 100/100.

80Excellent · 4% of overall
How it's scored
45/45Agent instructions — AGENTS.md, CLAUDE.md
15/15Machine-readable docs (llms.txt) — llms.txt present
40/40Legible commit history — 85 of 90 human commits state their intent (structured subject or explanatory body)
Inputs used
llms.txt presentyes
llms.txt address on the project website—
Share of human commits that state their intent0.944
Agent instruction filesAGENTS.md, CLAUDE.md
Size of the largest agent instruction file (bytes)12,766
How it's scored
18/18One-command bootstrap — Makefile
22/22Automated tests
11/11Lint / format config — pyproject.toml ([tool.ruff])
11/11Static type checking — guard/py.typed
10/10Reproducible environment — Dockerfile
0/10Demonstrated agent practice — no agent-authored commits among the last 100
8/8Automated maintenance — 10 of the last 100 commits are automated dependency updates
0/10OpenSSF Scorecard: Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 0
Inputs used
Nix config presentno
Tests presentyes
Dependency lockfiles—
Dockerfile presentyes
Primary language statically typedno
One-command bootstrap filesMakefile
Dev container config presentno
Linter config presentyes
Static type-check config filesguard/py.typed
Share of commits authored by or credited to coding agents0
Toolchain manifests—
Share of commits that are automated dependency updates0.1
How it's scored
27/45Type-checkable code — Python with type-check config (guard/py.typed)
54.5/55Manageable file sizes — 1/111 source files over 60KB
Inputs used
Primary languagePython
Size of the largest source file (bytes)86,579
Source files sampled111
Oversized source files1
How it's scored
0/40API schema (OpenAPI/GraphQL/proto)
0/20MCP server
40/40Runnable examples — examples
Inputs used
Runnable example directoriesexamples
MCP server signal presentno
API schema files—
Software kinds for which an interface is expectednetwork-service

Key facts

828GitHub stars
7contributors
197commits, last 12 months
12days since last push
66releases
1bus factor
2open issues
PyPIpackage ecosystems

Data collection warnings

  • Star history unavailable

More detail

Star and fork history 0 ★ / 49 ⇿
0Stars
49Forks
59Releases

When each star and fork was added, collected from GitHub and bucketed by day. Cumulative growth sits directly above the daily additions it is made of, so the two read against each other: steady organic accretion looks nothing like an abrupt, short-lived burst. Where that difference is measurable, it is reported as growth authenticity.

010203040504842025-022025-122026-11
Major 7Minor 21Patch 31

Each point covers 2 days.

OpenSSF Scorecard 7.0 / 10
7.0aggregate

Independent, tool-agnostic security assessment from the open-source OpenSSF Scorecard. Each check rewards a security practice, not a specific vendor's tool. Checks Scorecard could not determine are marked n/a and excluded from the security score (never counted as zero).Scorecard v5.5.0 · 2026-11-26 08:36 UTC

10Binary-Artifactsno binaries found in the repo
9Branch-Protectionbranch protection is not maximal on development and all release branches
10CI-Tests22 out of 22 merged PRs checked by a CI test -- score normalized to 10
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
0Code-ReviewFound 0/25 approved changesets -- score normalized to 0
10Contributorsproject has 3 contributing companies or organizations -- score normalized to 10
10Dangerous-Workflowno dangerous workflow patterns detected
10Dependency-Update-Toolupdate tool detected
0Fuzzingproject is not fuzzed
10Licenselicense file detected
10Maintained30 commit(s) and 11 issue activity found in the last 90 days -- score normalized to 10
10Packagingpackaging workflow detected
0Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 0
8SASTSAST tool detected but not run on all commits
10Security-Policysecurity policy file detected
n/aSigned-Releasesno releases found
0Token-Permissionsdetected GitHub workflow tokens with excessive permissions
10Vulnerabilities0 existing vulnerabilities detected
Direct dependencies 4
RegistryPackageVersion constraintManifest
PyPIfastapi>=0.109.0pyproject.toml
PyPIguard-core>=4.4.0pyproject.toml
PyPIstarlette>=0.35.0pyproject.toml
PyPIuvicorn—pyproject.toml
All dependencies 8

Full resolved dependency set from the GitHub dependency graph: 4 direct and 4 indirect (transitive) packages. The transitive closure is complete when the repository commits a lockfile.

RegistryPackageVersionRelation
PyPIfastapi—direct
PyPIguard-core—direct
PyPIstarlette—direct
PyPIuvicorn—direct
PyPIfastapi-guard—indirect
PyPIgunicorn—indirect
PyPIredis—indirect
PyPIrequests—indirect
Dependency advisories 0

Installing pypi:fastapi_guard@8.1.2 pulls in 30 packages, direct and transitive: 0 carry known advisories, of which 0 are direct dependencies.

No known advisories affect the assessed dependencies.

An advisory means the version recorded in the dependency graph falls inside an advisory’s affected range. Reachability is not analysed, and the graph includes development and test pins — a finding may concern tooling rather than shipped software.

Raw JSON report machine-readable

Feedback

Spotted something off in this report, or have thoughts to share? Wrong measurements, missed tooling, ideas, questions — anything is welcome. Every message is read and gets a response.

The message is kept through sign-in.

Scores are signals, not warranties. They reflect publicly visible practices on GitHub — not a code audit, and not a security guarantee.

Missing data is excluded and weights renormalized, never scored as zero. Methodology is versioned and open: metrics v2.10.0, schema v0.34.0 — full methodology · metrics wiki.

How one result sits in the wider record: aggregate statistics — PyPI.