persona-knowledge
Audited by Socket on Oct 9, 2026
2 alerts found:
Anomalyx2The code appears to implement local dataset ingestion rather than malware. The primary security concern in this fragment is unvalidated --slug path construction, which can direct dataset reads and writes outside the configured knowledge root. Dynamic adapter imports and retention of unredacted PII also merit review in deployments where command-line inputs or adapter availability are untrusted.
No clear malware, data exfiltration, or unauthorized network behavior is present. The fragment has filesystem path traversal risks through the slug and, more notably, through link targets when --fix-links is enabled. It is also syntactically invalid as supplied. Validate inputs and enforce resolved-path containment before reading or writing files.