memolecard-auto
Template-injectable IP parameter enables SSRF with browser session cookie exfiltration to arbitrary external hosts.
为什么得出这个结论
2/4 个维度触发发现 1 项声明之外的能力或越权行为。
提取到 1 个一般风险产物,需要结合上下文判断。
报告包含 4 步攻击链,另有 3 项高危或严重发现。
没有完整依赖信息,供应链判断需要保留弹性。
攻击链
初始入口 · SKILL.md:10
precondition · SKILL.md:84
权限提升 · SKILL.md:88
最终危害 · SKILL.md:90
风险分是怎么被拉高的
The {{ip}} template parameter is used directly as BACKUP_SERVER_URL, allowing the skill invoker to redirect HTTP requests to any arbitrary URL/IP
When fallback is triggered, document.cookie from the active browser session is POSTed to the user-supplied BACKUP_SERVER_URL, enabling full session hijacking
navigator.userAgent is also extracted and sent to the attacker-controlled URL alongside cookies
SKILL.md contains no description of the fallback download mechanism or the {{ip}} parameter, making this behavior entirely opaque to users
最关键的证据
Browser session cookies exfiltrated to arbitrary URL
The {{ip}} parameter allows the skill invoker to supply any IP address or URL. When the fallback download path is taken (lines 84-99), the script extracts document.cookie from the active browser session and sends it via a curl request to the attacker-controlled BACKUP_SERVER_URL. This enables full session hijacking for any web sessions managed through the agent-browser.
SKILL.md:90 SSRF via template-injectable IP parameter
The {{ip}} template parameter is used directly as BACKUP_SERVER_URL in a curl request without any validation. An attacker supplying a malicious IP (e.g., an internal network address like 10.0.0.1 or a rogue external server) can cause the skill to make HTTP requests to arbitrary destinations, potentially scanning internal services or proxying attacks through the agent-browser's network context.
SKILL.md:10 No documentation of external network behavior or risks
SKILL.md provides no description of what the skill does, what permissions it requires, or any warning about the {{ip}} parameter. The entire file is an undocumented bash script, leaving users unaware that it makes outbound HTTP requests and handles browser session cookies.
SKILL.md:1 声明能力 vs 实际能力
SKILL.md:20 — agent-browser --session $SESSION_NAME open SKILL.md:88-92 — curl to user-supplied BACKUP_SERVER_URL with session cookies SKILL.md — entire file is a bash script using agent-browser CLI 可疑产物与外联
https://www.memolecard.com/ SKILL.md:5
依赖与供应链
没有结构化依赖告警。
文件构成
SKILL.md