swift-package-manager

Warn

Audited by Snyk on Feb 15, 2026

Risk Level: MEDIUM
Full Analysis

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

  • Third-party content exposure detected (high risk: 0.90). The documentation explicitly instructs the package manager to download and resolve remote dependencies from arbitrary public URLs (e.g., "swift package add-dependency https://github.com/apple/example-package-playingcard" and notes that "swift build" / "swift package resolve" fetches packages from GitHub and registries), so the agent workflow consumes untrusted, third‑party content from the open web.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Feb 15, 2026, 09:22 PM