Skip to content

feat(web-security): add archivealchemist runtime support and archive-path-traversal skill#50

Merged
GangGreenTemperTatum merged 1 commit into
mainfrom
ads/cap-1017-integrate-archive-alchemist-into-web-security-capability
Jun 12, 2026
Merged

feat(web-security): add archivealchemist runtime support and archive-path-traversal skill#50
GangGreenTemperTatum merged 1 commit into
mainfrom
ads/cap-1017-integrate-archive-alchemist-into-web-security-capability

Conversation

@GangGreenTemperTatum

@GangGreenTemperTatum GangGreenTemperTatum commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds archivealchemist runtime support to the web-security capability and updates the archive-path-traversal skill to use it.

What's included

  • capabilities/web-security/scripts/install_tools.sh — clones https://github.com/avlidienbrunn/archivealchemist to ~/git/archivealchemist during sandbox provisioning.
  • capabilities/web-security/docker/Dockerfile.runtime — same archivealchemist install for local/CI runtime builds.
  • capabilities/web-security/capability.yaml
    • Bumps version to 1.1.4
    • Adds optional archivealchemist check (test -f "$HOME/git/archivealchemist/archive-alchemist.py")
    • Updates description and keywords (archive-extraction, zip-slip, path-traversal)
  • capabilities/web-security/skills/archive-path-traversal/SKILL.md — rewritten to cover:
    • Tool path and command reference
    • Attack patterns: Zip Slip, symlink file read, symlink collision, setuid escalation, polyglot MIME bypass, Unicode path confusion
    • Iterative working-directory workflow
    • Testing procedure and constraints
  • capabilities/web-security/agents/web-security.md — mentions archive-alchemist CLI and the archive-path-traversal skill.

Design notes

  • Kept to the requested "small addition to the dockerfile + light context engineering" scope.
  • No new Dreadnode tool wrapper; agents invoke python3 ~/git/archivealchemist/archive-alchemist.py via bash.
  • The skill replaces the previous Zip Slip-only skill with a fuller archive extraction vulnerability guide.

Validation

  • bash -n capabilities/web-security/scripts/install_tools.sh
  • capability.yaml parses and includes archivealchemist check, version 1.1.4
  • archive-path-traversal/SKILL.md frontmatter valid
  • python3 -m pytest capabilities/web-security/tests/ --ignore=capabilities/web-security/tests/test_bbscope.py -q → 153 passed

…path-traversal skill

- Install archivealchemist in install_tools.sh and Dockerfile.runtime at
  ~/git/archivealchemist for crafting malicious archives.
- Add optional archivealchemist check to capability.yaml.
- Bump version to 1.1.4 and update description/keywords.
- Rewrite archive-path-traversal skill around archivealchemist with
  attack patterns (Zip Slip, symlink, hardlink, setuid, polyglot,
  Unicode path confusion) and an iterative working-directory workflow.
- Update agent prompt to reference archive-alchemist CLI and the
  archive-path-traversal skill.
@GangGreenTemperTatum GangGreenTemperTatum marked this pull request as ready for review June 12, 2026 20:32
@GangGreenTemperTatum GangGreenTemperTatum merged commit 33f1ef1 into main Jun 12, 2026
4 of 5 checks passed
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