Appearance
Why It Matters
Metadata-service and private-network host literals are high-signal indicators that a config is pointing at infrastructure-local or cloud-instance surfaces rather than an ordinary public service.
What Triggers
SEC310 applies to parsed JSON endpoint-like values and triggers when the host is a metadata or private-network literal.
Example that triggers:
json
{"url":"https://169.254.169.254/latest/meta-data"}Example that stays clean:
json
{"url":"https://api.example.com/mcp"}False Positives
This is a structural host-classification rule, not a prose heuristic. The main question is intent, not precision: sometimes the config is intentionally meant for local infrastructure access, but the signal remains review-worthy.
Remediation
Replace metadata or private-network host literals with a trusted public endpoint or a local stdio transport if the integration does not truly require infrastructure-local access.