p4net

v1.10.1 safe
2.6
Low Risk

A P4Runtime-native SDN simulation framework for BMv2.

📦 Package Quality Overall: Medium (5.2/10)

✦ High Test Suite 9.0

Test suite present — 47 test file(s) found

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

Some documentation present

  • 2 documentation file(s) (e.g. hreflang.py)
  • Detailed PyPI description (5607 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

  • 623 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 8.0

Found 4 obfuscation pattern(s)

  • (net):\n" " assert pickle.loads(pickle.dumps(HostConfig(1))) == HostConfig(1)\n" "
  • ip='10.0.0.1/24')" assert pickle.loads(pickle.dumps(module.config)) == module.config assert mod
  • second")): restored = pickle.loads(pickle.dumps(module.config)) assert type(restored) i
  • __name__) is valid assert pickle.loads(pickle.dumps(valid.config)) == valid.config def test_main_
⚠ Shell / Subprocess Execution score 10.0

Found 6 shell execution pattern(s)

  • [str]: try: out = subprocess.check_output(["ip", "netns", "list"], text=True) except (subprocess.S
  • [str]: try: out = subprocess.check_output(["ip", "-br", "link", "show"], text=True) except (subpro
  • TERN.match(name): subprocess.run(["ip", "netns", "delete", name], capture_output=True, check=
  • ERN.match(iface): subprocess.run(["ip", "link", "delete", iface], capture_output=True, check=
  • rue) sys.exit(7) child = subprocess.Popen([ sys.executable, "-u", "-c", "import signal, time;
  • output try: with subprocess.Popen( [ sys.executable,
✓ Credential Harvesting

No credential harvesting patterns detected

✓ Typosquatting

No typosquatting candidates detected

⚠ Registered Email Domain score 3.0

Suspicious email domain flags: Very short email domain: qq.com>

  • Very short email domain: qq.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 2.0

1 maintainer concern(s) found

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

💬 Discussion Feed

Leave a comment

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