subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
def ensure_deps() -> None: # Pin loosely; let pip resolve compatible versions. subprocess.run([str(PIP), "install", "-U", "podcastfy", "playwright"], check=True) # Podcastfy's website extractor may use Playwright. Ensure a browser is installed. try:- Confidence
- 86% confidence
- Finding
- This skill installs unpinned packages at runtime from the package ecosystem, which creates a substantial supply-chain attack surface. If a dependency or mirror is compromised, running the skill can execute attacker code during installation or later import, especially because the action happens automatically as part of normal use.
