Skylos - Python SAST, Dead Code Detection & PR Gate
Version updated for https://github.com/duriantaco/skylos to version v4.1.4.
- This action is used across all versions by 13 repositories.
Action Type
This is a Composite action.
Go to the GitHub Marketplace to find the latest changes.
Action Summary
Skylos is an open-source static analysis tool designed for Python, TypeScript, and Go, offering capabilities like dead code detection, hardcoded secrets identification, exploitable flow analysis, and AI-generated security regression checks. It automates code quality and security reviews by providing local scans, CI/CD pull request gates with GitHub annotations, and in-editor feedback through a VS Code extension. Skylos helps teams streamline their workflows, enhance code quality, and mitigate security risks, particularly for AI-assisted development and Python-based LLM applications.
Release notes
Fixed
- Honor project
.gitignoreduring file discovery. Ignored worktrees, custom virtualenvs, and other excluded paths are no longer scanned - Treat imperative framework entrypoints as live code instead of dead code:
- Flask
add_url_rule(...) - FastAPI
add_api_route(...) - Starlette
add_route(...)/add_websocket_route(...) - Sanic
register_listener(...)/register_middleware(...)
- Flask
- Treat pytest / Pluggy hook implementations (
@pytest.hookimpl,@hookimpl) as live plugin entrypoints - Grep cache saves now fail open on non-writable roots instead of aborting analysis
skylos --llmnow shows populatedProblem:descriptions for dead code findings- Dead code findings in
--llmoutput now include rule IDs and severity levels - Fixed Windows
uvx skyloscrash caused by litellm path length issues
Changed
- Static
grep_verifynow reuses.skylos/cache/grep_results.jsonacross repeated local scans - Phase 2b LLM audits now focus on high-signal files instead of scanning the full Python set
- Agent scans are faster on changed-file workflows, and fix generation is now opt-in
litellmis now optional for core static analysis installslitellmis capped at<1.82.8due to the known supply chain issue