Mastra

Mastra is the modern TypeScript framework for AI-powered applications and agents.

Agent Frameworks TypeScript Listed NOASSERTION

Is Mastra safe? Promising trust profile, but some evidence still deserves review.

OSSF Scorecard 5.5 / 10
Provenance None
Signed commits 92%
Last push today
Compare Mastra
Suggest a correction

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.

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.

  1. 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.

  2. 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 10
    Branch-Protection 4
    CI-Tests 10
    CII-Best-Practices 0
    Code-Review 9
    Contributors 10
    Dangerous-Workflow 0
    Dependency-Update-Tool 10
    Fuzzing 0
    License 9
    Maintained 10
    Packaging 10
    Pinned-Dependencies 8
    SAST 10
    Security-Policy 0
    Signed-Releases -1
    Token-Permissions 0
    Vulnerabilities 0
  3. 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

  1. #38 AutoGPT 65.9 +0.3
  2. #39 Semantic Kernel 65.7 +0.1
  3. #40 Mastra 65.6 this agent
  4. #41 TrueForge 65.5 −0.1
  5. #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% confidence

Mastra Agent Frameworks average (129 agents)

Safety / Integrity50% OSSF Scorecard · 30% provenance · 20% signed commits
11.5 / 25
1.9 above avg 9.6
Identity / Provenance60% listing status · 40% build provenance
10.8 / 18
0.8 below avg 11.6
Transparency50% declared license · 50% OSSF Scorecard
13.2 / 17
0.9 above avg 12.3
Maintenance60% last-push freshness · 40% commit activity
20.0 / 20
5.7 above avg 14.3
AdoptionLog-scaled stars · package downloads
10.7 / 20
0.5 below avg 11.2

Quick Trust Read

