Encrypted communication

From RedHatProductSecurity/prodsec-skills · View interactive version

Encrypted communication is an AI agent skill from the GitHub repository RedHatProductSecurity/prodsec-skills. Enforce encrypted communication with external data sources. Use when designing, configuring, or reviewing network connections between AI systems and external databases, APIs, or data services.

How to use this skill

Skill file

Encrypted Communication with External Data Sources

Security Requirement

Network communication with external data sources MUST be encrypted. This applies to all connections, not just those carrying sensitive data.

Rationale

Encrypted communication is required for:

  1. Confidentiality: Prevent interception of data in transit
  2. Integrity: Prevent tampering with data in transit
  3. Compliance: Required by widespread security standards and zero trust architectures
  4. Zero trust: In a zero trust model, no network path is considered trustworthy, so all communication must be encrypted regardless of whether it is "internal" or "external"

Encryption Requirements

| Requirement | Details |

|---|---|

| TLS version | TLS 1.2 minimum; TLS 1.3 preferred |

| Certificate validation | Verify server certificates; do not disable certificate checks |

| Strong cipher suites | Use only modern, approved cipher suites |

| Protocol enforcement | Reject plaintext fallback; fail closed if encryption cannot be established |

Common Data Source Connections

| Data Source | Encrypted Protocol |

|---|---|

| REST APIs | HTTPS (TLS) |

| PostgreSQL / MySQL | TLS-encrypted connections (sslmode=verify-full) |

| MongoDB | TLS (tls=true&tlsAllowInvalidCertificates=false) |

| Redis | TLS (Redis 6+) |

| Elasticsearch | HTTPS |

| S3 / Object storage | HTTPS |

| gRPC services | gRPC over TLS |

Implementation Checklist

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.