msal-knowledge-graph
Pass
Audited by Gen Agent Trust Hub on Oct 23, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill scans the local codebase and extracts code snippets to display in its knowledge graph, creating a surface for indirect instructions to enter the agent's context.
- Ingestion points: Python and TypeScript scanners read file contents from the repository to extract symbol definitions and code snippets.
- Boundary markers: Code snippets are presented as part of the graph output without specific instruction-isolation markers, though the skill instructions emphasize structural metadata over prose content.
- Capability inventory: The skill's output informs the agent's understanding of the codebase, which can then lead to further actions such as file modifications or code execution.
- Sanitization: Code snippets are extracted verbatim from the source files.
- [COMMAND_EXECUTION]: The skill involves running a local Python CLI and an HTTP server for visualization.
- Security Measures: The local server (
server.py) implements robust security controls: it validates the 'Host' header to prevent DNS rebinding, checks the 'Origin' header to mitigate CSRF, prevents path traversal when serving files, and restricts directory scanning to the current working directory.
Audit Metadata