story-setup

Warn

Audited by Socket on Nov 29, 2026

2 alerts found:

Anomalyx2
AnomalyLOW
references/opencode/agents/story-researcher.md

该配置用于研究资料搜索和参考文件生成,未显示恶意行为或凭据窃取。主要安全风险是 shell/edit 对任意资源开放,以及将外部 URL、查询和路径插入命令或文件操作时缺少明确的转义与边界验证,可能导致注入或越界写入;严重性为中等,需收紧权限并验证输入。

Confidence: 96%Severity: 55%
AnomalyLOW
references/codex/hooks/hooks.json

This module is a lifecycle hook runner that resolves a project root (from env/CWD), locates `.codex/hooks/run-story-hook.sh` (Unix) or `.codex/hooks/run-story-hook.cmd` (Windows), and executes it with the specified event. The snippet shows no explicit data theft or network activity, but it contains a high-impact arbitrary-code-execution pathway driven by repository-local hook content and uses `powershell -ExecutionPolicy Bypass` on Windows, increasing risk if the `.codex/hooks` files can be tampered with.

Confidence: 67%Severity: 62%
Audit Metadata
Analyzed At
Nov 29, 2026, 09:26 AM
Package URL
pkg:socket/skills-sh/zenstory-ai%2Foh-story-claudecode%2Fstory-setup%2F@85f22a2a53d7c166efa4134aa82f65d841e0f9e23f3e52f1bcb089bb2939fab4