cometchat-android-v5-production — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited cometchat-android-v5-production (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Ground truth:com.cometchat:chat-uikit-android:5.x(legacy/maintenance-only; +calls-sdk-android:5.x) — resolved AAR (javap) +ui-kit/android. Official docs: https://www.cometchat.com/docs/fundamentals/user-auth · Docs MCP:claude mcp add --transport http cometchat-docs https://www.cometchat.com/docs/mcp(or fetch the URL directly without MCP). Verify symbols against the installed package/source before relying on them.
Companion skills:cometchat-android-v5-corecovers dev-mode login;cometchat-android-v5-pushcovers push notification setup for production.
This skill covers hardening a CometChat Android integration for production: replacing client-side Auth Key with server-side token generation, user management CRUD, ProGuard/R8 rules, and security best practices.
cometchat-android-v5-corecometchat-android-v5-featuresIn dev mode, CometChatUIKit.login(uid) uses the Auth Key embedded in your app. Anyone can decompile the APK, extract the key, and login as ANY user. Production deployments MUST use server-side token generation.
Client → Your Server → CometChat REST API → auth token → Client
Client calls CometChatUIKit.loginWithAuthToken(token)Your server calls: POST https://{APP_ID}.api-{REGION}.cometchat.io/v3/users/{uid}/auth_tokens with headers: appId, apiKey (REST API Key, NOT Auth Key).
Java:
// Fetch token from YOUR backend
String token = fetchTokenFromYourServer(currentUserId);
CometChatUIKit.loginWithAuthToken(token, new CometChat.CallbackListener<User>() {
@Override
public void onSuccess(User user) {
// Navigate to chat
}
@Override
public void onError(CometChatException e) {
// Handle error
}
});Add to proguard-rules.pro:
-keep class com.cometchat.** { *; }
-keep class com.cometchat.chatuikit.** { *; }
-dontwarn com.cometchat.**loginWithAuthToken() used instead of login(uid)loginWithAuthToken().~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.