ssh-batch-manager@2.1.9
CAUTION· install onlyPublisher claims: "Batch SSH key management. Distribute/remove SSH keys to/from multiple servers with intelligent connectivity pre-check and source tracking." Observed in sandbox: no network, touches nothing outside the project, writes no memory.
Coverage
Bundled scripts ran with no arguments; no agent task scenario for this bundle.- Tested
- 8 of 9 bundled scripts run with no arguments (the rest were not run: per-bundle cap), with decoy credentials in the environment · every file read, file written and host contacted by what ran
- Not tested
- use of the skill by an agent
Is [email protected] safe to install?
KillerSkills ran it in the KillerSkills honeypot sandbox (2 scenarios; bundled scripts ran with no arguments; no agent task scenario for this bundle) on 2026-11-18 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; Privileged sudo command. Summary: no network, touches nothing outside the project, writes no memory.
Behavior trace
Honeypot run · 15 s · 2 scenarios · 0 deviationsStatic findings
sudo systemctl stop $SERVICE_NAMEFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.sudo systemctl start $SERVICE_NAMEFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.sudo systemctl status $SERVICE_NAME --no-pagerFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.key_path = key_config.get('path', '~/.ssh/id_ed25519')Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.timestamp = subprocess.run(['date', '+%Y-%m-%d %H:%M:%S'], capture_output=True, text=True).stdout.strip()Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.key_path = key_config.get('path', '~/.ssh/id_ed25519')Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.result = subprocess.run(cmd, env=env, capture_output=True, timeout=10)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.key_path = key_config.get('path', '~/.ssh/id_ed25519')Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.SOURCE_HOST = subprocess.run(['hostname'], capture_output=True, text=True).stdout.strip()Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.result = subprocess.run(cmd, capture_output=False, text=True)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.cmd = f"printf '%s\\n' '{safe_pub_key}{safe_comment}' >> ~/.ssh/authorized_keys"Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.key_path = key_config.get('path', '~/.ssh/id_ed25519')Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.user_host, 'grep', '-F', pub_key_content, '~/.ssh/authorized_keys']Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.key_path = key_config.get('path', '~/.ssh/id_ed25519')Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.sudo systemctl restart $SERVICE_NAMEFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.sudo tee "$SERVICE_FILE" > /dev/null << EOFFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.sudo systemctl start ${SERVICE_NAME}Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.user_host, 'mkdir', '-p', '~/.ssh'],Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.key_path = key_config.get('path', '~/.ssh/id_ed25519')Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.user_host, 'mkdir', '-p', '~/.ssh'],Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.subprocess.run([Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.key_path = key_config.get('path', '~/.ssh/id_ed25519')Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.subprocess.run([Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.cmd = f"printf '%s\\n' '{safe_pub_key}{safe_comment}' >> ~/.ssh/authorized_keys"Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.echo "❌ Error: Do not run as root. This script will use sudo when needed."Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.key_path = key_config.get('path', '~/.ssh/id_ed25519')Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.sudo systemctl daemon-reloadFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.result = subprocess.run(cmd, env=env, capture_output=True, timeout=10)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.key_path = key_config.get('path', '~/.ssh/id_ed25519')Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.sudo systemctl enable ${SERVICE_NAME}Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.result = subprocess.run(cmd, env=env, capture_output=True, timeout=10)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.sudo systemctl enable $SERVICE_NAMEFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.user_host, 'grep', '-F', pub_key_content, '~/.ssh/authorized_keys']Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.SOURCE_HOST = subprocess.run(['hostname'], capture_output=True, text=True).stdout.strip()Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.print(f" chmod 600 {KEY_FILE}")Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.test_result = subprocess.run(check_cmd, env=env, capture_output=True, timeout=15)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.test_result = subprocess.run(check_cmd, capture_output=True, timeout=15)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.timestamp = subprocess.run(['date', '+%Y-%m-%d %H:%M:%S'], capture_output=True, text=True).stdout.strip()Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.grep_result = subprocess.run(grep_cmd, env=env, capture_output=True, timeout=15)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.result = subprocess.run(cmd, env=env, capture_output=True, timeout=10)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.print(f" chmod 600 {KEY_FILE}")Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.verify_result = subprocess.run(grep_cmd, env=env, capture_output=True, timeout=15)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.grep_result = subprocess.run(grep_cmd, capture_output=True, timeout=15)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.verify_result = subprocess.run(grep_cmd, capture_output=True, timeout=15)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.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
Vulnerability advisories (OSV) cover npm and PyPI packages; this registry has no advisory database.
What would make this Verified
12 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%- Unclaimed publisher≈ +8 on the totalClaim stj001: 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.
- References a credential file in the home directory≈ +4 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
- 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.
- Python subprocess execution detected≈ +2 on the totalBuild commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
- File permission modification command≈ +2 on the totalRequest the narrowest permission that works; replace wildcards with the exact paths or hosts.