pexpect-cli

Fail

Audited by Snyk on Mar 31, 2026

Risk Level: HIGH
Full Analysis

HIGH W007: Insecure credential handling detected in skill instructions.

  • Insecure credential handling detected (high risk: 1.00). The prompt explicitly demonstrates sending a plaintext password (sendline('mypassword')) and guides embedding credentials into pexpect commands, which would require the LLM to include secret values verbatim in generated code or commands.

MEDIUM W011: Third-party content exposure detected (indirect prompt injection risk).

  • Third-party content exposure detected (high risk: 0.90). The SKILL.md workflow explicitly shows spawning remote/interactive processes (e.g., pexpect.spawn('ssh user@host') in the pexpect_exec examples) and instructs the agent to read and act on their output via child.before.decode()/print(), so the agent will ingest untrusted third‑party content from arbitrary remote hosts that can influence subsequent commands.

Issues (2)

W007
HIGH

Insecure credential handling detected in skill instructions.

W011
MEDIUM

Third-party content exposure detected (indirect prompt injection risk).

Audit Metadata
Risk Level
HIGH
Analyzed
Mar 31, 2026, 01:07 PM
Issues
2