GitHub Advisoryadvisory · npm

GHSA-5g3j-89fr-r2vp skilleton has improper input handling in repository/path processing

MEDIUM Published 2026-04-08 Modified 2026-04-08 Official page ↗
Ecosystem
npm
Packages
skilleton
Severity
Moderate
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
Weaknesses
CWE-1333, CWE-400, CWE-78, CWE-88
Reviewed
2026-04-08

Affected packages

• npm skilleton: < 0.3.1 → fixed in 0.3.1

Description

Summary `skilleton` versions prior to `0.3.1` include security-related weaknesses in repository normalization and path handling logic. Version `0.3.1` contains fixes and additional test coverage for these issues. Affected Versions `=0.3.1` Impact In affected versions, crafted input could trigger unsafe or inefficient behavior in repository/path processing code paths. `0.3.1` mitigates this by: • replacing vulnerable parsing behavior with deterministic logic, • validating subpaths earlier before allocating git worktree resources, • adding stricter and broader regression tests around these flows. Severity Low to Moderate (project-maintainer assessed) Mitigation Upgrade to `0.3.1` or later. Workarounds No complete workaround is recommended other than upgrading. References • Branch: `fix/security-code-scanning-alerts` • Commits: • fix(security): harden git arg handling and path validation • fix(security): use while loop in normalizeRepoUrl instead of regex • Security Policy: SECURITY.md Credits Detected through automated code scanning and remediated by project maintainers.

Related

Weakness · CWE (4)

  • CWE-1333 Inefficient Regular Expression Complexity weakness
  • CWE-400 Uncontrolled Resource Consumption weakness
  • CWE-78 Improper Neutralization of Special Elements used in an OS Command weakness
  • CWE-88 Improper Neutralization of Argument Delimiters in a Command weakness

References