exploiting-smb-vulnerabilities-with-metasploit

Fail

Audited by Snyk on Jun 20, 2026

Risk Level: CRITICAL
Full Analysis

HIGH W007: Insecure credential handling detected in skill instructions.

  • Insecure credential handling detected (high risk: 1.00). The prompt embeds plaintext credentials and NTLM password hashes directly in example commands (e.g., 'TestPass123', Administrator hashes, set SMBPass / -H flags), which requires the LLM to include secret values verbatim in outputs — a high exfiltration risk.

CRITICAL E006: Malicious code pattern detected in skill scripts.

  • Malicious code pattern detected (high risk: 1.00). The content provides explicit exploit and post-exploit instructions (EternalBlue, Meterpreter reverse shells, hashdump/NTDS.dit extraction, NTLM relay/responder, pass‑the‑hash, psexec) that enable remote code execution, credential theft, lateral movement and data exfiltration — all high-risk, dual‑use behaviors that can be used as backdoors or for malicious compromise.

HIGH W008: Secret detected in skill content (API keys, tokens, passwords).

  • Secret detected (high risk: 1.00). I scanned the document for literal credentials. I found NTLM password hashes that are high-entropy and directly usable for authentication/”pass-the-hash”:
  • "Administrator:500:aad3b435b51404eeaad3b435b51404ee:e19ccf75ee54e06b06a5907af13cef42:::" (hashdump output)
  • The same NT hash shown alone: "e19ccf75ee54e06b06a5907af13cef42"
  • The combined hash used in commands: "aad3b435b51404eeaad3b435b51404ee:e19ccf75ee54e06b06a5907af13cef42"

These are not placeholders — they are real-looking, random hex hashes (high entropy) and are used in examples of pass-the-hash / psexec / crackmapexec invocation, so they constitute usable credentials that should be treated as secrets. Note: aad3b435b51404eeaad3b435b51404ee is the well-known LM “empty” filler value, but when paired with the NT hash it exposes the NT credential usable for authentication.

I also encountered "TestPass123" in a sample command; that is a low-entropy test password and is treated as an example (ignored per rules).


MEDIUM W013: Attempt to modify system services in skill instructions.

  • Attempt to modify system services in skill instructions detected (high risk: 1.00). The prompt explicitly instructs running privileged commands on the agent host (e.g., using sudo for impacket-ntlmrelayx and responder) and directs the agent to perform intrusive exploitation and post‑exploitation actions that modify target systems' state (uploading/creating services, dumping hashes, executing payloads), which clearly pushes the agent to compromise machine state.

Issues (4)

W007
HIGH

Insecure credential handling detected in skill instructions.

E006
CRITICAL

Malicious code pattern detected in skill scripts.

W008
HIGH

Secret detected in skill content (API keys, tokens, passwords).

W013
MEDIUM

Attempt to modify system services in skill instructions.

Audit Metadata
Risk Level
CRITICAL
Analyzed
Jun 20, 2026, 11:44 AM
Issues
4
Security Audit — snyk — exploiting-smb-vulnerabilities-with-metasploit