A modern, portable, easy to use crypto library.
This report summarizes scanner evidence for jedisct1/libsodium, a C project with 14,034 GitHub stars. SynthScan examined 80,436 lines of code across 505 source files, recording 167 pattern matches distributed across 3 syntactic categories. The legacy adjusted pattern signal is 2.1 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 167 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 1 finding(s).
Which changes need focused human review? 167 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 167 distinct pattern matches across 3 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/default/sodium_utils2.c | 1 | COMMENT | |
| LOW | test/default/cmptest.h | 1 | COMMENT | |
| LOW | test/default/cmptest.h | 21 | # undef TEST_SRCDIR | COMMENT |
| LOW | test/default/sodium_utils3.c | 1 | COMMENT | |
| LOW | builds/msvc/resource.h | 1 | //{{NO_DEPENDENCIES}} | COMMENT |
| LOW | builds/wasm32-freestanding/include/time.h | 1 | #ifndef _TIME_H | COMMENT |
| LOW | builds/wasm32-freestanding/include/unistd.h | 1 | #ifndef _UNISTD_H | COMMENT |
| LOW | builds/wasm32-freestanding/include/fcntl.h | 1 | #ifndef _FCNTL_H | COMMENT |
| LOW | builds/wasm32-freestanding/include/errno.h | 1 | #ifndef _ERRNO_H | COMMENT |
| LOW | builds/wasm32-freestanding/include/assert.h | 1 | #undef assert | COMMENT |
| LOW | builds/wasm32-freestanding/include/sys/stat.h | 1 | #ifndef _SYS_STAT_H | COMMENT |
| LOW | …rypto_generichash/blake2b/ref/blake2b-compress-ssse3.c | 1 | COMMENT | |
| LOW | …crypto_generichash/blake2b/ref/blake2b-compress-avx2.c | 1 | COMMENT | |
| LOW | …rypto_generichash/blake2b/ref/blake2b-compress-sse41.c | 1 | COMMENT | |
| LOW | …crypto_generichash/blake2b/ref/blake2b-compress-avx2.h | 1 | COMMENT | |
| LOW | …c/libsodium/crypto_sign/mldsa44/ref/sign_mldsa44_ref.c | 1 | #include <stdint.h> | COMMENT |
| LOW | …c/libsodium/crypto_sign/mldsa44/ref/sign_mldsa44_ref.c | 21 | #define MLDSA44_BETA 78 | COMMENT |
| LOW | src/libsodium/include/sodium.h | 1 | COMMENT | |
| LOW | src/libsodium/include/sodium.h | 21 | #include "sodium/crypto_core_keccak1600.h" | COMMENT |
| LOW | src/libsodium/include/sodium.h | 41 | #include "sodium/crypto_onetimeauth_poly1305.h" | COMMENT |
| LOW | src/libsodium/include/sodium.h | 61 | #include "sodium/crypto_xof_shake128.h" | COMMENT |
| LOW | src/libsodium/include/sodium.h | 81 | # include "sodium/crypto_stream_xchacha20.h" | COMMENT |
| LOW | src/libsodium/include/sodium/crypto_auth.h | 1 | #ifndef crypto_auth_H | COMMENT |
| LOW | src/libsodium/include/sodium/utils.h | 1 | COMMENT | |
| LOW | src/libsodium/include/sodium/crypto_aead_aegis256.h | 1 | #ifndef crypto_aead_aegis256_H | COMMENT |
| LOW | src/libsodium/include/sodium/export.h | 1 | COMMENT | |
| LOW | src/libsodium/include/sodium/export.h | 21 | # ifdef SODIUM_DLL_EXPORT | COMMENT |
| LOW | src/libsodium/include/sodium/export.h | 41 | # else | COMMENT |
| LOW | …/libsodium/include/sodium/crypto_shorthash_siphash24.h | 1 | #ifndef crypto_shorthash_siphash24_H | COMMENT |
| LOW | src/libsodium/include/sodium/randombytes.h | 1 | COMMENT | |
| LOW | src/libsodium/include/sodium/crypto_auth_hmacsha512.h | 1 | #ifndef crypto_auth_hmacsha512_H | COMMENT |
| LOW | src/libsodium/include/sodium/crypto_xof_shake128.h | 1 | #ifndef crypto_xof_shake128_H | COMMENT |
| LOW | …bsodium/include/sodium/crypto_aead_xchacha20poly1305.h | 1 | #ifndef crypto_aead_xchacha20poly1305_H | COMMENT |
| LOW | …libsodium/include/sodium/crypto_onetimeauth_poly1305.h | 1 | #ifndef crypto_onetimeauth_poly1305_H | COMMENT |
| LOW | src/libsodium/include/sodium/crypto_kem_mlkem768.h | 1 | #ifndef crypto_kem_mlkem768_H | COMMENT |
| LOW | src/libsodium/include/sodium/crypto_kx.h | 1 | #ifndef crypto_kx_H | COMMENT |
| LOW | src/libsodium/include/sodium/crypto_kdf.h | 1 | #ifndef crypto_kdf_H | COMMENT |
| LOW | src/libsodium/include/sodium/crypto_auth_hmacsha256.h | 1 | #ifndef crypto_auth_hmacsha256_H | COMMENT |
| LOW | …c/libsodium/include/sodium/crypto_auth_hmacsha512256.h | 1 | #ifndef crypto_auth_hmacsha512256_H | COMMENT |
| LOW | src/libsodium/include/sodium/crypto_aead_aegis128l.h | 1 | #ifndef crypto_aead_aegis128l_H | COMMENT |
| LOW | …ibsodium/include/sodium/crypto_aead_chacha20poly1305.h | 1 | #ifndef crypto_aead_chacha20poly1305_H | COMMENT |
| LOW | …um/include/sodium/crypto_secretbox_xchacha20poly1305.h | 1 | #ifndef crypto_secretbox_xchacha20poly1305_H | COMMENT |
| LOW | src/libsodium/include/sodium/crypto_core_keccak1600.h | 1 | #ifndef crypto_core_keccak1600_H | COMMENT |
| LOW | src/libsodium/include/sodium/crypto_pwhash.h | 1 | #ifndef crypto_pwhash_H | COMMENT |
| LOW | src/libsodium/include/sodium/crypto_kdf_blake2b.h | 1 | #ifndef crypto_kdf_blake2b_H | COMMENT |
| LOW | src/libsodium/include/sodium/crypto_shorthash.h | 1 | #ifndef crypto_shorthash_H | COMMENT |
| LOW | src/libsodium/include/sodium/crypto_kdf_hkdf_sha256.h | 1 | #ifndef crypto_kdf_hkdf_sha256_H | COMMENT |
| LOW | src/libsodium/include/sodium/crypto_pwhash_argon2id.h | 1 | #ifndef crypto_pwhash_argon2id_H | COMMENT |
| LOW | …include/sodium/crypto_secretstream_xchacha20poly1305.h | 1 | #ifndef crypto_secretstream_xchacha20poly1305_H | COMMENT |
| LOW | …um/include/sodium/crypto_pwhash_scryptsalsa208sha256.h | 1 | #ifndef crypto_pwhash_scryptsalsa208sha256_H | COMMENT |
| LOW | src/libsodium/include/sodium/crypto_kem_xwing.h | 1 | #ifndef crypto_kem_xwing_H | COMMENT |
| LOW | …nclude/sodium/crypto_box_curve25519xchacha20poly1305.h | 1 | COMMENT | |
| LOW | src/libsodium/include/sodium/crypto_kdf_hkdf_sha512.h | 1 | #ifndef crypto_kdf_hkdf_sha512_H | COMMENT |
| LOW | src/libsodium/include/sodium/crypto_pwhash_argon2i.h | 1 | #ifndef crypto_pwhash_argon2i_H | COMMENT |
| LOW | src/libsodium/include/sodium/crypto_generichash.h | 1 | #ifndef crypto_generichash_H | COMMENT |
| LOW | …ium/include/sodium/crypto_secretbox_xsalsa20poly1305.h | 1 | #ifndef crypto_secretbox_xsalsa20poly1305_H | COMMENT |
| LOW | src/libsodium/include/sodium/crypto_secretbox.h | 1 | #ifndef crypto_secretbox_H | COMMENT |
| LOW | src/libsodium/include/sodium/crypto_sign_mldsa44.h | 1 | #ifndef crypto_sign_mldsa44_H | COMMENT |
| LOW | src/libsodium/include/sodium/crypto_ipcrypt.h | 1 | #ifndef crypto_ipcrypt_H | COMMENT |
| LOW | …include/sodium/crypto_box_curve25519xsalsa20poly1305.h | 1 | #ifndef crypto_box_curve25519xsalsa20poly1305_H | COMMENT |
| 105 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | dist-build/android-aar.sh | 3 | # Create an AAR with libsodium in all combinations of static | shared | minimal | full. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | regen-msvc/regen-msvc.py | 80 | def get_project_configurations(vs_version): | CODE |