nac-test

v2.1.0 safe
2.9
Low Risk

A CLI tool to render to execute Robot Framework (RF) and PyATS tests for Network as Code (NAC).

📦 Package Quality Overall: Medium (5.2/10)

✦ High Test Suite 9.0

Test suite present — 4 test file(s) found

  • Test runner config found: pyproject.toml
  • 4 test file(s) detected (e.g. base_test.py)
◈ Medium Documentation 7.0

Some documentation present

  • Documentation URL: "documentation" -> https://github.com/netascode/nac-test
  • Detailed PyPI description (38677 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

  • 261 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)

  • thentication... request = urllib.request.Request(f"{url}/auth", method="POST") # ... authenticati
  • code(body_b64) request = urllib.request.Request(url, data=body, headers=headers, method=method)
  • d=method) https_handler = urllib.request.HTTPSHandler(context=ssl_context) opener = urllib.reques
  • ext=ssl_context) opener = urllib.request.build_opener(https_handler) try: response = ope
  • "] = base_url return httpx.AsyncClient(**client_kwargs) # SPDX-License-Identifier: MPL-2.0 # Copyr
⚠ Code Obfuscation score 4.0

Found 2 obfuscation pattern(s)

  • if body_b64: body = base64.b64decode(body_b64) request = urllib.request.Request(url, data=bo
  • ase64 content_bytes = base64.b64decode(response_data["content_b64"]) return SubprocessResp
⚠ Shell / Subprocess Execution score 10.0

Found 6 shell execution pattern(s)

  • nternally) Solution: Use os.system() with temp files to execute authentication in a clean s
  • 2. Spawns a subprocess via os.system() (the ONLY fork-safe method) 3. The subprocess reads pa
  • """Parse the exit code from os.system() return value. On Windows, os.system() returns the com
  • eturn value. On Windows, os.system() returns the command's exit code directly. On Unix/macO
  • directly. On Unix/macOS, os.system() returns the result of waitpid() which encodes the exit
  • de: The raw return value from os.system(). Returns: The actual exit code of the subproc
✓ Credential Harvesting

No credential harvesting patterns detected

✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

Email domain looks legitimate: cisco.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 nac-test
Build a simple Python application using the nac-test package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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