mastra-hono
Warn
Audited by Socket on Sep 15, 2026
1 alert found:
AnomalyAnomalyscripts/scaffold-agent.ts
LOWAnomalyLOW
scripts/scaffold-agent.ts
This is intended as a local code generator, not malware. The principal security risks are unsafe code generation from the instructions argument and insufficient validation of the agent name and output path, which can result in generated-code injection or unintended file writes when inputs are attacker-controlled. No evidence of credential theft, exfiltration, persistence, cryptomining, or sabotage is present. The fragment also contains apparent syntax errors.
Confidence: 98%Severity: 58%
Audit Metadata