Repository navigation
- Mach-O support: thin and universal binaries, segments/sections, dylibs, rpaths, code signature (ad-hoc / Developer ID / team), PIE, stack execution, canary, dylib-hijack risk, Mach task injection imports.
- Capabilities now come from capa-style rule files (
rules/builtin.yml). Load your own with--rules <file|dir>(api, import, export, string, substring, section, format, os, arch, match, and/or/not/optional/N-or-more); matches are reported ascapability-rule. - Authenticode verification: image hash, message digest and signer signature, nested signatures, chain, timestamp and validity (
signature-invalid,signature-untrusted,signature-expired).--no-verify-signaturesto skip. - PE resources and version info: embedded executables in resources, high-entropy resources,
version-info-mismatchandmasquerading. - New reusable API:
parseMachO,verifyAuthenticode,parseResources,parseVersionInfo,loadRules,parseRules,matchRules,featuresOf,extractStrings,resolveRules. - Dual ESM + CommonJS build with generated type declarations.
npm: https://www.npmjs.com/package/binary-sentinel/v/1.1.0
Tarball attached is the exact file published to npm.