langchain-common-errors

Fail

Audited by Snyk on Mar 12, 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 includes examples that set and pass API keys as string literals (e.g., os.environ["OPENAI_API_KEY"] = "sk-...", ChatAnthropic(api_key="sk-ant-...")), which instructs embedding secret values verbatim in code/commands and therefore encourages insecure handling/exfiltration.

Issues (1)

W007
HIGH

Insecure credential handling detected in skill instructions.

Audit Metadata
Risk Level
HIGH
Analyzed
Mar 12, 2026, 12:39 AM
Issues
1