3d-brain
Pass
Audited by Gen Agent Trust Hub on Sep 7, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The application's local server (
serve.mjs) executes system commands to support a 'Reveal File' feature. It uses the platform's default file manager (explorer.exe,open, orxdg-open) via Node.jsspawn. This is implemented safely using argument arrays without a shell, which mitigates command injection risks. - [INDIRECT_PROMPT_INJECTION]: The skill processes user-supplied Markdown and text files to build the knowledge graph. This is the primary ingestion surface for indirect prompt injection. The implementation mitigates risks by using
DOMPurifyto sanitize HTML output in the frontend before rendering note content. - [SAFE]: The local server implementation in
serve.mjsis security-conscious, binding strictly to127.0.0.1, validatingHostandOriginheaders to prevent cross-site requests, and restricting access to an allowlist of static files and specific API endpoints.
Audit Metadata