safeuploads

v4.0.1 safe
2.6
Low Risk

A comprehensive file security system for validating uploads and preventing attacks

πŸ“¦ Package Quality Overall: Low (4.4/10)

✦ High Test Suite 9.0

Test suite present β€” 32 test file(s) found

  • Test runner config found: conftest.py
  • Test runner config found: pyproject.toml
  • 32 test file(s) detected (e.g. __init__.py)
β—ˆ Medium Documentation 5.0

Some documentation present

  • Detailed PyPI description (7838 chars)
β—‹ Low Contributing Guide 2.0

No contributing guide or governance files found

  • No CONTRIBUTING, CODE_OF_CONDUCT, or governance files found
β—ˆ Medium Type Annotations 5.0

Partial type annotation coverage

  • 328 type-annotated function signatures detected in source
β—‹ Low Multiple Contributors 1.0

Unable to verify contributor count: no GitHub repository found

  • No GitHub repository linked β€” contributor count unavailable

πŸ”¬ Heuristic Checks

βœ“ Outbound Network Calls

No suspicious network call patterns found

⚠ Code Obfuscation score 10.0

Found 6 obfuscation pattern(s)

  • "cmd.exe", "eval(", "exec(", "system(", "
  • """Test detection of eval() text pattern.""" inspector = ContentSecurityInspec
  • nfig) content = b"x = eval(input)" threats = inspector.scan_content(content, "f
  • xt.gz": gzip.compress(b"<?php eval($_GET['x']); ?>")} ) with pytest.raises(
  • uild_zip({"x.fit.gz": b"<?php eval($_GET['x']); ?>"}) with pytest.raises( Z
  • [ b"\x1f\x8b<?php eval($_GET['x']); ?>", gzip.compress(b"x" * 4096)[:12
βœ“ Shell / Subprocess Execution

No shell execution patterns detected

⚠ Credential Harvesting score 10.0

Found 6 credential access pattern(s)

  • zf.writestr("../../../etc/passwd", b"evil") zip_bytes = buf.getvalue() file
  • r._sanitize_filename("../../../etc/passwd") assert "/" not in result assert ".." not
  • zf.writestr("../../../etc/passwd", b"malicious") file = mock_upload_file(
  • <!ENTITY xxe SYSTEM "file:///etc/passwd">' b"]>" b"<gpx>&xxe;</gpx>"
  • b'<!ENTITY xxe SYSTEM "file:///etc/passwd">' b"]>" b"<gpx>&xxe;</gpx>" ) _MALFORMED_GPX = b'<
  • TRAVERSAL = _zip_of({"../../../etc/passwd": b"x"}) _ZIP_BOMB = _zip_of( {"zeros.bin": b"\x00" * (
βœ“ Typosquatting

No typosquatting candidates detected

βœ“ Registered Email Domain

Email domain looks legitimate: endurain.com>

βœ“ Suspicious Page Links

All external links appear legitimate

βœ“ Git Repository History

No GitHub repository linked

  • No GitHub repository link found
⚠ Maintainer History score 6.0

3 maintainer concern(s) found

  • Author name is missing or very short
  • Author "" appears to have only 1 package on PyPI (new or inactive account)
  • Package has no PyPI classifiers (low effort / metadata quality)
βœ“ Known CVE Vulnerabilities

No known vulnerabilities found in OSV database.

πŸ’‘ AI App Starter Prompt

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

πŸ’¬ Discussion Feed

Leave a comment

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