pwncat-mcp@0.0.3
CAUTION· install onlyPublisher claims: "Reverse and bind shell automation framework with MCP server" Observed in sandbox: no network, touches nothing outside the project, writes no memory.
Coverage
Nothing executable in the bundle ran; the trace covers the install step only.- Tested
- every file read, file written and host contacted by what ran
- Not tested
- use of the skill by an agent
What this means for the label: Caution here covers what ran. The server's tools were not exercised with a real credential, so nothing about their behavior is asserted; the credential summary below says what to do with that.
Before you give it your token
- It will ask for
- no credential variables read in the code
- Where it talks to
- no vendor host named in the codeAlso cryptography.io, githubusercontent.com — not the publisher's domain; check what for before connecting.
- What the honeypot saw
- no credential files read · no network
- What we could not test
- use of the skill by an agent
Connect it under the guard. Nothing executable in the bundle ran; the trace covers the install step only. The code names no credential variable; the guard pins the network to what the honeypot saw and logs every call.
Never paste a credential into a chat, a ticket or a report, including ours. How the guard holds it.
Is [email protected] safe to install?
KillerSkills ran it in the KillerSkills honeypot sandbox (1 scenario; nothing executable in the bundle ran; the trace covers the install step only) on 2026-11-15 and scored it 68/100 (Caution). It is not known to be malicious, but it has behaviour or code a security policy should decide on before install. Notable findings: Privileged sudo command; Privileged sudo command; Access to sensitive file paths. Summary: no network, touches nothing outside the project, writes no memory.
Behavior trace
Honeypot run · 0 s · 1 scenarios · 0 deviationsStatic findings
self.parser.error("cannot use both kill and init arguments")Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.with things like SETUID binaries and sudo rules. A full list of all supportedFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.sudo_command = "sudo -p 'Password: ' "Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell."""Implant tracker for a user added directly to /etc/passwd"""Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose."payload": "TERM= {command} /etc/passwd",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose."""Check if this method is compatible with the given sudo command spec.Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.If this method is incompatible with the given sudo spec, SudoNotPossibleFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.path = session.platform.Path("/etc/passwd")Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.raise PermissionError("incorrect password or sudo permissions")Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.raise NotImplementedError(f"sudo not implemented for platform {self.name}")Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell."'import os; os.system(\"{shell} -p\");gimp.exit()'"Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell."payload": "TF=$({mktemp} -u); echo 'import os; os.system(\"{shell} -p\"); exit(0)' > $TF; {command}; {rm} -f $TF",Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell."""The given sudo command spec is not compatible with the method attempted."""Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.raise PermissionError("incorrect password or sudo permissions")Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.# We use a longer timeout because sudo sometimes waitsFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.with session.platform.open("/etc/passwd", "w") as filp:Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.raise ModuleFailed("failed to read /etc/passwd")Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.raise ModuleFailed("failed to write /etc/passwd")Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.if args.kill and args.init:Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell."description": "Execute a command with sudo on the remote target.",Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.sudo_command = "sudo -n "Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.if (args.kill or args.init) and args.id is None:Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.# Normally, the hash is only stored in /etc/shadowFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.of arguments that need to be added_lines to the sudo spec in order for it toFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.with session.platform.open("/etc/passwd", "r") as filp:Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose."""Modify a symbolic link's mode (same as chmod for non-symbolic links)"""Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.subprocess.run(command, check=True, capture_output=True)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out."payload": "TF=$({mktemp} -d); echo '#!{shell} -p' > $TF/groff; echo '{shell} -p' >> $TF/groff; chmod +x $TF/groff; GROFF_BIN_PATH=$TF {command}",Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.# things can get wonky. We prevent that by kill stdin unlessFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.if args.list or (not args.kill and args.session_id is None):Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell."--eval '(chmod \"{shell}\" #o4755)'",Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.to change context between sessions or kill active sessions which wereFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.subprocess.run(args, shell=True)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.# kill the wedged remote process so command_running resetFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.Cost to the agent
Tokens estimated at four characters each. Skills load their instruction text when triggered; the figure is what that costs.
Known vulnerabilities
No advisories in OSV for pwncat-mcp@0.0.3 as of 47 min ago. This is the package itself, not its dependencies.
What would make this Verified
12 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%- OS command execution function call detected≈ +9 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
- Unclaimed publisher≈ +8 on the totalClaim vip3r-mc: a verified publisher gets +50 on publisher trust. It is free and usually instant with GitHub sign-in.
- Privileged sudo command≈ +4 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
- Access to sensitive file paths≈ +4 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
- Process kill command≈ +2 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
- File permission modification command≈ +2 on the totalRequest the narrowest permission that works; replace wildcards with the exact paths or hosts.