Mastra
Mastra is the modern TypeScript framework for AI-powered applications and agents.
Is Mastra safe? Promising trust profile, but some evidence still deserves review.
Compare Mastra
How does it stack up against its Agent Frameworks neighbours?
Pick any agent to compare →In detail: Mastra scores 65.6/100 (Grade B), ranked #476 of 1371 tracked open-source AI agent projects, on evidence coverage B (3 of 5 independent signal types). The public evidence: no package-provenance attestation found; OSSF Scorecard rates its supply-chain practices 5.5/10; 92% of recent commits are signed; last pushed 2026-10-09. Every point is earned from checkable signals — never paid placement. How scoring works →
How Mastra could raise its score
Each line changes one public signal and recomputes with the live scoring function. The gains don't add up exactly, because the score is capped near the top.
- Raise the OSSF Scorecard from 5.5 to 9.0lowest checks: CII-Best-Practices 0, Dangerous-Workflow 0, Fuzzing 0 +7.2 → 72.8 B · #19 of 129
Chain of custody
Scanners check what the code says. This traces who ships Mastra and whether that has changed: from the source repository, through how changes are reviewed and released, to the code you run. These are the checks for OWASP ASI04 Agentic Supply Chain Vulnerabilities.
-
Source Signed
github.com/mastra-ai/mastra, NOASSERTION, last pushed 2026-10-09. 92% of the last 100 commits carry a verified signature, so changes trace to a verified account.
-
Review and release Mixed
OpenSSF Scorecard rates the repository's practices 5.5/10 (scanned Oct 8, 2026). The checks that decide who can get a change released:
- Code Review9
- Branch Protection4
- Signed Releasesn/a
- Dangerous Workflow0
- Token Permissions0
- Pinned Dependencies8
All 18 Scorecard checks
Binary-Artifacts 10Branch-Protection 4CI-Tests 10CII-Best-Practices 0Code-Review 9Contributors 10Dangerous-Workflow 0Dependency-Update-Tool 10Fuzzing 0License 9Maintained 10Packaging 10Pinned-Dependencies 8SAST 10Security-Policy 0Signed-Releases -1Token-Permissions 0Vulnerabilities 0 -
Published packages None
No registry package. Mastra is used from its repository, so what you run is whatever you check out: pin a release tag or commit.
Changes to this chain
No change to package provenance, package source links, Scorecard coverage or license in HVTracker's daily snapshots of Mastra.
Evidence behind this score
Coverage B: 3 of 5 independent evidence types found.
- GitHub repository data
- Package downloads (missing)
- Supply-chain checks
- Public actions (missing)
- Community mentions
Verify this score yourself
Every build re-issues Mastra’s score as an Ed25519-signed credential, valid for 7 days. You can check it offline against HVTracker’s published key; if anyone changes a number after signing, verification fails.
What this score doesn’t check
It covers who ships the code, not what the code does. It doesn’t read tool descriptions or prompts for injected instructions, watch runtime behaviour, or find bugs nobody has disclosed yet. For that, run a content scanner before you connect it, such as Cisco MCP Scanner or Snyk Agent Scan.
How Mastra compares in Agent Frameworks
- #38 AutoGPT 65.9 +0.3
- #39 Semantic Kernel 65.7 +0.1
- #40 Mastra 65.6 this agent
- #41 TrueForge 65.5 −0.1
- #42 Atomic Agents 65.5 −0.1
Bars show each HVTrust score; the tick marks Mastra’s 65.6.
Where the 65.6 comes from
HVTrust dimensions vs the Agent Frameworks average
65.6 / 100 · 100.0% confidenceMastra Agent Frameworks average (129 agents)
Quick Trust Read
How to read this: HVTrust (0–100) weighs supply-chain signals (provenance, OSSF Scorecard, signed commits, open license) alongside real-world adoption. Grade B reflects the trust score band: A ≥ 80, B ≥ 65, C ≥ 50, D < 50. Evidence coverage B is separate — it grades how many independent signal types back the score (3 of 5), so a high score on thin evidence stays visible. Full methodology →
Rank Trend
Activity & Reach
Analysis
Activity Inputs
92.8 / 100Common questions about Mastra
Does Mastra publish package provenance?
Does Mastra have an OpenSSF Scorecard?
Is Mastra actively maintained?
What license does Mastra use?
Are Mastra's commits signed?
Not a safety endorsement. HVTracker describes what public signals show, not whether a project is safe for your use case. Run your own security review before adopting in production.
AI agent surface
MCP, providers, tool surface
These runtime-trust fields — detected from public repo docs and manifests — contribute a bounded adjustment to this project's HVTrust score alongside supply-chain evidence. The exact values each field can add or subtract are documented in the methodology → Compare this surface across every listed agent in the capability matrix →
- filesystem
- MCP signal live
- External deps live
- Tool / plugin surface live
- Package provenance drift live
Maintain Mastra?
For maintainers
HVTrust scores Mastra from public signals only — we never contact maintainers first. If a signal is wrong, stale, or missing (provenance you publish, a Scorecard you run, signed releases), tell us and we'll review it. Corrections are public and tracked on GitHub.
Reputation Timeline
Signal history
Embed Badge Badge guide for maintainers →
For maintainers
[](https://hvtracker.net/agents/mastra)
<a href="https://hvtracker.net/agents/mastra"><img src="https://hvtracker.net/badge/mastra.svg" alt="HVTrust"></a>
Other agents in Agent Frameworks
GitHub REST API (repo, commits, stars, forks, license) · OpenSSF Scorecard CLI · Algolia HN Search API
Each agent's signals refresh once daily across 6 staggered batches. Methodology v4.4 · Raw JSON