Scan your whole stack
From OX Research Newsroom
Are you using @majikah/majik-signature?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v1.6.0
@majikah/majik-signature was last scanned on 27 Nov 2026 at version 1.6.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 1.6.0 LATEST | 27 Nov 2026 | No rules fired |
| 1.4.0 | 25 Nov 2026 | No rules fired |
| 1.3.2 | 20 Nov 2026 | No rules fired |
| 1.3.1 | 20 Nov 2026 | Not shown |
| 1.3.0 | 15 Nov 2026 | Not shown |
Findings for v1.6.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 1.6.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Majik Signature is a hybrid post-quantum content signing and verification library for the Majikah ecosystem. Built on top of Majik Key, it produces tamper-evident, forgery-resistant digital signatures for any content — plaintext, JSON, PDFs, audio, video, Office documents, or raw binary — using a dual-algorithm architecture that combines classical Ed25519 with post-quantum ML-DSA-87 (FIPS-204).
Beyond signing raw bytes, Majik Signature can embed signatures directly into a file's native format or produce detached envelopes that travel independently of the file. Envelopes can be represented as JSON, the existing Base64 serialization format, CBOR bytes, or a dedicated self-describing binary container (.mjksig). The current .mjksig writer uses version 2 with CBOR, while the reader retains support for legacy version 1 JSON containers. Newly embedded envelopes use a version-marked, Base64-wrapped CBOR representation, while existing files with legacy JSON-encoded embedded envelopes remain readable. New .mjksmap containers use version 2 with CBOR-native byte strings for content hashes and nested envelope cryptographic fields; the reader continues to accept legacy version 1 JSON manifests. The SDK also supports multi-party signing, signing allowlists, envelope sealing, trusted timestamps (TSA), batch/folder signing via the .mjksmap manifest format, chronological signing-order verification, and blockchain anchor registration.
mjksig — Sign, Verify, Seal, InspectnpxMajikSignature.sign(content, key, options?)MajikSignature.verify(content, signature, publicKeys)MajikSignature.verifyWithKey(content, signature, key)MajikSignature.publicKeysFromMajikKey(key)signature.extractPublicKeys() (instance method)signature.validate() / signature.isValid()MajikSignature.fromJSON(json) / MajikSignature.deserialize(base64)MajikSignature.signFile(file, key, options?)MajikSignature.verifyFile(file, keyOrPublicKeys, options?)signature.embedIn(file, options?) (instance method)MajikSignature.extractFrom(file, options?)MajikSignature.stripFrom(file, options?)MajikSignature.isSigned(file, options?)MajikSignature.signFileDetached(file, key, options?)MajikSignature.verifyFileDetached(file, envelope, keyOrPublicKeys, options?)MajikSignatureEnvelopeMajikSignature.expectedSignerFromKey(key)MajikSignature.getAllowlist(file, options?)MajikSignature.canSign(file, key, options?)MajikSignature.getSignatories(file, options?, filter?)MajikSignature.getIssuer(file, options?)MajikSignature.getEnvelopeInfo(file, options?)MajikSignature.isMultiSig(file, options?)MajikSignature.seal(file, key, options?)MajikSignature.verifySeal(file, options?)MajikSignature.getSealInfo(file, options?)MajikSignature.isSealed(file, options?)signature.buildTSARequestPayload()MajikSignature.signTSA(request, key, tsa, options?)signature.addTSA(timestamp)signature.verifyTSA()signature.hasTSAMajikSignature.signSessionFile(file, key, options)MajikSignature.verifySessionFile(file, envelope, options)buildSessionContextHash(context)MajikSignature.verifyDigest(hash, signature, publicKeys, options?)MajikSignature.signBatchDetached(files, key, options?)MajikSignature.signBatchDetachedStream(files, key, options?)MajikSignature.verifyFilesFromMjksMap(map, files, publicKeys, options?)MajikSignature.verifyFilesFromMjksMapStream(map, files, publicKeys, options?)MajikSignature.verifyFilesFromMjksMapWithKey(map, files, key, options?)MajikSignature.summarizeBatchVerification(results)MajikSignatureMapMajikSignature.verifyFileOrder(file, expectedOrder, options?)MajikSignature.verifyFileDetachedOrder(file, envelope, expectedOrder, options?)MajikSignature.normalizeExpectedOrder(expectedOrder)MajikSignature.canAnchor(file, options?)MajikSignature.buildChainAnchorMemo(sealHash)MajikSignature.registerChainAnchor(file, anchor, options?)MajikSignature.getChainAnchors(file, options?)MajikSignature.signFile(file, key, options?) — versioning-relevant optionsMajikSignature.verifyFileChain(file, options?)MajikSignature.verifyFileRevisions(finalFile, revisions, options?)MajikSignature.verifyCommitment(signature, publicKeys, now?)signature.toJSON() / MajikSignature.fromJSON(json)signature.serialize() / MajikSignature.deserialize(base64)envelope.toJSON() / MajikSignatureEnvelope.fromJSON(json)envelope.serialize() / MajikSignatureEnvelope.deserialize(base64)envelope.toMJKSIG() / MajikSignatureEnvelope.fromMJKSIG(input)signature.toCBOR() / MajikSignature.fromCBOR(bytes)envelope.toCBOR() / MajikSignatureEnvelope.fromCBOR(bytes)Most "digital signature" libraries only sign raw bytes and leave you to figure out storage, transport, and file compatibility yourself. Majik Signature is built to be dropped into a real application:
.mjksig binary container. Legacy JSON representations remain supported for backward compatibility..mjksmap) instead of tracking one signature file per asset.cbor-x may use optional platform-specific acceleration when available. The CLI runs on Node.js 22.12+.flowchart TD
A[12/24-word BIP-39 Seed Phrase] --> B[Majik Key]
%% Signing branch
B --> S[Signing]
S --> S1[Ed25519]
S --> S2[ML-DSA-87]
%% Identity branch
B --> I[Identity]
I --> I1[BIP-39]
I --> I2[X25519]
%% Products (fan-in)
S1 --> P1[Majik Signature]
S2 --> P1
Every Majik Signature is produced by two independent signing algorithms over the same canonical payload:
Verification requires both to pass. This means:
Both signatures cover a domain-separated canonical payload:
"majik-signature-v1:" + JSON({ v, id, ts, ct, hash[, alh][, vu][, vch][, sch] })
| Field | Description |
|---|---|
v |
Envelope version |
id |
Signer fingerprint (MajikKey identity) |
ts |
ISO 8601 timestamp |
ct |
Content type (advisory, or null) |
hash |
SHA-256 of the original content, base64 |
alh |
SHA-256 of the canonical allowlist, base64 — present only when this signer is establishing an allowlist |
vu |
Optional ISO 8601 expiry. When present, verify() treats the signature as invalid once the current time is past this value. Absent = never expires (matches all pre-existing signatures — fully backward compatible). Covered by the canonical signing payload when present, so it cannot be stripped or extended post-hoc without breaking both signatures. |
vch |
SHA-256 of the fileVersions revision chain, Base64 — present only when file versioning is in use; commits the signer to the chain state at their turn. |
sch |
SHA-256 commitment to a SignRoom session, one-time challenge, and immutable policy snapshot; present only for session-bound signing. |
alh is omitted entirely (not set to null) on every signature that isn't establishing an allowlist. This is a deliberate backward-compatibility guarantee: every signature produced before multi-sig support existed still verifies today, because its payload bytes are unchanged.
This binding means a valid signature cannot be reused on different content, transferred to a different signer, replayed with a modified timestamp, or forged without both private keys.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.