g4f
PyPIIs g4f safe to use?
Based on the latest brin safety scan, no vulnerabilities or threats were detected for g4f v7.0.7. Trust score: 75/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)
g4f Passed Security Checks
No security concerns detected
0
0
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.
g4f Capabilities & Permissions
What g4f can access when installed. Review these capabilities before using with AI agents like Cursor, Claude Code, or Codex.
Network Access
This package makes network requests.
Filesystem Access
Reads and writes to the filesystem.
Process Spawning
This package can spawn child processes.
Environment Variables
Accesses the following environment variables.
Native Modules
Contains native code that runs outside the JavaScript sandbox.
AGENTS.md for g4f
Good instructions lead to good results. brin adds g4f documentation to your AGENTS.md so your agent knows how to use it properly—improving both safety and performance.
brin initVercel's research: 100% accuracy with AGENTS.md vs 53% without →
g4f Documentation & Source Code
For the full g4f README, API documentation, and source code, visit the official package registry.
Frequently asked questions about g4f safety
Install (safety-checked)
Weekly Downloads
Version
7.0.7License
MITLast Scanned
Trust Score
Capabilities
Connects to: 01-ai.github.io, 01.ai, accounts.google.com...
Reads & Writes files
Spawns child processes
Accesses: APPDATA, AZURE_API_ENDPOINT, AZURE_API_KEYS...
Contains native modules