sourcer
Audited by Socket on Nov 24, 2026
2 alerts found:
Anomalyx2The fragment is intended to fetch and locally attest web content, and contains no clear evidence of malware or credential exfiltration. It does present security risks if inputs are untrusted: arbitrary destinations and redirects can reach internal services, and an unvalidated `run_id` can redirect filesystem writes outside the intended root. It also persists full URLs, which could expose URL-embedded credentials in logs. The supplied fragment is syntactically invalid because its exception classes have no bodies.
This code orchestrates page crawling, claim extraction, verification, and validation, and shows no direct evidence of malware or data exfiltration. It does construct shell commands from unquoted arguments and agent-returned values, creating a command-injection risk if those values are untrusted and agent() executes them through a shell. The chainKey alone is restricted by a character allowlist; other interpolated values are not. Severity is moderate pending confirmation of agent() execution semantics and input trust.