HuangtingFlux — Huangting Protocol MCP Server

Reduces AI Agent token usage by 40% via three-stage SOP workflow.

XianDAO-Labsapi-integration
0Tools
15Findings
Stars
Downloads
Mar 24, 2026Last Scanned

Findings15

7critical
7high
0medium
1low
0informational
criticalC12Unsafe DeserializationMCP03-command-injectionAML.T0054
[AST taint — Python] environment source "os.environ" (L31) → assignment(L31) → assignment(L58) → assignment(L672) → assignment(L674) → deserialization sink "json.loads(raw)" (L114). Arbitrary code execution via pickle. Module: pickle. Known sanitizers: none.
Use yaml.safe_load() instead of yaml.load(). Never unpickle untrusted data. Use JSON for serialization.
criticalC12Unsafe DeserializationMCP03-command-injectionAML.T0054
[AST taint — Python] environment source "os.environ" (L31) → assignment(L31) → assignment(L58) → assignment(L672) → assignment(L674) → deserialization sink "json.loads(raw)" (L467). Arbitrary code execution via pickle. Module: pickle. Known sanitizers: none.
Use yaml.safe_load() instead of yaml.load(). Never unpickle untrusted data. Use JSON for serialization.
criticalC12Unsafe DeserializationMCP03-command-injectionAML.T0054
[AST taint — Python] environment source "os.environ" (L31) → assignment(L31) → assignment(L58) → assignment(L672) → assignment(L674) → deserialization sink "json.loads(raw)" (L676). Arbitrary code execution via pickle. Module: pickle. Known sanitizers: none.
Use yaml.safe_load() instead of yaml.load(). Never unpickle untrusted data. Use JSON for serialization.
criticalH1MCP OAuth 2.0 Insecure ImplementationASI03-identity-privilege-abuseAML.T0054
[Protocol] OAuth vulnerability at L598: redirect_uri from user input — auth code injection. Match: "redirect_uri = params.".
Follow RFC 9700 (OAuth 2.1). Use authorization code flow with PKCE. Store tokens in HTTP-only cookies, not localStorage. Validate redirect_uri server-side.
criticalK8Cross-Boundary Credential SharingMCP05-privilege-escalationAML.T0054
Pattern "(return|respond|output|result).*(?:token|credential|api[_\s-]?key|secret|password|bearer)" matched in source_code: "result["baseline_estimate"]["total_token" (at position 13935)
Never forward, share, or embed credentials across trust boundaries. Use OAuth token exchange (RFC 8693) to create scoped, delegated tokens instead of passing original credentials. Never include credentials in tool responses. Required by ISO 27001 A.5.17 and OWASP ASI03.
criticalQ13MCP Bridge Package Supply Chain AttackMCP10-supply-chainAML.T0054
Pattern "(?:mcp|fastmcp|langchain-mcp|llama-index-mcp)(?:>=|~=|==)?(?!\d)" matched in source_code: "mcp" (at position 1464)
MCP bridge packages (mcp-remote, mcp-proxy, @modelcontextprotocol/sdk, fastmcp) are high-value supply chain targets — CVE-2025-6514 (CVSS 9.6) in mcp-remote affected 437,000+ installs. Always pin exact versions (no ^ or ~ ranges). Use lockfiles (package-lock.json, pnpm-lock.yaml, uv.lock). Never run `npx mcp-remote` without version pinning. Verify package integrity with `npm audit` or `pip-audit` before deployment. Reference: CVE-2025-6514, OWASP ASI04.
criticalQ6Agent Identity Impersonation via MCPMCP05-privilege-escalationAML.T0054
Pattern "(?:agent[_\s-]?id|agent[_\s-]?name|agent[_\s-]?role|caller[_\s-]?agent|source[_\s-]?agent).*(?:param|arg|input|string)" matched in source_code: "agent_id = arg" (at position 17495)
MCP tools in multi-agent systems must verify agent identity cryptographically — never accept agent_id/agent_role as plain string parameters. Use cryptographic attestation (signed tokens, mTLS certificates, or capability tokens) for inter-agent communication. Implement the principle of least privilege: each agent should only be able to claim its own identity. Reference: OWASP ASI03, arXiv 2602.19555.
highD1Known CVEs in DependenciesMCP08-dependency-vuln
Dependency "redis@null" has known CVEs:
Update dependencies to versions that patch known CVEs. Run 'npm audit fix' or 'pip-audit' to identify and resolve vulnerable dependencies.
highD1Known CVEs in DependenciesMCP08-dependency-vuln
Dependency "websockets@null" has known CVEs:
Update dependencies to versions that patch known CVEs. Run 'npm audit fix' or 'pip-audit' to identify and resolve vulnerable dependencies.
highK13Unsanitized Tool OutputMCP02-tool-poisoningAML.T0054
Pattern "(?:readFile|read_file|open).*(?:return|respond|result|content|text)(?!.*(?:sanitize|escape|encode|strip|filter|validate|truncate))" matched in source_code: "OPENAI_API_KEY not set — return" (at position 14488)
Sanitize all external data before including in tool responses. Implement output encoding that neutralizes prompt injection patterns. Truncate excessively long content. Validate structure before passing database results. Apply the principle: treat all external data as untrusted, even in tool outputs. Required by CoSAI MCP-T4.
highK18Cross-Trust-Boundary Data Flow in Tool ResponseMCP04-data-exfiltrationAML.T0054
Pattern "(?:process\.env|os\.environ|config|settings).*(?:fetch|axios|http|post|send|webhook)" matched in source_code: "os.environ.get("HUB_URL", "http" (at position 1429)
Implement data flow taint tracking: tag data from sensitive sources (databases, credentials, files) and prevent it from flowing to external sinks (HTTP, webhooks, email) without explicit sanitization/redaction. Apply data classification and enforce boundary controls per trust level. Required by ISO 27001 A.5.14 and CoSAI MCP-T5.
highN10Incomplete Handshake Denial of ServiceMCP07-insecure-configAML.T0054
Pattern "(?:async\s+def\s+handle_connection|await\s+websocket\.accept)\s*\((?!.*(?:timeout|max_connections|connection_limit))" matched in source_code: "await websocket.accept(" (at position 2634)
Enforce a handshake timeout (recommended: 30 seconds) — terminate connections that do not complete the initialize handshake within the deadline. Limit maximum concurrent pending connections. An attacker can exhaust server connection slots by initiating MCP connections without completing the handshake (Slowloris-style attack). Reference: MCP spec 2025-03-26 lifecycle — initialize MUST complete before functional requests.
highD1Known CVEs in DependenciesMCP08-dependency-vuln
Dependency "fastapi@null" has known CVEs:
Update dependencies to versions that patch known CVEs. Run 'npm audit fix' or 'pip-audit' to identify and resolve vulnerable dependencies.
highD1Known CVEs in DependenciesMCP08-dependency-vuln
Dependency "uvicorn@null" has known CVEs:
Update dependencies to versions that patch known CVEs. Run 'npm audit fix' or 'pip-audit' to identify and resolve vulnerable dependencies.
lowF4MCP Spec Non-ComplianceMCP07-insecure-config
Server fails MCP spec compliance checks: required:server_name; required:server_version; required:protocol_version; recommended:tool_descriptions; recommended:parameter_descriptions
Follow the MCP specification for server metadata. Include server name, version, and protocol version. Provide descriptions for all tools and parameters.

Tools

No tools exposed by this server.

Security Category Deep Dive

Sub-Category Tree · Remediation Roadmap · Attack Stories · Compliance Overlay · ATLAS Techniques · Maturity Model

Prompt Injection
Prompt & context manipulation attacks
69
Maturity
14
Rules
5
Sub-Categories
1
Gaps
64%
Implemented
56
Tests
1
Stories
PI-DIRDirect Input Injection
100%3 rules
Injection via tool descriptions and parameter fields
GAP-001Prompt Injection Coverage GapMissing detection coverage for emerging prompt injection attack variants not addressed by current rules
PI-INDIndirect / Gateway Injection
100%4 rules
Hidden instructions via external content and tool responses
PI-CTXContext Manipulation
100%2 rules
Context window saturation and prior-approval exploitation
PI-ENCEncoding & Obfuscation
100%3 rules
Payload hiding via invisible chars, base64, schema fields
PI-TPLTemplate & Output Poisoning
100%2 rules
Injection via prompt templates and runtime tool output
Framework Coverage
OWASP MCP Top 1014/14
MITRE ATLAS14/14
CoSAI MCP2/14
OWASP Agentic Top 1012/14
Kill Chain Phases
0Initial Access
0Defense Evasion
0Execution
0Persistence