filelock

v4.2.10 safe
2.1
Low Risk

A platform independent file lock.

📦 Package Quality Overall: Medium (5.6/10)

✦ High Test Suite 9.0

Test suite present — 29 test file(s) found

  • Test runner config found: conftest.py
  • Test runner config found: pyproject.toml
  • 29 test file(s) detected (e.g. async_filelock_cancellation_helpers.py)
✦ High Documentation 9.0

Well-documented package

  • Documentation URL: "Changelog" -> https://py-filelock.readthedocs.io/en/latest/changelog.html
  • 1 documentation file(s) (e.g. conf.py)
  • Detailed PyPI description (1028 chars)
○ Low Contributing Guide 4.0

No contributing guide or governance files found

  • Development Status classifier >= Beta
◈ Medium Type Annotations 5.0

Partial type annotation coverage

  • 940 type-annotated function signatures detected in source
○ Low Multiple Contributors 1.0

Could not retrieve contributor data from GitHub

  • GitHub API error: 401

🔬 Heuristic Checks

✓ Outbound Network Calls

No suspicious network call patterns found

⚠ Code Obfuscation score 4.0

Found 2 obfuscation pattern(s)

  • LockProtocolError: return pickle.loads(pickle.dumps(error, protocol=protocol)) # ruff:ignore[suspi
  • ock.AsyncFileLock) assert pickle.loads(payload) is filelock.AsyncFileLock # ruff:ignore[suspicious
⚠ Shell / Subprocess Execution score 10.0

Found 6 shell execution pattern(s)

  • print("True") """ child = subprocess.run( [sys.executable, "-c", child_probe], captur
  • stderr.strip()}") return subprocess.run(sys.argv[1:], check=False).returncode def _developer_mode(
  • _state() -> str: result = subprocess.run( ["whoami", "/priv"], # ruff:ignore[start-process-w
  • ng" directory.mkdir() subprocess.run( [Path(os.environ["SYSTEMROOT"], "System32", "icacls
  • loop).result()\n" ) subprocess.run([sys.executable, "-c", script, str(tmp_path / "a")], check=T
  • ode(status)) """ result = subprocess.run( [ sys.executable, "-c",
✓ Credential Harvesting

No credential harvesting patterns detected

✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

Email domain looks legitimate: gmail.com>

✓ Suspicious Page Links

All external links appear legitimate

⚠ Git Repository History score 3.0

GitHub API error: 401

  • GitHub API error: 401
⚠ Maintainer History score 4.0

2 maintainer concern(s) found

  • Author name is missing or very short
  • Author "" appears to have only 1 package on PyPI (new or inactive account)
✓ Known CVE Vulnerabilities

No known vulnerabilities found in OSV database.

💡 AI App Starter Prompt

Use this prompt to build a project with filelock
Build a simple Python application using the filelock package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

No discussion yet. Be the first to share your thoughts!