Repository Analysis

signalapp/libsignal

Home to the Signal Protocol as well as other cryptographic primitives which make Signal possible.

2.4 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of signalapp/libsignal, a Rust project with 5,897 GitHub stars. SynthScan v2.0 examined 341,176 lines of code across 1451 source files, recording 555 pattern matches distributed across 15 syntactic categories. The overall adjusted score of 2.4 places this repository in the Likely human-written band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

2.4
Adjusted Score
2.4
Raw Score
100%
Time Factor
2026-07-11
Last Push
5.9K
Stars
Rust
Language
341.2K
Lines of Code
1.5K
Files
555
Pattern Hits
2026-07-14
Scan Date
0.02
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.

No multi-scan history yet — run the scanner again to build trend data.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 15HIGH 8MEDIUM 37LOW 495

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 555 distinct pattern matches across 15 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Over-Commented Block413 hits · 411 pts
SeverityFileLineSnippetContext
LOWbin/prepare_release.py161 # Release Step 2: Tag the release commit.COMMENT
LOWrust/keytrans/src/left_balanced.rs1//COMMENT
LOWrust/keytrans/src/left_balanced.rs21//! / \ / \COMMENT
LOWrust/keytrans/src/lib.rs301/// MonitoringData is the structure retained for each key in the KT server beingCOMMENT
LOWrust/keytrans/src/proto.rs1//COMMENT
LOWrust/keytrans/src/verify.rs261 Some(verifying_key),COMMENT
LOWrust/keytrans/src/verify.rs1201 );COMMENT
LOWrust/keytrans/src/verify.rs1361 // A counter increment that's only visible at a frontier proof (e.g. aCOMMENT
LOWrust/net/infra/proptest-regressions/route/schedule.txt1# Seeds for failure cases proptest has generated in the past. It isCOMMENT
LOWrust/net/infra/src/timeouts.rs1use std::time::Duration;COMMENT
LOWrust/net/infra/src/timeouts.rs21/// and one of them produced a result, we'll wait this time intervalCOMMENT
LOWrust/net/infra/src/certs.rs61 let verifier = VERIFIER.get_or_init(|| {COMMENT
LOWrust/net/infra/src/certs.rs181COMMENT
LOWrust/net/infra/src/host.rs1//COMMENT
LOWrust/net/infra/src/route.rs1//COMMENT
LOWrust/net/infra/src/route.rs21//!COMMENT
LOWrust/net/infra/src/route.rs41//! # Route providersCOMMENT
LOWrust/net/infra/src/route.rs61//! `Connector` implementations are often stateless, like `StatelessTcp`, butCOMMENT
LOWrust/net/infra/src/route.rs161/// A hostname in a route that can later be resolved to IP addresses.COMMENT
LOWrust/net/infra/src/route.rs281}COMMENT
LOWrust/net/infra/src/route.rs301/// depends on recorded state from previous connection attempts and the order inCOMMENT
LOWrust/net/infra/src/ws.rs41 /// This time is measured across calls to [`Connection::handle_next_event`]COMMENT
LOWrust/net/infra/src/route/proxy.rs81COMMENT
LOWrust/net/infra/src/route/resolve.rs21 UnresolvedHost, UsePreconnect, WebSocketRoute,COMMENT
LOWrust/net/infra/src/route/resolve.rs41 fn resolve(self, lookup: impl FnMut(&str) -> IpAddr) -> Self::Resolved;COMMENT
LOWrust/net/infra/src/route/provider.rs1//COMMENT
LOWrust/net/infra/src/route/describe.rs21 UnresolvedTransportRoute, UnresolvedWebsocketServiceRoute, UsesTransport,COMMENT
LOWrust/net/infra/src/route/describe.rs41/// to a [`WithLoggableDescription`] route.COMMENT
LOWrust/net/infra/src/route/schedule.rs61/// This is notionally a stream, though it doesn't (yet) implement [`Stream`].COMMENT
LOWrust/net/infra/src/route/schedule.rs541 max_delay,COMMENT
LOWrust/net/infra/src/route/schedule.rs561 //COMMENT
LOWrust/net/infra/src/route/http.rs21#[derive(Clone, Debug, PartialEq, Eq, Hash)]COMMENT
LOWrust/net/infra/src/route/connect/logging.rs1//COMMENT
LOWrust/net/infra/src/route/connect/composed.rs1//COMMENT
LOWrust/net/infra/src/route/connect/throttle.rs41 /// Replaces the inner `Connector` in `self`.COMMENT
LOWrust/net/infra/src/route/connect/preconnect.rs1//COMMENT
LOWrust/net/infra/src/utils/binary_heap.rs41COMMENT
LOWrust/net/infra/src/dns/custom_resolver.rs41const MAX_CACHE_TTL: Duration = Duration::from_secs(5 * 60);COMMENT
LOWrust/net/infra/src/dns/dns_types.rs1//COMMENT
LOWrust/net/infra/src/dns/dns_types.rs21#[derive(Clone, Copy)]COMMENT
LOWrust/net/infra/src/ws/attested.rs21/// Encrypted connection to an attested host.COMMENT
LOWrust/net/infra/src/ws/connection.rs21COMMENT
LOWrust/net/infra/src/ws/connection.rs41 /// This should implement [`Stream`] and [`Sink`](futures_util::Sink) for websocketCOMMENT
LOWrust/net/infra/src/ws/connection.rs101 ///COMMENT
LOWrust/net/infra/src/ws/connection.rs121#[strum(serialize_all = "lowercase")]COMMENT
LOWrust/net/infra/src/ws/connection.rs141 Io(IoError),COMMENT
LOWrust/net/infra/src/ws/connection.rs201 ///COMMENT
LOWrust/net/chat/examples/chat_request_scaffold.rs1//COMMENT
LOWrust/net/chat/src/logging.rs221 #[test_case("BB==" => "BB==")]COMMENT
LOWrust/net/chat/src/grpc.rs221/// Helper to transform `tonic` streaming responses into `libsignal-net-chat` high-level streams.COMMENT
LOWrust/net/chat/src/grpc.rs241/// The result type is a `Stream<Result<T, RequestError<E>>>`, to be treated as a [`TryStream`]; anyCOMMENT
LOWrust/net/chat/src/registration.rs21///COMMENT
LOWrust/net/chat/src/stream_util.rs1//COMMENT
LOWrust/net/chat/src/stream_util.rs101 /// that the stream has ended. Then, collects subsequent items during the next debounceCOMMENT
LOWrust/net/chat/src/ws.rs321 }COMMENT
LOWrust/net/chat/src/registration/service.rs61/// Describes how to make an unauthenticated [`ChatConnection`].COMMENT
LOWrust/net/chat/src/grpc/devices.rs121 }COMMENT
LOWrust/net/chat/src/api/backups.rs161 #[expect(rustdoc::broken_intra_doc_links)] // fixed_seed_test_rng is cfg(test)COMMENT
LOWrust/net/chat/src/api/usernames.rs1//COMMENT
LOWrust/net/chat/src/api/registration.rs261}COMMENT
353 more matches not shown…
Hallucination Indicators15 hits · 165 pts
SeverityFileLineSnippetContext
CRITICALrust/net/infra/src/route.rs1218 && reflector.outer.inner.fragment.host_header.as_ref()CODE
CRITICALrust/net/infra/src/route.rs1239 && reflector.outer.inner.fragment.host_header.as_ref()CODE
CRITICALrust/attest/src/dcap.rs429 let report_isvprodid = evidence.quote.support.qe_report_body.isvprodid.get();CODE
CRITICALrust/attest/src/dcap.rs438 let qe_report_miscselect = evidence.quote.support.qe_report_body.miscselect.get();CODE
CRITICALrust/attest/src/dcap.rs469 let report_isvsvn = evidence.quote.support.qe_report_body.isvsvn.get();CODE
CRITICAL…/java/org/signal/libsignal/protocol/SessionCipher.java84 return new org.signal.libsignal.protocol.state.internal.IdentityKeyStore() {CODE
CRITICAL…/java/org/signal/libsignal/protocol/SessionCipher.java125 return new org.signal.libsignal.protocol.state.internal.SessionStore() {CODE
CRITICAL…/java/org/signal/libsignal/protocol/SessionCipher.java215 new org.signal.libsignal.protocol.state.internal.PreKeyStore() {CODE
CRITICAL…/java/org/signal/libsignal/protocol/SessionCipher.java228 new org.signal.libsignal.protocol.state.internal.SignedPreKeyStore() {CODE
CRITICAL…/java/org/signal/libsignal/protocol/SessionCipher.java237 new org.signal.libsignal.protocol.state.internal.KyberPreKeyStore() {CODE
CRITICAL…/org/signal/libsignal/protocol/groups/GroupCipher.java47 return new org.signal.libsignal.protocol.state.internal.SenderKeyStore() {CODE
CRITICAL…enchmarks/src/androidTest/java/ClientZkOperations.java32 new org.signal.libsignal.zkgroup.auth.ClientZkAuthOperations(serverPublicParams);CODE
CRITICALnode/ts/test/KeyTransparencyTest.ts150 await expect(run(429)).to.be.rejected.and.eventually.have.property(CODE
CRITICALnode/ts/test/KeyTransparencyTest.ts156 ).to.be.rejected.and.eventually.have.property(CODE
CRITICALnode/ts/test/KeyTransparencyTest.ts160 await expect(run(500)).to.be.rejected.and.eventually.have.property(CODE
Decorative Section Separators21 hits · 63 pts
SeverityFileLineSnippetContext
MEDIUMrust/protocol/src/session_management.rs36// ── Public API ───────────────────────────────────────────────────────────────COMMENT
MEDIUMrust/protocol/src/session_management.rs357// ── Session management (Sesame) ──────────────────────────────────────────────COMMENT
MEDIUMrust/protocol/src/session_management.rs401 // ── Try current session ──────────────────────────────────────────────────COMMENT
MEDIUMrust/protocol/src/session_management.rs466 // ── Try previous sessions (Whisper only) ─────────────────────────────────COMMENT
MEDIUMrust/protocol/src/session_management.rs558// ── Per-session decrypt ──────────────────────────────────────────────────────COMMENT
MEDIUMrust/protocol/src/session_management.rs608// ── Logging helpers ──────────────────────────────────────────────────────────COMMENT
MEDIUMrust/protocol/src/session_management.rs708// ── Comparison proptest ──────────────────────────────────────────────────────COMMENT
MEDIUMrust/protocol/src/session_management.rs1492 // ── Dual-path simulation helpers ────────────────────────────────────COMMENT
MEDIUMrust/protocol/src/session_management.rs1855 // ── DualSession convenience wrapper ─────────────────────────────────COMMENT
MEDIUMrust/protocol/src/session_management.rs2348 // ── Scenario tests ──────────────────────────────────────────────────COMMENT
MEDIUMrust/protocol/src/session_management.rs2841 // ── Phase 1: legacy enc+dec on session A ─────────────────────────COMMENT
MEDIUMrust/protocol/src/session_management.rs2885 // ── Encrypt delayed message (not yet delivered) ──────────────────COMMENT
MEDIUMrust/protocol/src/session_management.rs2911 // ── Session transition: A → B ─────────────────────────────────────COMMENT
MEDIUMrust/protocol/src/session_management.rs2998 // ── Phase 2: new enc+dec on session B ────────────────────────────COMMENT
MEDIUMrust/protocol/src/session_management.rs3043 // ── Deliver delayed message ───────────────────────────────────────COMMENT
MEDIUMrust/protocol/src/double_ratchet.rs24// ── State ────────────────────────────────────────────────────────────COMMENT
MEDIUMrust/protocol/src/double_ratchet.rs57// ── Serialization bridge ──────────────────────────────────────────────COMMENT
MEDIUMrust/protocol/src/double_ratchet.rs171// ── Operations ───────────────────────────────────────────────────────COMMENT
MEDIUMrust/protocol/src/double_ratchet.rs255 // ── Internals ────────────────────────────────────────────────────COMMENT
MEDIUMrust/protocol/src/pqxdh.rs94// ── Initiator ────────────────────────────────────────────────────────COMMENT
MEDIUMrust/protocol/src/pqxdh.rs238// ── Recipient ────────────────────────────────────────────────────────COMMENT
Hyper-Verbose Identifiers43 hits · 47 pts
SeverityFileLineSnippetContext
LOWbin/prepare_release.py117def get_workflow_name_mapping(repo_name: str) -> dict[int, str]:CODE
LOWbin/prepare_release.py357def check_gh_installed_and_authed() -> None:CODE
LOW…ridge/node/futures/tests-node-module/src/store_like.rs85// function doubleNameFromStoreUsingJoin(store: { getName: () => Promise<string> }): Promise<string>COMMENT
LOWjava/check_code_size.py25def measure_stripped_library_size(lib_path: str) -> int:CODE
LOWjava/check_code_size.py53def current_origin_main_entry() -> Optional[Mapping[str, Any]]:CODE
LOWnode/build_node_bridge.py24def check_for_debug_level_logs(src_path: str) -> None:CODE
LOWnode/build_node_bridge.py32def check_for_attest_testutil(src_path: str) -> None:CODE
LOWnode/ts/NiceConverters.ts26export function cdnCredentialReturnConverter(CODE
LOWnode/ts/NativeNice.ts151function returnConverterGetDevicesOut(CODE
LOWnode/ts/NativeNice.ts160function returnConverterLinkedDeviceInternal(CODE
LOWnode/ts/NativeNice.ts172function returnConverterMyRemoteDeriveEnum(CODE
LOWnode/ts/NativeNice.ts195function returnConverterMyRemoteDeriveStruct(CODE
LOWnode/ts/NativeNice.ts204function returnConverterMySimpleTestEnum(CODE
LOWnode/ts/NativeNice.ts219function returnConverterMyTestEnum(CODE
LOWnode/ts/NativeNice.ts252function returnConverterMyTestPoint(CODE
LOWnode/ts/NativeNice.ts258function returnConverterMyTestStruct(CODE
LOWnode/ts/NativeNice.ts267function returnConverterRemoveDeviceArgs(CODE
LOWnode/ts/NativeNice.ts275function returnConverterRemoveDeviceOut(CODE
LOWnode/ts/NativeNice.ts288function returnConverterReserveUsernameHashArgs(CODE
LOWnode/ts/NativeNice.ts298function returnConverterReserveUsernameHashOut(CODE
LOWnode/ts/NativeNice.ts317function returnConverterSetDeviceNameArgs(CODE
LOWnode/ts/NativeNice.ts326function returnConverterSetDeviceNameOut(CODE
LOWnode/ts/NativeNice.ts341function returnConverterSetUsernameLinkArgs(CODE
LOWnode/ts/NativeNice.ts350function returnConverterSetUsernameLinkOut(CODE
LOWnode/ts/NativeNice.ts367function returnConverterTestStreamChunk(CODE
LOWnode/ts/NativeNice.ts376function argConverterMyRemoteDeriveEnum(CODE
LOWnode/ts/NativeNice.ts405function argConverterMyRemoteDeriveStruct(CODE
LOWnode/ts/NativeNice.ts412function argConverterMySimpleTestEnum(CODE
LOWnode/ts/index.ts641export async function processSenderKeyDistributionMessage(CODE
LOWnode/ts/index.ts1227export async function sealedSenderEncryptMessage(CODE
LOWnode/ts/index.ts1274export async function sealedSenderMultiRecipientEncrypt(CODE
LOWnode/ts/index.ts1277export async function sealedSenderMultiRecipientEncrypt(CODE
LOWnode/ts/index.ts1284export async function sealedSenderMultiRecipientEncrypt(CODE
LOWnode/ts/index.ts1318export function sealedSenderMultiRecipientMessageForSingleRecipient(CODE
LOWnode/ts/index.ts1324export async function sealedSenderDecryptMessage(CODE
LOWnode/ts/index.ts1353export async function sealedSenderDecryptToUsmc(CODE
LOWnode/ts/net/RegistrationSession.ts17export function convertNativeRegistrationSessionState(CODE
LOWnode/ts/test/MessageBackupTest.ts309function createDisappearingChatItemFrame(): Uint8Array<ArrayBuffer> {CODE
LOWnode/ts/test/MessageBackupTest.ts313function createViewOnceChatItemFrame(): Uint8Array<ArrayBuffer> {CODE
LOWnode/ts/test/SealedSenderServerAPI.ts47function assertMessageForRecipient(CODE
LOWnode/ts/test/UsernamesTest.ts14function assertThrowsLibSignalError(CODE
LOWnode/ts/test/MediaSanitizerTest.ts192function assertSanitizedMetadataEqual(CODE
LOWnode/ts/test/chat/UnauthMessagesServiceTest.ts37 async function sendTestMultiRecipientMessage(CODE
Cross-File Repetition7 hits · 35 pts
SeverityFileLineSnippetContext
HIGH…/org/signal/libsignal/net/UnauthMessagesServiceTest.kt0{ "missingdevices": [4, 5], "extradevices": [40, 50] }STRING
HIGH…va/org/signal/libsignal/net/AuthMessagesServiceTest.kt0{ "missingdevices": [4, 5], "extradevices": [40, 50] }STRING
HIGH…lientTests/ChatServices/AuthMessagesServiceTests.swift0{ "missingdevices": [4, 5], "extradevices": [40, 50] }STRING
HIGH…entTests/ChatServices/UnauthMessagesServiceTests.swift0{ "missingdevices": [4, 5], "extradevices": [40, 50] }STRING
HIGH…va/org/signal/libsignal/net/AuthMessagesServiceTest.kt0{ "cdn":123, "key":"abcde", "headers":{"one":"val1","two":"val2"}, "signeduploadlocation":"http://example.org/upload" }STRING
HIGH…a/org/signal/libsignal/net/UnauthBackupsServiceTest.kt0{ "cdn":123, "key":"abcde", "headers":{"one":"val1","two":"val2"}, "signeduploadlocation":"http://example.org/upload" }STRING
HIGH…lientTests/ChatServices/AuthMessagesServiceTests.swift0{ "cdn":123, "key":"abcde", "headers":{"one":"val1","two":"val2"}, "signeduploadlocation":"http://example.org/upload" }STRING
Excessive Try-Catch Wrapping15 hits · 32 pts
SeverityFileLineSnippetContext
MEDIUMbin/prepare_release.py94 print(f'Error: command {e.cmd} exited with status {e.returncode}.')CODE
LOWbin/prepare_release.py102 except Exception as ex:CODE
MEDIUMbin/prepare_release.py286 print(f"Error: You are on branch '{current_branch}'.")CODE
MEDIUMbin/prepare_release.py294 print('Error: Git working tree is not clean! This can cause unexpected behavior, as this script commits to GCODE
MEDIUMbin/prepare_release.py304 print('Error: Git working tree is not clean! This can cause unexpected behavior, as this script commits to GCODE
MEDIUMbin/prepare_release.py313 print(f'Error: {release_notes_file_path} not found. Cannot proceed with release.')CODE
MEDIUMbin/prepare_release.py363 print('Error: GitHub CLI (gh) is not installed. Please install it and re-run.')CODE
MEDIUMbin/prepare_release.py392 print(f'Error while running command: {cmd}')CODE
MEDIUMbin/prepare_release.py420 print(f"Error: Could not find a matching '{workflow_name}' run for commit {head_sha}.")CODE
MEDIUMbin/prepare_release.py444 print(f'Error: Could not parse JSON for run {selected_run_id}.')CODE
MEDIUMbin/prepare_release.py450 print(f"Error: '{workflow_name}' did not succeed (status={status}, conclusion={conclusion}).")CODE
MEDIUMbin/prepare_release.py466 print(f"Error: version string '{version_str}' is not in 'vMAJOR.MINOR.PATCH' format.")CODE
MEDIUMbin/prepare_release.py479 print(f'Error: {filepath} not found.')CODE
LOWjava/check_code_size.py86 except Exception as e:CODE
MEDIUMjava/check_code_size.py53def current_origin_main_entry() -> Optional[Mapping[str, Any]]:CODE
Slop Phrases10 hits · 15 pts
SeverityFileLineSnippetContext
LOWrust/protocol/src/state/session.rs585 // Don't forget to clean up new pending fields.COMMENT
LOW…a/org/signal/libsignal/crypto/Aes256GcmEncryption.java51 * <p>Don't forget to call {@link #computeTag} when encryption is complete.COMMENT
LOW…a/org/signal/libsignal/crypto/Aes256GcmEncryption.java62 * <p>Don't forget to call {@link #computeTag} when encryption is complete.COMMENT
LOW…a/org/signal/libsignal/crypto/Aes256GcmDecryption.java51 * <p>Don't forget to call {@link #verifyTag} when decryption is complete.COMMENT
LOW…a/org/signal/libsignal/crypto/Aes256GcmDecryption.java64 * <p>Don't forget to call {@link #verifyTag} when decryption is complete.COMMENT
LOW…nal/libsignal/messagebackup/OnlineBackupValidator.java17 * decryption and decompression steps, but that also means it's validating less. Don't forget toCOMMENT
LOWswift/Sources/LibSignalClient/MessageBackup.swift169/// This is much faster than using `validateMessageBackup(...)` because it bypasses the decryption and decompression steCOMMENT
LOWswift/Sources/LibSignalClient/Aes256Gcm.swift166 /// Don't forget to call ``computeTag()`` when encryption is complete.COMMENT
LOWswift/Sources/LibSignalClient/Aes256Gcm.swift255 /// Don't forget to call ``verifyTag(_:)`` when decryption is complete.COMMENT
LOWnode/ts/MessageBackup.ts163 * steps, but that also means it's validating less. Don't forget to call `finalize()`!COMMENT
Fake / Example Data11 hits · 12 pts
SeverityFileLineSnippetContext
LOWrust/net/chat/src/grpc/messages.rs820 let fake_token = structurally_valid_group_send_token();CODE
LOWrust/net/chat/src/grpc/messages.rs826 MultiRecipientSendAuthorization::Group(fake_token),CODE
LOWrust/net/chat/src/ws/messages.rs779 let fake_token = structurally_valid_group_send_token();CODE
LOWrust/net/chat/src/ws/messages.rs797 UserBasedSendAuthorization::User(UserBasedAuthorization::Group(fake_token)),CODE
LOWrust/net/chat/src/ws/messages.rs1272 let fake_token = structurally_valid_group_send_token();CODE
LOWrust/net/chat/src/ws/messages.rs1277 MultiRecipientSendAuthorization::Group(fake_token),CODE
LOWrust/message-backup/src/unknown.rs223 fn fake_data() -> Self {CODE
LOWrust/message-backup/src/unknown.rs271 proto::TestMessage::fake_data(),CODE
LOWrust/message-backup/src/unknown.rs272 proto::TestMessage::fake_data().wire_cast_as::<proto::TestMessage>(),CODE
LOWrust/message-backup/src/unknown.rs273 proto::TestMessage::fake_data().wire_cast_as::<proto::TestMessageWithExtraFields>(),CODE
LOWrust/message-backup/src/unknown.rs349 proto::TestMessage::fake_data().wire_cast_as::<proto::TestMessageWithExtraFields>();CODE
Verbosity Indicators6 hits · 11 pts
SeverityFileLineSnippetContext
LOWrust/keytrans/src/log.rs411 // Step 1: Verify that the consistency proof aligns with m_root.COMMENT
LOWrust/keytrans/src/log.rs445 // Step 2: Verify that the consistency proof aligns with n_root.COMMENT
LOWrust/protocol/src/sealed_sender.rs2103 // Step 1: temporarily add a new field to the .proto.COMMENT
LOWrust/protocol/src/sealed_sender.rs2113 // Step 2: Add `some_fake_field: None` to the above construction ofCOMMENT
LOWrust/protocol/src/sealed_sender.rs2116 // Step 3: Serialize and print out the new fixture data (uncomment the following)COMMENT
LOWrust/protocol/src/sealed_sender.rs2152 // Step 4: update the following fixture data with the new values from above.COMMENT
Structural Annotation Overuse6 hits · 11 pts
SeverityFileLineSnippetContext
LOWrust/keytrans/src/log.rs411 // Step 1: Verify that the consistency proof aligns with m_root.COMMENT
LOWrust/keytrans/src/log.rs445 // Step 2: Verify that the consistency proof aligns with n_root.COMMENT
LOWrust/protocol/src/sealed_sender.rs2103 // Step 1: temporarily add a new field to the .proto.COMMENT
LOWrust/protocol/src/sealed_sender.rs2113 // Step 2: Add `some_fake_field: None` to the above construction ofCOMMENT
LOWrust/protocol/src/sealed_sender.rs2116 // Step 3: Serialize and print out the new fixture data (uncomment the following)COMMENT
LOWrust/protocol/src/sealed_sender.rs2152 // Step 4: update the following fixture data with the new values from above.COMMENT
AI Slop Vocabulary3 hits · 8 pts
SeverityFileLineSnippetContext
LOWCargo.toml241# When building libsignal, just use our forks so we don't end up with two different versions of the libraries.COMMENT
MEDIUMrust/net/infra/src/route/connect/interface_monitor.rs45/// Essentially an [`AsyncFn`] with a few extra constraints. We would need `async_fn_traits` toCOMMENT
MEDIUMswift/Sources/LibSignalClient/DataStoreProtocols.swift21/// Essentially `Any`, but still able to catch typos when calling something that uses stores.COMMENT
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGH…st/bridge/shared/types/src/support/transform_helper.rs18 /// Extracts the value from the TransformHelper and transforms it as requested.COMMENT
Example Usage Blocks2 hits · 3 pts
SeverityFileLineSnippetContext
LOWbin/run_with_network_isolation.sh5# Usage:COMMENT
LOWswift/Sources/LibSignalClient/KeyTransparency.swift118 /// Example usage:COMMENT
Modern AI Meta-Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMrust/bridge/jni/impl/src/logging.rs104 // ID are worth not having the guardrails.COMMENT
Modern Structural Boilerplate1 hit · 1 pts
SeverityFileLineSnippetContext
LOWbin/update_versions.py27def update_version(file: str, pattern: re.Pattern[str], new_version: str) -> None:CODE