ts-effect-v4

Warn

Audited by Socket on Aug 4, 2026

1 alert found:

Security
SecurityMEDIUM
examples/01_effect/02_services/20_layer-composition.ts

No clear evidence of malicious/backdoor behavior in this module. However, the `findById` implementation directly interpolates attacker-controlled `id` into an SQL string and executes it, creating a high-likelihood SQL injection risk if the SQL template-tag does not safely parameterize/escape this pattern. Remediate by using the library’s parameter binding/prepared-statement mechanisms (placeholders/bindings) or strict validation/encoding of `id` before building the query.

Confidence: 78%Severity: 78%
Audit Metadata
Analyzed At
Aug 4, 2026, 11:17 AM
Package URL
pkg:socket/skills-sh/tstelzer%2Fskills%2Fts-effect-v4%2F@fa7eca7269f00e4276e053170ca87461ba0ba73aab58729256835ae68a844052
Security Audit — socket — ts-effect-v4