Skip to content

feat(security): encryption.ts failclosed on crypto failure (audit F3) - #549

Merged
KooshaPari merged 1 commit into
mainfrom
feat/encryption-failclosed-20260808
Aug 8, 2026
Merged

KooshaPari merged 1 commit into
mainfrom
feat/encryption-failclosed-20260808

feat(security): encryption.ts failclosed on crypto failure

fb93243
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Aug 8, 2026 in 14m 28s

Annotations

Check warning on line 115 in src/lib/db/encryption.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Update this function so that its implementation is not identical to the one on line 99.

See more on https://sonarcloud.io/project/issues?id=KooshaPari_OmniRoute&issues=AZ_jv3cJ0MNLI6eJjYfG&open=AZ_jv3cJ0MNLI6eJjYfG&pullRequest=549

Check warning on line 612 in src/lib/db/encryption.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'err' will use Object's default stringification format ('[object Object]') when stringified.

See more on https://sonarcloud.io/project/issues?id=KooshaPari_OmniRoute&issues=AZ_jv3cJ0MNLI6eJjYfH&open=AZ_jv3cJ0MNLI6eJjYfH&pullRequest=549

Check warning on line 356 in src/lib/db/providers.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'data.provider' will use Object's default stringification format ('[object Object]') when stringified.

See more on https://sonarcloud.io/project/issues?id=KooshaPari_OmniRoute&issues=AZ_jv3wn0MNLI6eJjYfJ&open=AZ_jv3wn0MNLI6eJjYfJ&pullRequest=549

Check warning on line 624 in src/lib/db/encryption.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer using an optional chain expression instead, as it's more concise and easier to read.

See more on https://sonarcloud.io/project/issues?id=KooshaPari_OmniRoute&issues=AZ_jv3cJ0MNLI6eJjYfI&open=AZ_jv3cJ0MNLI6eJjYfI&pullRequest=549

Check warning on line 292 in src/instrumentation-node.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'err' will use Object's default stringification format ('[object Object]') when stringified.

See more on https://sonarcloud.io/project/issues?id=KooshaPari_OmniRoute&issues=AZ_jv3xs0MNLI6eJjYfK&open=AZ_jv3xs0MNLI6eJjYfK&pullRequest=549