What Would Improve It
Publish package provenance or release attestations for stronger supply-chain evidence.
Recent Changes
2026-10-08
Grade Changed
Trust grade C → B
2026-10-08
Rank Moved
Rank rose 19 spots (#494 → #475)
2026-10-06
Grade Changed
Trust grade B → C
Maintainer Checklist
Raise Scorecard signals Current OSSF Scorecard is 5.5/10. Tighten the weakest checks to improve public safety evidence.
Publish provenance Add package provenance or release attestations so users can verify where shipped artifacts came from.
92.8
Activity sub-score · out of 100
#40

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 →

Signals refreshed 2026-10-09 16:07 UTC · Repo last pushed today

Rank Trend

2026-09-29 2026-10-09

Activity & Reach

Stars
28.7k
Forks
2.9k
Last Push
2026-10-09
today
Commits (4 wk)
1781
Downloads (7d)
—
HN mentions (30d)
251
Open Issues
314
Rank Change
▼1
was #475

Analysis

Activity Inputs

92.8 / 100
StarsRepository reach
26.7 / 30
FreshnessLast push recency
25.0 / 25
ActivityRecent commits
25 / 25
CommunityFork signal
16.1 / 20

Common questions about Mastra

Mastra has a mixed signal profile. Some trust indicators are present, others are missing. Whether it is safe for your use case depends on which gaps matter to you — review the breakdown below before adopting in production.
Does Mastra publish package provenance?
No published build provenance is currently detected for Mastra. This is common for open-source projects but means consumers cannot independently verify that the package on the registry matches the GitHub source.
Does Mastra have an OpenSSF Scorecard?
Mastra has an OpenSSF Scorecard score of 5.5/10. The Scorecard checks for branch protection, signed releases, dependency updates, fuzzing, code review, and other supply-chain hygiene items. See the full check breakdown on this page.
Is Mastra actively maintained?
Actively maintained. The repository was pushed to within the last 1 day(s).
What license does Mastra use?
Mastra ships under NOASSERTION. A declared, OSI-approved license is one of the transparency signals HVTrust scores.
Are Mastra's commits signed?
92% of the last 100 commits to Mastra are verified-signed (GPG, SSH, S/MIME, or GitHub's signing flow). Signed commits help confirm that code was authored by who the commit claims.

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
Scored in HVTrust

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 →

MCP Server Support
medium confidence
Declared
MCP support appears present, but direct server implementation is less certain.
Detailed evidence is not shown in the public view.
External Service Dependencies
None detected
No clear third-party provider dependency detected.
Credential signal: No explicit API-key/config marker detected.
Tool / Plugin Surface
high confidence
Declared
Declared plugin/integration surface detected.
  • filesystem
Detailed evidence is not shown in the public view.
Package Provenance Drift
N/A
No package source configured
Detailed evidence is not shown in the public view.
  • 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
Rank 33Grade 3HVTrust 1
2026-10-08
Grade Changed
Trust grade C → B
2026-10-08
Rank Moved
Rank rose 19 spots (#494 → #475)
2026-10-06
Grade Changed
Trust grade B → C
2026-09-30
Rank Moved
Rank rose 17 spots (#483 → #466)
2026-09-25
Grade Changed
Trust grade D → B
2026-09-25
Rank Moved
Rank rose 497 spots (#966 → #469)
2026-09-25
HVTrust Changed
HVTrust up 16.5pts (48.8 → 65.3)
2026-09-23
Rank Moved
Rank dropped 590 spots (#376 → #966)
2026-09-22
Rank Moved
Rank dropped 43 spots (#333 → #376)
2026-09-21
Rank Moved
Rank rose 645 spots (#978 → #333)
2026-09-16
Rank Moved
Rank rose 15 spots (#983 → #968)
2026-09-11
Rank Moved
Rank dropped 11 spots (#956 → #967)
2026-09-10
Rank Moved
Rank rose 12 spots (#968 → #956)
2026-09-09
Rank Moved
Rank dropped 11 spots (#957 → #968)
2026-09-07
Rank Moved
Rank dropped 38 spots (#912 → #950)
2026-09-06
Rank Moved
Rank dropped 35 spots (#877 → #912)
2026-09-05
Rank Moved
Rank dropped 53 spots (#824 → #877)
2026-09-04
Rank Moved
Rank dropped 40 spots (#784 → #824)
2026-09-03
Rank Moved
Rank dropped 38 spots (#746 → #784)
2026-09-02
Rank Moved
Rank dropped 30 spots (#716 → #746)
2026-09-01
Rank Moved
Rank dropped 29 spots (#687 → #716)
2026-08-31
Rank Moved
Rank dropped 37 spots (#650 → #687)
2026-08-30
Rank Moved
Rank dropped 17 spots (#633 → #650)
2026-08-29
Rank Moved
Rank dropped 41 spots (#592 → #633)
2026-08-28
Rank Moved
Rank dropped 17 spots (#575 → #592)
2026-08-27
Rank Moved
Rank dropped 16 spots (#559 → #575)
2026-08-26
Rank Moved
Rank dropped 82 spots (#477 → #559)
2026-08-24
Rank Moved
Rank dropped 10 spots (#468 → #478)
2026-08-22
Rank Moved
Rank rose 13 spots (#483 → #470)
2026-08-13
Rank Moved
Rank dropped 17 spots (#456 → #473)
2026-08-12
Rank Moved
Rank rose 13 spots (#469 → #456)
2026-08-10
Rank Moved
Rank dropped 18 spots (#462 → #480)
2026-08-08
Rank Moved
Rank dropped 116 spots (#340 → #456)
2026-07-29
Rank Moved
Rank dropped 10 spots (#343 → #353)
2026-07-15
Rank Moved
Rank dropped 23 spots (#309 → #332)
2026-07-14
Rank Moved
Rank dropped 17 spots (#292 → #309)
2026-07-13
Rank Moved
Rank dropped 34 spots (#258 → #292)

Embed Badge Badge guide for maintainers →

For maintainers
HVTrust 65.6 Grade B
Markdown:
[![HVTrust](https://hvtracker.net/badge/mastra.svg)](https://hvtracker.net/agents/mastra)
HTML:
<a href="https://hvtracker.net/agents/mastra"><img src="https://hvtracker.net/badge/mastra.svg" alt="HVTrust"></a>

Other agents in Agent Frameworks

Data sources
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