This project has been archived by its maintainers, and is no longer receiving any updates.
XMonkey Curator - Automated DESCAM tooling
Summary
XMonkey Curator is a tool that performs DESCAM (Decompose, Enumerate, Scanning, Catalog, Analysis, Merge) review to software for Open Source License Compliance.
The tool can extract (DECOMPOSE) archive files like Jar, ZIP, Tarballs, RPM, Debian, etc., to recursively obtain the list of assets (Enumerate) contained.
XMonkey Curator also performs a basic review (Scanning) of the assets to extract information as “features” for OSLC assessments. Scan types supported:
Alpha Version: * Literal Strings * Symbols Matching using predefined signatures. * License detection (using OSLiLi) * Regex Patterns
Beta Version: * FuzzyHashing (using LSH or SSDeep) * Generate OSS Notices * Improve external rules for automatic classification
The results of the review can be automatically processed (Catalog) using predefined rules and workflows (Analysis).
Current support: ELF, Mach-OS, Objective-C, Python, PHP, Java, Ruby, Rust, Perl, C++
Usage
$ pip install xmonkey-curator $ xmonkey-curator scan --help Usage: xmonkey-curator scan [OPTIONS] PATH Scan target files using selected options Options: -t, --force-text Force using StringExtract for all files. -u, --unpack Unpack archives files. -s, --export-symbols Include words in the final report. -m, --match-symbols Match symbols against signatures. -r, --rule TEXT Add optional rules to execute. -n, --notes TEXT Add optional notes to the report. -o, --output TEXT Export results to filename with specific name. -l, --licenses Identify SPDX licenses. -p, --print-report Print the report to screen. --help Show this message and exit.
Scanning to identify files
In order to perform a full scan, you must select the option “unpack” that will export the content of any archive file.
$ xmonkey-curator scan ffmpeg-6.0.tar.xz -u -s -o ffmpeg-source.json
Scanning to export symbols and match with signatures
Using the option “match”, will attempt to identify packages by matching symbols with signatures.
$ xmonkey-curator scan ffmpeg-6.0.tar.xz -u -s -m -p
Generating signatures
You can create signatures by performing scans to source code and binary of a package, looking for signifcative symbols.
Then you can use the included script to check what symbols from the source code has survived the compilation.
$ xmonkey-curator scan ffmpeg-6.0.tar.xz -u -s -o ffmpeg-source.json $ xmonkey-curator scan ffmpeg-4.4.1-linux-64.zip -u -s -o ffmpeg-binary.json $ ./scripts/signature_generator.py ffmpeg-source.json ffmpeg-binary.json
Metadata
Release files for xmonkey-curator 0.1.18
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| xmonkey_curator-0.1.18.tar.gz | 59.6 kB | Without provenance | Details for xmonkey_curator-0.1.18.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| xmonkey_curator-0.1.18-py3-none-any.whl | Python 3 | none | any | Details for xmonkey_curator-0.1.18-py3-none-any.whl |
Total release size: 130.6 kB
Release files / xmonkey_curator-0.1.18.tar.gz
| Download URL | xmonkey_curator-0.1.18.tar.gz |
|---|---|
| Size | 59.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ee4f778bf3e7ff2861f76a529a54a134af08928bdff290cd88bc1c94f0194dfc
|
|
BLAKE2b-256 checksum How to use checksums |
7cee7c08347c0aea67df656d27779483bd9adc5f46a19f54d88ae07d7b08b842
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.4
|
Release files / xmonkey_curator-0.1.18-py3-none-any.whl
| Download URL | xmonkey_curator-0.1.18-py3-none-any.whl |
|---|---|
| Size | 71.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
89d7d735894dd789516a121019de50f6e3e604188683cec9d793d9fdebecd48f
|
|
BLAKE2b-256 checksum How to use checksums |
6bd8a2503a60deec651c41a4982ad4e1bce54d515adfb316c10d773ea1dba83d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.4
|
Security for xmonkey-curator 0.1.18
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.