registry / @mastra/agent-builder / 1.1.24
@mastra/agent-builder@1.1.24
Static Scan Results
scanned 22d ago · by rust-scannerStatic analysis completed at 65.0% confidence. No malicious behavior was detected; 7 low-signal pattern(s) were surfaced and cleared.
Static reason
No blocking static signals were detected.
Decision evidence
public snapshotBehavioral surface
ChildProcessEnvironmentVarsFilesystemNetworkShell
HighEntropyStringsUrlStrings
Source & flagged code
1 flagged · loading sourcedist/index.jsView file
•Manifest-reachable source captures an API credential, sends it to a fixed unofficial gateway, and persists that redirection in agent or shell configuration.
dist/index.js:
import { copyFile, mkdir, mkdtemp, readFile, readdir, rm, stat, writeFile } from "fs/promises";
- Verify API keys and environment setup
- Hard-code API keys or secrets
- **writeFile**: Write files with directory creation
writeFile: createTool({
return await AgentBuilderDefaults.writeFile({
url: z.string().describe("Full URL or path (if baseUrl provided)"),
baseUrl: z.string().optional().describe("Base URL for the server (e.g., http://localhost:4200)"),
High
Credential Redirect Persistence
Manifest-reachable source sends a prompted API credential to a fixed unofficial gateway and persists the redirection.
dist/index.jsView on unpkgFindings
1 High2 Medium4 Low
HighCredential Redirect Persistencedist/index.js
MediumNetwork
MediumEnvironment Vars
LowScripts Present
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings
Affected versions and remediation
This report applies to @mastra/agent-builder@1.1.24.
See all versions of @mastra/agent-builder for other recorded verdicts.
- Review the evidence and your use of @mastra/agent-builder@1.1.24 before allowing it. Restrict the permissions described in this report.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.