skill-miner
Audited by Socket on Sep 21, 2026
2 alerts found:
Anomalyx2The fragment is intended as a model-assisted draft generator, not clear malware. It contains a meaningful path-write vulnerability because --name is used without validation and can potentially escape the configured output directory. It also forwards local context and evidence to forge_llm, which is a potential data-disclosure boundary dependent on that module's implementation. As shown, the code does not run because DRAFT_PROMPT lacks a value. Review forge_llm.call_model and constrain --name to a safe basename before use.
The code appears to be a skill-candidate discovery and ranking utility, not an overt malware payload. Its main security concern is supply-chain risk from executing unpinned packages via npx -y, plus possible disclosure of cluster signature terms to remote search services. Restrict network access, pin and verify package versions, and treat input/output paths and cluster contents as untrusted.