slack-mpm 0.1.7
Legitimate Slack MCP server package
Webshell file manager payload buildersPython __import__ call
SHA-256e1ea2bb9997c740cbdee863d96f6bbf6dfd0f860bd7f3528e3d462d709210687
MaleculeO(C)H₂(CmPo)
Evidence
17async def upload_file(
18 token: str,
19 channels: list[str],
20 content: str | bytes | None = None,
100 # Step 2: Upload the file bytes to the provided URL
101 async with httpx.AsyncClient(timeout=60.0) as client:
102 upload_resp = await client.post(
103 upload_url,
152 Args:
153 token: Slack bot token.
154 file: File ID (e.g., 'F1234567890'). # pragma: allowlist secret
110 for name, module in deps.items():
111 try:
112 __import__(module)
113 click.echo(f" {name}: [{click.style('OK', fg='green')}]")
114 except ImportError:
115 click.echo(f" {name}: [{click.style('MISSING', fg='red')}]")
116 all_deps_ok = False
⋯4 lines
25 user_id: str | None = Field(default=None, description="User ID associated with token")
26 bot_id: str | None = Field(default=None, description="Bot ID (for bot tokens)")
27 scopes: list[str] = Field(default_factory=list, description="OAuth scopes granted")
No evidence locations were recorded for this file. Raw result