T08 · Insecure Dependencies
Warning
- Location
SKILL.md:11- Finding
Unpinned Third-Party Tooling Handles Privileged Sendbird Credentials and Operations
- Content
View full analysis
pontx-hub sdk sendbird-chat-platform ``` Use `@pontx/sendbird-chat-platform` in application code and `pontx-sendbird-chat-platform` for an optional local script. ``` ```markdown - The generated SDK attaches the Application API Token as the `api-token` request header. Provide it via the `SENDBIRD_API_TOKEN` environment variable; never log, print, or commit it, and never put it in a request example. ``` ```markdown ```bash pnpm exec pontx-sendbird-chat-platform list apis pnpm exec pontx-sendbird-chat-platform call --dry-run ``` ``` ### Technical Analysis The skill instructs users to discover API contracts and execute the `pontx-hub` and `pontx-sendbird-chat-platform` tooling without specifying exact package versions, integrity hashes, a lockfile, a verified source repository, or publisher-validation requirements. The generated SDK is trusted with `SENDBIRD_API_TOKEN` and can issue administrative requests involving users, channels, messages, moderation, bots, and announcements. Because dependency identity and contents are not pinned, a compromised publisher account, malicious package replacement, dependency-confusion event, or unexpectedly unsafe update could introduce attacker-controlled code. Such code would execute in the local package-manager context and could read environment variables, change request destinations or bodies, or make additional requests outside the documented preview workflow. The use of live Pontx contract discovery further makes operational behavior dependent on mutable external content rather than a locally reviewed and immutable API contract. The skill's preview-and-confirmation ...[truncated 1841 chars]- Remediation
View remediation
