pyautogui

PyPI

Is pyautogui safe to use?

Based on the latest brin safety scan, no vulnerabilities or threats were detected for pyautogui v0.9.54. Trust score: 85/100. No known CVE vulnerabilities, no detected threat patterns, and no suspicious capabilities identified. This is an automated, point-in-time assessment.

Install (safety-checked)

pyautogui Passed Security Checks

No security concerns detected

clean
CVEs

0

Threats

0

Install Scripts

0

No Concerns Detected

No security concerns detected in the latest brin assessment. This is an automated, point-in-time evaluation — security posture may change.

This is an automated, point-in-time assessment and may contain errors. Findings are risk indicators, not confirmed threats. Security posture may change over time. Maintainers can dispute findings via the brin review process.

pyautogui Capabilities & Permissions

What pyautogui can access when installed. Review these capabilities before using with AI agents like Cursor, Claude Code, or Codex.

Filesystem Access

Reads and writes to the filesystem.

.env (rw)

Process Spawning

This package can spawn child processes.

Environment Variables

Accesses the following environment variables.

DISPLAY

Native Modules

Contains native code that runs outside the JavaScript sandbox.

ctypes

AGENTS.md for pyautogui

Good instructions lead to good results. brin adds pyautogui documentation to your AGENTS.md so your agent knows how to use it properly—improving both safety and performance.

brin init

Vercel's research: 100% accuracy with AGENTS.md vs 53% without →

pyautogui Documentation & Source Code

For the full pyautogui README, API documentation, and source code, visit the official package registry.

Frequently asked questions about pyautogui safety

Weekly Downloads

405.9K

Version

0.9.54

Last Scanned

Feb 5, 2026

Trust Score

85/100·Legitimacy signals, not safety

Capabilities

Filesystem

Reads & Writes files

Process

Spawns child processes

Environment

Accesses: DISPLAY

Native

Contains native modules