扫描报告
45 /100
authenticate-wallet
Authenticate to AgnicPay wallet using browser OAuth or non-browser API token mode
The skill relies on unversioned npx execution of external npm package with wildcard arguments, posing significant supply chain risk.
谨慎使用
Pin the npm package to a specific version hash and restrict allowed-tools to documented subcommands only.
攻击链 3 步
⬡
提权 Attacker typosquats or compromises 'agnic' npm package
SKILL.md:8⬡
提权 Skill executes arbitrary code via 'npx agnic@latest *' when user invokes
SKILL.md:8◉
影响 Malicious package executes code with same shell:WRITE privileges
SKILL.md:8安全发现 3 项
| 严重性 | 安全发现 | 位置 |
|---|---|---|
| 高危 | Unversioned npm package execution 供应链 | SKILL.md:8 |
| 中危 | Wildcard allows undocumented subcommands 文档欺骗 | SKILL.md:8 |
| 低危 | Token visible in command line 凭证窃取 | SKILL.md:11 |
| 资源类型 | 声明权限 | 推断权限 | 状态 | 证据 |
|---|---|---|---|---|
| 命令执行 | WRITE | WRITE | ✓ 一致 | allowed-tools declares Bash(npx agnic@latest *) |
目录结构
1 文件 · 1.5 KB · 62 行 Markdown 1f · 62L
└─
SKILL.md
Markdown
依赖分析 1 项
| 包名 | 版本 | 来源 | 已知漏洞 | 备注 |
|---|---|---|---|---|
agnic | @latest | npm | 否 | No version pinned; arbitrary code execution possible if package compromised |
安全亮点
✓ Skill is simple with minimal attack surface
✓ No hidden functionality detected
✓ No direct access to sensitive files (~/.ssh, ~/.aws, etc.)
✓ No base64 or obfuscated code
✓ No credential exfiltration observed