Build chat applications with PubNub Chat SDK
97
72%
Does it follow best practices?
Impact
100%
1.13xAverage score across 20 eval scenarios
Risky
Do not use without reviewing
Security
2 findings — 1 high severity, 1 medium severity. You should review these findings carefully before considering using this skill.
The skill handles credentials insecurely by requiring the agent to include secret values verbatim in its generated output. This exposes credentials in the agent’s context and conversation history, creating a risk of data exfiltration.
Insecure credential handling detected (high risk: 1.00). The prompt shows API keys/authKey as string literals in the initialization example and requires the LLM to include SDK initialization with keys in outputs, which encourages embedding secret values verbatim (high exfiltration risk).
The skill exposes the agent to untrusted, user-generated content from public third-party sources, creating a risk of indirect prompt injection. This includes browsing arbitrary URLs, reading social media posts or forum comments, and analyzing content from unknown websites.
Third-party content exposure detected (high risk: 0.90). The skill explicitly instructs the agent to connect to PubNub channels and read user-generated messages (see SKILL.md core workflow "Connect to Channel" and references/chat-features.md use of channel.connect, getHistory, and public channels), which are untrusted third‑party content the agent would parse and could influence subsequent actions.