slack-client-fundamentals
Fail
Audited by Snyk on Feb 16, 2026
Risk Level: HIGH
Full Analysis
HIGH W007: Insecure credential handling detected in skill instructions.
- Insecure credential handling detected (high risk: 1.00). The prompt explicitly shows initializing the Slack client with a hardcoded bot token (e.g., slack.New("xoxb-your-bot-token")), which encourages embedding secret values verbatim in generated code and thus poses an exfiltration risk.
MEDIUM W011: Third-party content exposure detected (indirect prompt injection risk).
- Third-party content exposure detected (high risk: 0.80). The skill processes Slack user-generated messages and events (see internal/handlers/messages.go and events.go and its use of the Events API/Web API), which ingests untrusted third-party content from Slack and could enable indirect prompt injection.
Audit Metadata