Repository navigation
Stop youtube-ctx from requesting sandbox escalation - #263
Conversation
…rusted-content rule The Agent Trust Hub audit on skills.sh failed youtube-ctx for telling the agent to request host network access and sandbox_permissions "require_escalated". On blocked network requests the skill now tells the user it needs outbound HTTPS to YouTube and leaves permissions to them. The untrusted-content rule now covers titles, descriptions, comments, and channel text as well as transcripts and imagery, and the skill states which hosts its scripts contact.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
devhims
left a comment
There was a problem hiding this comment.
Verdict: approve
Reviewed 360a7903e449e684bb494e69e3507c0e7649c8d0. No material findings in this documentation/skill-text change.
- The skill now describes its outbound-network requirement without directing agents to request escalated execution or retain elevated permission. Failure classification and the existing hosted fallback remain documented.
- The trust-boundary wording covers titles, descriptions, transcripts, comments, channel text and on-screen text; the direct reference and both public documentation pages agree with the new flow.
- No executable/bundled code changed. The endpoint/install description was checked against surrounding script source; this wording does not itself enforce a network allowlist or prove prompt-injection resistance.
Verification: all eight Verify CI jobs passed for this head, including Documentation and Library and skill bundle. Independent local skill tests: 97 passed, 4 skipped; TypeScript passed. Both bundled CLI --help smoke checks passed. Independent text checks confirmed removal of escalation guidance and retention of the trust boundary and fallback. All relevant skill/library source and changed-file blob hashes matched the reviewed head.
Limits: the local bundle-reproducibility check differed with reused/symlinked dependencies; the clean exact-head CI bundle check passed. No live YouTube extraction, real-model behavioral test or skills.sh rescan was performed. The external audit result remains unverified until the published skill is rescanned; approval here is not a claim that the scanner now passes.
Summary
The Agent Trust Hub audit failed
youtube-ctxwith PRIVILEGE_ESCALATION because the skill told the agent to raise its own network permissions. The skill now states the access it needs and leaves granting it to the user.Also addresses the other two findings with wording:
docs/skills/youtube-ctx.mdxanddocs/agents.mdxmatch, and "escalating to exact frames" became "moving to exact frames" so keyword scanners stop matching.Evidence
git grep -i -E "require_escalated|host network access|escalat"across the skill and its docs: 3 files match (SKILL.md,agents/openai.yaml,docs/agents.mdx)After: same grep: no matches
The skills.sh rescan only happens after publish, so the audit result itself is not verified here.
Merge Danger
Door: two-way
Docs and skill text only; revert restores the old wording.
Blast Radius: sandboxed-agents
Agents in a network-restricted sandbox no longer retry with escalated permissions on their own. They stop and ask the user to allow YouTube access, or fall back to
video2ctx-platform. That is one extra user step in Codex-style sandboxes.