Skip to content

Improve secure-code-review template sandbox gates#1600

Open
xianzuyang9-blip wants to merge 1 commit into
UnitOneAI:mainfrom
xianzuyang9-blip:codex/secure-code-review-template-context
Open

Improve secure-code-review template sandbox gates#1600
xianzuyang9-blip wants to merge 1 commit into
UnitOneAI:mainfrom
xianzuyang9-blip:codex/secure-code-review-template-context

Conversation

@xianzuyang9-blip
Copy link
Copy Markdown

Summary

  • Closes [REVIEW] secure-code-review: add template sandbox and context-escaping evidence gates #1573
  • Adds template-engine evidence gates to secure-code-review so reviewers split SSTI/template-source control from generic XSS sanitization.
  • Requires sandbox, dangerous global/loader, autoescape, sink-context, and safe/raw override evidence before marking template rendering safe.
  • Adds vulnerable examples for user-controlled template source and mark_safe HTML email context escapes.

Verification

  • git diff --check
  • rg -n "CWE-1336|Template and Context|from_string|mark_safe|safe/raw|autoescape|dangerous globals" skills/appsec/secure-code-review/SKILL.md

Bounty

/claim #1573

Preferred payment method: crypto or PayPal after maintainer acceptance.

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.

[REVIEW] secure-code-review: add template sandbox and context-escaping evidence gates

1 participant