msal

v1.39.0 safe
2.5
Low Risk

The Microsoft Authentication Library (MSAL) for Python library enables your app to access the Microsoft Cloud by supporting authentication of users with Microsoft Azure Active Directory accounts (AAD) and Microsoft Accounts (MSA) using industry standard OAuth2 and OpenID Connect.

📦 Package Quality Overall: Medium (5.2/10)

✦ High Test Suite 9.0

Test suite present — 27 test file(s) found

  • 27 test file(s) detected (e.g. test_account_source.py)
◈ Medium Documentation 7.0

Some documentation present

  • Documentation URL: "Documentation" -> https://msal-python.readthedocs.io/
  • Detailed PyPI description (9534 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

  • 24 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 score 7.5

Found 5 network call pattern(s)

  • self.http_client = requests.Session() self.http_client.verify = verify
  • t. For example, you can use ``requests.Session()``, optionally with exponential backoff behavi
  • r, Retry s = requests.Session() retries = Retry(total=3, backoff_factor=0
  • http_client=requests.Session(), ) token = client.acquire_to
  • service_fabric_client = requests.Session() service_fabric_client.headers = http_client.headers.c
✓ Code Obfuscation

No obfuscation patterns detected

⚠ Shell / Subprocess Execution score 4.0

Found 2 shell execution pattern(s)

  • wslu exit_code = subprocess.call(['wslview', auth_uri]) browser_opened = exit_co
  • exit_code = subprocess.call(['explorer.exe', auth_uri]) browser_opened
⚠ Credential Harvesting score 2.5

Found 1 credential access pattern(s)

  • _input("username: "), getpass.getpass("password: "), scopes=_input_scopes())) def _acquire_toke
✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

Email domain looks legitimate: microsoft.com

⚠ Suspicious Page Links score 6.0

Found 3 suspicious link(s) on the package page

  • Non-HTTPS external link: http://semver.org/
  • Non-HTTPS external link: http://stackoverflow.com/questions/tagged/msal
  • Non-HTTPS external link: http://aka.ms/bugbounty
⚠ Git Repository History score 3.0

GitHub API error: 401

  • GitHub API error: 401
⚠ Maintainer History score 2.0

1 maintainer concern(s) found

  • Author "Microsoft Corporation" 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 msal
Build a simple Python application using the msal package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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