loki-mode

Warn

Audited by Socket on Feb 15, 2026

3 alerts found:

Securityx2Anomaly
SecurityMEDIUM
SKILL.md

The Loki Mode fragment depicts an ambitious autonomous orchestration system but is deemed suspicious due to permission-bypass guidance and zero-human-intervention claims. For safe usage in a real supply chain, implement strict access-controls, auditable runs, secrets management, and a safe default mode with human oversight before enabling autonomous deployment and data exfiltration pathways.

Confidence: 56%Severity: 72%
SecurityMEDIUM
benchmarks/results/2026-01-05-00-49-17/humaneval-solutions/160.py

This function is unsafe for use with any untrusted input: it constructs a string from caller-provided operators and operands and passes it to eval, enabling arbitrary code execution. Replace eval with explicit arithmetic operations or validate inputs thoroughly and compute without dynamic execution. Fix the syntax error before use.

Confidence: 85%Severity: 75%
AnomalyLOW
autonomy/run.sh

The Loki Mode script is a feature-rich autonomous runner with several protective and auditing mechanisms. However, it introduces meaningful security and supply-chain risks through perpetual operation, self-copy behavior, risky AI invocation (dangerously-skip-permissions), and local exposure via dashboards and state files. While no explicit malware is evident in this fragment, its design enables aggressive automation with substantial attack surface in open-source usage. Hardenings recommended: remove or clearly document self-copy behavior for auditability; avoid or constrain PERPETUAL_MODE; tighten AI permissions (avoid dangerous flags); sandbox Claude outputs; implement strict input sanitization for PRD and codebase data; lock down local dashboard exposure; and add explicit access controls and non-persistent state when used in untrusted environments.

Confidence: 62%Severity: 62%
Audit Metadata
Analyzed At
Feb 15, 2026, 08:05 PM
Package URL
pkg:socket/skills-sh/davila7%2Fclaude-code-templates%2Floki-mode%2F@0d1ac3c7b26a1287a9adadaf27f9b5039d59f585