unknown-cyber-inc/Package Binary Scanner

Scans software packages for security threats including binaries, scripts, and malware. Auto-detects npm, pip, maven, cargo, go, ruby, nuget, dpkg, apk, and rpm ecosystems.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
scan-pathPath to the directory to scanno.
ecosystemsComma-separated list of ecosystems to scan (npm, pip, maven, cargo, go, ruby, generic). Default: auto-detect from installed packages.no""
deep-scanEnable deep scan using magic bytes detection (slower but more thorough)nofalse
uploadUpload found binaries to UnknownCyber APInofalse
skip-existingSkip uploading files that already exist in UnknownCyber (default: true)notrue
get-reputationsFetch reputation data for existing files (default: true)notrue
include-package-jsonInclude package.json files for SBOM creationnofalse
include-all-filesInclude ALL files in package directories (not just executables)nofalse
api-urlUnknownCyber API URLnohttps://api.unknowncyber.com
api-keyUnknownCyber API key for authenticationno""
repoRepository name to tag uploads with (defaults to current GitHub repository)no${{ github.repository }}
yara-scanEnable YARA scanningnofalse
yara-rulesPath to additional YARA rules file or directoryno""
yara-includeFile patterns to scan with YARA (e.g., "*.js,*.html"). If empty, scans binaries from results.no""
generate-summaryGenerate a summary report in GitHub Actions UI with links to UC reportsnofalse
fail-on-threatsFail the action if HIGH/MEDIUM threats or high-severity YARA matches are foundnofalse
license-checkEnable license compliance checking (npm only)nofalse
license-policyLicense policy file path or preset (permissive, strict, copyleft-ok)nopermissive
fail-on-licenseFail the action if denied licenses are foundnofalse
artifact-nameName for the uploaded artifact (use unique names when running multiple scans in same workflow)nobinary-scan-results
namedescription
total-packagesNumber of packages containing binaries
total-binariesTotal number of binary files found
results-filePath to the JSON results file
upload-successfulNumber of successfully uploaded files
upload-failedNumber of failed uploads
upload-skippedNumber of files skipped (already exist in UC)
threats-foundNumber of files with HIGH or MEDIUM threat level
ecosystems-scannedList of ecosystems that were scanned
yara-matchesNumber of files with YARA rule matches
yara-high-severityNumber of files with high/critical severity YARA matches
license-allowedNumber of packages with allowed licenses
license-warningNumber of packages with licenses needing review
license-deniedNumber of packages with denied licenses