malstruct

v3.0.20260803 safe
2.1
Low Risk

A powerful declarative symmetric parser/builder for binary data

πŸ“¦ Package Quality Overall: Medium (5.2/10)

✦ High Test Suite 9.0

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

  • Test runner config found: pyproject.toml
  • 14 test file(s) detected (e.g. test_analysis.py)
β—ˆ Medium Documentation 7.0

Some documentation present

  • Documentation URL: "Documentation" -> https://ciphertechsolutions.github.io/malstruct/
  • Detailed PyPI description (7349 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

  • 35 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 10.0

Found 6 obfuscation pattern(s)

  • >> d.build(u"Афон") b'\xd0\x90\xd1\x84\xd0\xbe\xd0\xbd\x00' Alternative syntax, but requires Python 3.6 or an
  • >>> d.parse(b"") b'\x98\xc2\xec\x10\x07\xf5\x8e\x98\xc2\xec' """ def __init__(self, func): super().__i
  • d.build(range(20)) b'\x00\x01\x02\x03\x04\x05\x06\x07\x08' >>> d.parse(b"\x01\xff\x02") [1, 255]
  • d.build(5 + 19*256) b'\x00\x00\x00\x01\x00\x00\x01\x01\x00\x00\x00\x00\x00\x01\x00\x01' >>> d = BitsInteger(16, swapped=True) # Byte-Level
  • d.build(5 + 19*256) b'\x00\x00\x00\x00\x00\x01\x00\x01\x00\x00\x00\x01\x00\x00\x01\x01' >>> d = ByteSwapped(BitsInteger(16)) # Byte-Level
  • d.build(5 + 19*256) b'\x01\x00\x01\x00\x00\x00\x00\x00\x01\x01\x00\x00\x01\x00\x00\x00' >>> d = ByteSwapped(BitsInteger(16, swapped=True))
⚠ Shell / Subprocess Execution score 4.0

Found 2 shell execution pattern(s)

  • (2, Byte)]: pid = subprocess.Popen( f"{outPuter} {oFileName}", stdout=subproces
  • me}", stdout=subprocess.PIPE, shell=True ) assert 2 == d.parse_stream(pid.st
βœ“ Credential Harvesting

No credential harvesting patterns detected

βœ“ Typosquatting

No typosquatting candidates detected

βœ“ Registered Email Domain

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

πŸ’¬ Discussion Feed

Leave a comment

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