More screenshots

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    Repair Django Channels Group Membership Leak

    1

    Diagnose Django Channels group subscription leaks that deliver stale or unauthorized socket events.

    $2.99

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Repair Django Channels Group Membership Leak

    Repair Django Channels Group Membership Leak

    Example session with this skill installed

    A disconnected dashboard still receives alerts after users switch to a different account.

    Available evidence: channel layer group naming rules and consumer connect and disconnect code (partial extracts only). Additional sources requested: socket delivery logs and tenant subscription fixtures. Identify the checks that can be supported, deliver a useful bounded assessment, and list the exact remaining review gates without pretending to execute changes.

    • Read your context and instructions
    • Compiled the repair django channels

    Repair Django Channels Group Membership Leak — EVIDENCE-LIMITED REVIEW

    Scenario received

    A disconnected dashboard still receives alerts after users switch to a different account.

    Evidence inventory

    • S1: channel layer group naming rules — partial extract described by the requester; original full source not provided here.
    • S2: consumer connect and disconnect code — partial extract described by the requester; original full source not provided here.
    • S3: socket delivery logs — NOT PROVIDED; required to validate dependent findings.
    • S4: tenant subscription fixtures — NOT PROVIDED; required to validate dependent findings.

    Case-specific checks

    Trace group joins and departures. INCOMPLETE until matching source anchors can be examined; document the observable facts, counterexamples and decision gate.
    2.

    Compare group keys with tenant identity. INCOMPLETE until matching source anchors can be examined; document the observable facts, counterexamples and decision gate.
    3.

    Identify stale connection cleanup gaps. INCOMPLETE until matching source anchors can be examined; document the observable facts, counterexamples and decision gate.
    4.

    Test disconnect and reconnect isolation. INCOMPLETE until matching source anchors can be examined; document the observable facts, counterexamples and decision gate.

    Deliverables

    Group lifecycle evidence map. Create an evidence-linked section with observations, missing data, owner and next validation step.

    Consumer cleanup patch. Create an evidence-linked section with observations, missing data, owner and next validation step.

    Cross tenant socket test matrix. Create an evidence-linked section with observations, missing data, owner and next validation step.

    Acceptance gate

    The fix removes stale group membership and verifies that cross tenant events remain inaccessible. Do not label this gate passed until supplied source records actually demonstrate it.

    Verdict and next action

    INCOMPLETE — evidence required. Request S3 and S4 from the authorized owner, reconcile them with S1 and S2, then repeat the four checks and log remaining conflicts. No production change, approval, communication, or test run is claimed.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Django Channels applications often suffer from group membership leaks where users receive stale or unauthorized socket events after switching accounts or disconnecting. This skill diagnoses and repairs these leaks by auditing consumer lifecycles and group naming conventions.

    What it does

    • Trace group lifecycles by mapping group_add and group_discard calls against connection events.
    • Audit tenant isolation to ensure group keys align strictly with tenant identity and user permissions.
    • Identify cleanup gaps in disconnect methods that fail to purge memberships during unclean exits.
    • Verify connection isolation to prevent cross-tenant event leakage during rapid reconnects.

    How it works

    1. Source Registration: Index provided consumer code, layer configurations, and socket delivery logs into an evidence register.
    2. Lifecycle Analysis: Execute a step-by-step trace of how groups are joined and departed based on observed code paths.
    3. Constraint Checking: Compare group naming logic against tenant fixtures to find collision points.
    4. Patch Generation: Produce a consumer cleanup patch and a test matrix to validate the fix.

    Frameworks & tools

    This skill is built for Python developers using Django, Django Channels, and Redis or similar backing layers for asynchronous messaging.

    Why this beats prompting it yourself

    Generic prompts often miss the subtle difference between group_discard failures and stale layer state. This skill enforces a strict evidence register and decision gates to ensure fixes are based on your actual code rather than hallucinations.

    Use cases

    • Fix dashboards receiving alerts from previously logged-in accounts.
    • Prevent websocket events from leaking between different client tenants.
    • Patch consumer disconnect logic to handle unexpected socket closures.
    • Audit group naming rules for potential collisions in multi-tenant apps.

    Known limitations

    Does not perform live system access or execute actual migrations. Requires manual provision of consumer code and logs.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for APIs & Backend.

    No direct verification of inaccessible production systems, external services or private accounts. Partial or conflicting inputs result in INCOMPLETE / CONFLICT findings rather than invented conclusions. Domain-sensitive decisions require qualified owner review.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 26 days ago

    Permissions

    Read Files

    Provide only materials you are authorized to share. Use a reviewed environment for proposed changes; keep deployment, production modifications, and third-party communication under explicit human approval.

    Listed26 days ago

    What's inside

    Frequently Asked Questions

    This skill identifies why users might still receive updates after logging out or switching accounts by auditing your consumer's `group_discard` logic and lifecycle management.

    The skill is optimized for environments using Django Channels with a Redis Channel Layer, though it can analyze any consumer-based implementation that utilizes `async_to_sync` or asynchronous group methods.

    You will receive a comprehensive diagnostic report identifying leak points, a specific patch for your consumer code, and a custom test matrix to verify the fix in your development environment.

    No, the skill operates by analyzing provided code snippets and logs to ensure security; it does not require or request direct access to your production servers or live database.

    Unlike basic prompts, this skill uses a structured 'evidence register' to map your specific connection events, ensuring the solution addresses your actual code structure rather than providing generic boilerplate.

    New in APIs & Backend