mcp-security-audit
Pass
Audited by Gen Agent Trust Hub on Oct 7, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and process untrusted
.mcp.jsonfiles which creates a potential surface for indirect prompt injection. - Ingestion points: The
audit_mcp_configfunction reads external.mcp.jsonfiles provided by the user. - Boundary markers: There are no explicit delimiters or instructions provided to the agent to ignore natural language instructions that might be embedded within the JSON data fields.
- Capability inventory: The skill uses
jsonandrelibraries to parse and analyze file content. It does not perform active shell execution or network requests on the data itself. - Sanitization: The skill performs regex-based scanning but does not sanitize the input for potential downstream prompt injection attacks.
- [EXTERNAL_DOWNLOADS]: The skill references an external repository for additional governance tools.
- Evidence: References the
microsoft/agent-governance-toolkitGitHub repository. - Analysis: The reference targets a trusted organization (Microsoft) and is provided for educational/resource purposes, which is considered safe behavior.
- [CREDENTIALS_UNSAFE]: The skill contains example strings that match secret patterns.
- Evidence: The "Bad" example configuration includes illustrative hardcoded secrets like
sk-abc123realkey456and a database connection stringpostgresql://admin:password123@prod-db:5432/main. - Analysis: These are clearly marked as examples of insecure practices for auditing purposes and do not represent actual leaked credentials or malicious exfiltration intent.
Audit Metadata