maco-extractor
This package contains the essentials for creating Maco extractors and using them at runtime.
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, has low install friction, carries no known vulnerabilities, and uses a permissive MIT license. It is production-stable and actively used by established malware analysis platforms. Install it if you are building or integrating malware configuration extractors and need a standardized output model and execution framework.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low install friction with a pure-Python wheel and only two runtime dependencies (pydantic and yara-x).
- The package is actively maintained with a recent release and supports Python 3.8 through 3.12.
License · maintenance · safety
permissive license (permissive) — MIT License permits unrestricted use, modification, and distribution. The copyright is held jointly by Canadian and Australian government cybersecurity agencies, but the permissive terms mean no restrictions on commercial or proprietary use.
last release 2026-07-07 (38 days) · last repo commit 2026-07-07 · 53 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 90,624 downloads/mo, #13,571 on PyPI
Alternatives
Verify before relying
pip install maco-extractor
from maco import model
output = model.ExtractorModel(family="malware_name")
output.http.append(model.ExtractorModel.Http(
protocol="https",
uri="https://c2.example.com",
usage="c2"
))
print(output.model_dump(exclude_defaults=True))- Whether yara-x is available as a pre-built wheel on all supported platforms or requires compilation
- Performance characteristics when handling large-scale extractor runs or complex malware samples
- Compatibility details between maco-extractor and the maco-model package mentioned in the description
What it is and what it does
Maco is a framework for building standardized malware configuration extractors. It solves two core problems: defining a common ontology for extractor output (via a Pydantic-based data model) and providing a standard way to identify and execute the right parsers for a given sample. The framework includes a base extractor class, a collector for loading and running extractors, a CLI tool for local testing, and utilities for unit testing extractors.
The package is designed for security researchers and malware analysts who need to extract configuration data from malware samples in a consistent, machine-readable format. It depends on pydantic for data validation and yara-x for pattern matching. The model supports a wide range of malware metadata—families, versions, C2 communications (HTTP, TCP, SSH, DNS, etc.), encryption details, campaign IDs, and custom fields—making it suitable for integration into larger malware analysis platforms and knowledge bases.
Use it for
- Build custom malware config extractors that output standardized, validated data compatible with downstream analysis platforms
- Integrate multiple extractor frameworks by harmonizing their output into a common MACO model format
- Create unit tests for malware extractors using the provided base test utilities
- Run extractors locally via the CLI tool to validate extraction logic during development
- Export extracted malware configurations in a machine-friendly format for database ingestion or threat intelligence sharing
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, has low install friction, carries no known vulnerabilities, and uses a permissive MIT license. It is production-stable and actively used by established malware analysis platforms. Install it if you are building or integrating malware configuration extractors and need a standardized output model and execution framework.
Install
maco-extractor on PyPI
Before you install
Low install friction with a pure-Python wheel and only two runtime dependencies (pydantic and yara-x). The package is actively maintained with a recent release and supports Python 3.8 through 3.12.
License in practice
MIT License permits unrestricted use, modification, and distribution. The copyright is held jointly by Canadian and Australian government cybersecurity agencies, but the permissive terms mean no restrictions on commercial or proprietary use.
Quickstart
pip install maco-extractor
from maco import model
output = model.ExtractorModel(family="malware_name")
output.http.append(model.ExtractorModel.Http(
protocol="https",
uri="https://c2.example.com",
usage="c2"
))
print(output.model_dump(exclude_defaults=True))
Verify before relying
- Whether yara-x is available as a pre-built wheel on all supported platforms or requires compilation
- Performance characteristics when handling large-scale extractor runs or complex malware samples
- Compatibility details between maco-extractor and the maco-model package mentioned in the description
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagespydanticyara-x |
| Maintenance | Actively maintained 38 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 90,624 / month, #13,571 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Python Modules |
Evidence: maco_extractor-1.3.2-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “malware config extraction framework”
- maco-extractorMaco is a framework for standardizing malware configuration extractor…
- malduckMalduck provides cryptographic, compression, and memory-analysis…
- pefilepefile reads and parses Portable Executable (PE) files—the binary…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also extractcode · malduck · oletools · openccu-data · maec · yara-x · cart · vininfo · boilerpy3 · gallery-dl