Skip to content

feat: add web-exfiltration-detection skill and case2 test#484

Open
NY1024 wants to merge 1 commit into
Tencent:mainfrom
NY1024:feat/web-exfiltration-detection
Open

feat: add web-exfiltration-detection skill and case2 test#484
NY1024 wants to merge 1 commit into
Tencent:mainfrom
NY1024:feat/web-exfiltration-detection

Conversation

@NY1024

@NY1024 NY1024 commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Add a new detection skill 'web-exfiltration-detection' to agent-scan that detects data exfiltration via URL path encoding and chained web_fetch navigation. This covers the 'Memory Heist' attack chain (https://r.slax.com/b/f2e7b676-0582-44a3-9623-5f6ee45504c1) where an agent is tricked into leaking user memory data letter-by-letter through URL paths by following injected instructions on a fake Cloudflare page.

Changes:

  • New skill: prompt/skills/web-exfiltration-detection/SKILL.md
  • New test case: testcase/case2/ with attack server, vulnerable agent, provider config, and README
  • agent.py: add skill to _DETECTION_SKILLS list, switch Stage 2 to parallel detection, add --skills CLI support
  • main.py: add --skills argument for selective skill execution
  • parse.py: fix parameter regex to support
    format in addition to <parameter=name>

Add a new detection skill 'web-exfiltration-detection' to agent-scan that
detects data exfiltration via URL path encoding and chained web_fetch
navigation. This covers the 'Memory Heist' attack chain where an agent
is tricked into leaking user memory data letter-by-letter through URL
paths by following injected instructions on a fake Cloudflare page.

Changes:
- New skill: prompt/skills/web-exfiltration-detection/SKILL.md
- New test case: testcase/case2/ with attack server, vulnerable agent,
  provider config, and README
- agent.py: add skill to _DETECTION_SKILLS list, switch Stage 2 to
  parallel detection, add --skills CLI support
- main.py: add --skills argument for selective skill execution
- parse.py: fix parameter regex to support <parameter name="name">
  format in addition to <parameter=name>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant