You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ci: check-skill-portability.sh's awk operand shares the identifier=value edge case fixed in check-shell-portability.sh (#1513) #1532
area: securitySecurity-relevant: vulnerability, hardening, or disclosure follow-up.needs-triageNot yet classified. Floor until a type and one priority tier are set.
This was generated by AI during work-loop execution.
Context
While implementing #1513 (harden shell-portability-lint detection precision), item 3 of that issue
identified that scripts/check-shell-portability.sh's scan_file() passes "$TOKENS" "$file"
positionally to awk, and a scanned file whose relative path is shaped like an identifier=value
assignment (e.g. a top-level file literally named FOO=bar.sh) is silently consumed by awk as a
command-line variable assignment instead of opened as a file -- dropping it from the scan with no
error (empirically verified: awk '{print}' "FOO=bar.sh" exits 0 with no output; awk '{print}' "./FOO=bar.sh" correctly prints the file's contents). #1513 fixed this in check-shell-portability.sh by prefixing an unrooted file operand with ./ before it reaches awk.
scripts/check-skill-portability.sh's scan_file() has the textually identical pattern -- awk '...' "$TOKENS" "$file" -- and so has the identical latent vulnerability, but #1513's brief
scoped the awk-operand fix to check-shell-portability.sh only (the issue that named it never
mentioned the skill gate for this specific item, unlike item 2 in the same issue, which explicitly
called out a shared fix across both gates). Fixing it there too was out of scope for #1513's PR.
Proposed work
Apply the same ./-prefix fix to check-skill-portability.sh's scan_file(): before invoking
awk, prefix the $file operand with ./ when it does not already start with ./ or /.
Duplicate of #1531. Read both bodies in full: they are byte-identical (same Context, Proposed
work, Acceptance criteria, References, Metadata), both filed during #1513's implementation, 14
seconds apart — #1531 at 09:03:06Z, #1532 at 09:03:20Z. Closing the later-filed copy per duplicate
policy; #1531 carries the triage forward.
area: securitySecurity-relevant: vulnerability, hardening, or disclosure follow-up.needs-triageNot yet classified. Floor until a type and one priority tier are set.
Activity
kyle-sexton commentedon Jul 26, 2026
This was generated by AI during triage.
Duplicate of #1531. Read both bodies in full: they are byte-identical (same Context, Proposed
work, Acceptance criteria, References, Metadata), both filed during #1513's implementation, 14
seconds apart — #1531 at 09:03:06Z, #1532 at 09:03:20Z. Closing the later-filed copy per duplicate
policy; #1531 carries the triage forward.
fix(ci): harden shell-portability-lint detection precision (#1534)
fix(ci): check-skill-portability.sh's awk operand shares the identifi…