{"answers":{"affected":"2 open source packages ship an affected version, including skilleton.","exploited":"There is no known exploitation of GHSA-5g3j-89fr-r2vp in the wild and no public exploit code.","fix":"Upgrade skilleton to 0.3.1 or later.","what":"GHSA-5g3j-89fr-r2vp is a path traversal vulnerability in skilleton, published on 8 Apr 2026."},"fix_prompt":"Check this codebase for GHSA-5g3j-89fr-r2vp and fix it if it is affected.\n\nWhat it is: GHSA-5g3j-89fr-r2vp is a path traversal vulnerability in skilleton, published on 8 Apr 2026. \nExploitation: There is no known exploitation of GHSA-5g3j-89fr-r2vp in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- skilleton (npm): affected all versions; fixed in 0.3.1\n- skilleton (npm): affected all versions; fixed in 0.3.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/GHSA-5g3j-89fr-r2vp/ (Markdown: https://insights.sbomify.com/GHSA-5g3j-89fr-r2vp/index.md)","id":"GHSA-5g3j-89fr-r2vp","markdown":"https://insights.sbomify.com/GHSA-5g3j-89fr-r2vp/index.md","name":"GHSA-5g3j-89fr-r2vp","record":{"aliases":[],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["other"],"network_reachable":"unknown","non_default_config":false,"product_category":"npm repository tool","requires_auth":"none","summary":"Crafted input in skilleton can trigger unsafe path processing behavior, potentially leading to resource exhaustion or logic errors.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"## Summary\n\n`skilleton` versions prior to `0.3.1` include security-related weaknesses in repository normalization and path handling logic.  \nVersion `0.3.1` contains fixes and additional test coverage for these issues.\n\n## Affected Versions\n\n`\u003c0.3.1`\n\n## Patched Versions\n\n`\u003e=0.3.1`\n\n## Impact\n\nIn affected versions, crafted input could trigger unsafe or inefficient behavior in repository/path processing code paths.  \n`0.3.1` mitigates this by:\n- replacing vulnerable parsing behavior with deterministic logic,\n- validating subpaths earlier before allocating git worktree resources,\n- adding stricter and broader regression tests around these flows.\n\n## Severity\n\nLow to Moderate (project-maintainer assessed)\n\n## Mitigation\n\nUpgrade to `0.3.1` or later.\n\n## Workarounds\n\nNo complete workaround is recommended other than upgrading.\n\n## References\n\n- Branch: [`fix/security-code-scanning-alerts`](https://github.com/Fcmam5/skilleton/pull/9)\n- Commits:\n  - [fix(security): harden git arg handling and path validation](https://github.com/Fcmam5/skilleton/pull/9/changes/42bc280ad675bfaa7b1bbc192330fb582bb28172)\n  - [fix(security): use while loop in normalizeRepoUrl instead of regex](https://github.com/Fcmam5/skilleton/pull/9/changes/6613160803ec8655efee9a270eeaa767ad22da8b)\n- Security Policy: [SECURITY.md](https://github.com/Fcmam5/skilleton/blob/master/SECURITY.md)\n\n## Credits\n\nDetected through automated code scanning and remediated by project maintainers.","ecosystems":["npm"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"skilleton has improper input handling in repository/path processing","id":"GHSA-5g3j-89fr-r2vp","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"npm","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":2,"n_references":null,"packages":[{"ecosystem":"npm","fixed":["0.3.1"],"introduced":["0"],"last_affected":[],"package":"skilleton","purl":null,"source":"GHSA-5g3j-89fr-r2vp"},{"ecosystem":"npm","fixed":["0.3.1"],"introduced":["0"],"last_affected":[],"package":"skilleton","purl":"pkg:npm/skilleton","source":"GHSA-5g3j-89fr-r2vp"}],"products":null,"published":"2026-04-08","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"Crafted input in skilleton can trigger unsafe path processing behavior, potentially leading to resource exhaustion or logic errors.","url":"https://insights.sbomify.com/GHSA-5g3j-89fr-r2vp/"}