cpp

Warn

Audited by Socket on Sep 12, 2026

2 alerts found:

AnomalySecurity
AnomalyLOW
evals/files/deferred-report.cpp

No evidence of malicious behavior or supply-chain malware is present. The code contains a significant coroutine lifetime bug: the temporary lambda's captured report may be accessed after the closure has been destroyed, producing use-after-lifetime undefined behavior during scheduler.drain(). The implementation should use a named coroutine function or otherwise ensure captured state is stored safely in the coroutine frame. The referenced output vector must also outlive all queued tasks.

Confidence: 94%Severity: 68%
SecurityMEDIUM
evals/files/queued-labels.cpp

The code is not malicious, but it contains a serious lifetime bug: deferred callbacks use dangling std::string_view objects. The program has undefined behavior and may produce corrupted output or fail unpredictably. The callbacks should capture owning std::string values or otherwise ensure the referenced storage remains alive and stable.

Confidence: 99%Severity: 72%
Audit Metadata
Analyzed At
Sep 12, 2026, 12:12 PM
Package URL
pkg:socket/skills-sh/lynricsy%2Fhyperskills%2Fcpp%2F@5b8a730425965fc96f4686fc43405988b2259a5ac171cea59d17c9b7a029408a
Security Audit — socket — cpp