Skip to main content

Rule dictionary · Skylos 5.8.0

Every rule Skylos reports

Each finding Skylos prints has a rule ID, such as SKY-D211. Its page says what the rule finds and why it matters, shows code it flags and code it leaves alone, and explains how to fix it or silence it.

Skylos got it wrong? Every rule page has a Wrong result? Report it link that sends the rule ID with your report, privately to the founder. From a terminal, skylos feedback opens the same form.

370 rules.

Security in code

ID prefixes: SKY-D (code rules), SKY-SC

These rules look for code an attacker could abuse: outside input that reaches a database query, a shell, a file path or an outgoing request; unsafe deserialization; weak cryptography; cross-site scripting; and risky use of LLMs and MCP servers.

Many of them follow values through the code. They report when a value that can come from outside the program reaches a dangerous call without passing a known safe form, such as a bound query parameter. They run with --danger (also spelled --security) or -a.

Security in code rules
RuleTitleSeverityLanguages and files
SKY-D200Dangerous call patternPage not written yetNot rated–
SKY-D201Dynamic code execution with evalHighPython, TypeScript/JavaScript, PHP
SKY-D202Dynamic code execution with execHighPython, TypeScript/JavaScript
SKY-D203OS command run through a shellCriticalPython, Java, Kotlin, PHP
SKY-D204Unsafe pickle deserializationCriticalPython, Java, Kotlin, PHP
SKY-D205Unsafe pickle.loads deserializationCriticalPython
SKY-D206Unsafe YAML loadHighPython, Ruby
SKY-D207Weak MD5 hashMediumPython, TypeScript/JavaScript, Go, Java, Rust
SKY-D208Weak SHA-1 hashMediumPython, TypeScript/JavaScript, Go, Java, Rust
SKY-D209Subprocess run through a shellHighPython
SKY-D210TLS certificate verification turned offHighPython, TypeScript/JavaScript, Go, Rust, Java, Dart, PHP
SKY-D211SQL injectionCriticalPython, TypeScript/JavaScript, Java, Kotlin, Go, C#, PHP, Ruby, Rust
SKY-D212Command injectionCriticalPython, TypeScript/JavaScript, Go, Java, Kotlin, C#, PHP, Rust, Ruby, Dart, Shell
SKY-D213Hugging Face trust_remote_code runs repository codeHighPython
SKY-D215Path traversalHighPython, TypeScript/JavaScript, Go, Java, Kotlin, C#, PHP, Rust, Dart, Shell
SKY-D216Server-side request forgery (SSRF)CriticalPython, TypeScript/JavaScript, Go, Java, Kotlin, C#, PHP, Rust, Dart, Shell, Ruby
SKY-D217SQL injection through an ORM's raw SQLCriticalPython
SKY-D218Dynamic urllib URL scheme auditPage not written yetMedium–
SKY-D226Cross-site scripting through raw HTMLCriticalTypeScript/JavaScript, Python, Go, Java, Kotlin, C#, PHP
SKY-D227Inline template that turns off HTML escapingHighPython
SKY-D228HTML response built from user inputHighPython, TypeScript/JavaScript, Go, PHP, C#, Rust
SKY-D229XPath injectionCriticalJava
SKY-D230Open redirectHighPython, TypeScript/JavaScript, Go, Java, Kotlin, C#
SKY-D231Unsafe CORS configurationHighPython
SKY-D232JWT signature check turned offCriticalPython
SKY-D233Unsafe deserializationCriticalPython, Java, Kotlin, C#, TypeScript/JavaScript, Rust
SKY-D234Form or serializer accepts every model fieldHighPython
SKY-D235Remote command execution over SSHHighPython
SKY-D236XML external entity (XXE)HighJava, Kotlin, TypeScript/JavaScript, Python, C#
SKY-D237Expression, JNDI or script injectionCriticalJava, Kotlin
SKY-D238NoSQL injectionHighTypeScript/JavaScript
SKY-D239LDAP injectionCriticalJava
SKY-D240MCP tool description poisoningCriticalPython
SKY-D241MCP server on a network transport without authenticationHighPython
SKY-D242MCP resource template that exposes any file pathHighPython
SKY-D243MCP server open on every network interface without authenticationCriticalPython
SKY-D244Secret as the default value of an MCP tool parameterCriticalPython
SKY-D245Dynamic requireHighTypeScript/JavaScript
SKY-D246JWT read with decode() instead of verify()HighTypeScript/JavaScript
SKY-D247CORS middleware open to every originMediumTypeScript/JavaScript
SKY-D248Hard-coded localhost URLMediumTypeScript/JavaScript
SKY-D250Weak random numbers for security valuesMediumPython, TypeScript/JavaScript, Go, Java
SKY-D251Password or token written to logsHighPython, TypeScript/JavaScript, Rust
SKY-D252Cookie sent without the Secure or HttpOnly flagMediumPython, TypeScript/JavaScript, Java, Go, Rust
SKY-D253Secret compared with == or ===MediumTypeScript/JavaScript, Python
SKY-D254Request data stored in the HTTP sessionHighJava
SKY-D255File inclusionCriticalPHP
SKY-D257Android WebView exposes app code to page JavaScriptHighKotlin
SKY-D258Android WebView lets file pages read other files and sitesMediumKotlin
SKY-D260Prompt injection text in the repositoryHighPython, Markdown, reStructuredText, text, YAML, JSON, TOML, .env files
SKY-D261Untrusted input pasted into an LLM promptHighPython
SKY-D262LLM output run as code, SQL, a shell command or a URLCriticalPython
SKY-D263Secrets or personal data sent to an LLMHighPython
SKY-D264AI agent given a shell, code runner or other broad toolHighPython
SKY-D265Unsafe ML model deserializationCriticalPython
SKY-D266Hidden or overriding orders in AI agent instruction filesCriticalAGENTS.md, CLAUDE.md, .cursorrules and other agent instruction files, AI code reviewer settings
SKY-D267LLM call or agent loop with no limitsMediumPython
SKY-D270Token or password saved in browser storageMediumTypeScript/JavaScript
SKY-D271Stack trace or SQL error sent to the clientMediumTypeScript/JavaScript
SKY-D280Next.js API route changes data without checking the userHighTypeScript/JavaScript
SKY-D281SQL injection in a Next.js Server ActionCriticalTypeScript/JavaScript
SKY-D282Webhook handler trusts events without checking the signatureHighPython, TypeScript/JavaScript
SKY-D283Unauthenticated control, destructive or admin routeHighPython
SKY-D324Symlink-following file writeHighPython
SKY-D325Symlink-following file readMediumPython
SKY-D326Unsafe archive extractionHighPython
SKY-D327Secrets or environment sent to an outside hostCriticalShell, GitHub Actions, GitLab CI, Dockerfile, Python, TypeScript/JavaScript
SKY-D328Remote script piped into a shellHighDockerfile, Shell, GitHub Actions, GitLab CI, Python, TypeScript/JavaScript
SKY-D329Broad destructive shell commandHighShell, GitHub Actions, GitLab CI, Dockerfile, Python, TypeScript/JavaScript
SKY-D337Package registry or index overrideHighDockerfile, Shell, GitHub Actions, GitLab CI, Python, TypeScript/JavaScript
SKY-D338Command reads host credentials or mounts the host rootCriticalShell, GitHub Actions, GitLab CI, Dockerfile, Python, TypeScript/JavaScript
SKY-D339Command changes the machine's persistent setupHighShell, GitHub Actions, GitLab CI, Dockerfile, Python, TypeScript/JavaScript
SKY-D340Package or image published outside a releaseHighGitHub Actions workflows, GitLab CI, Shell, Dockerfile, Python, TypeScript/JavaScript
SKY-D341Tool downloaded from the registry and run unpinnedHighGitHub Actions workflows, GitLab CI, Shell, Dockerfile, Python, TypeScript/JavaScript
SKY-D344Trojan Source bidirectional UnicodeHighPython
SKY-D345Hugging Face download not pinned to a commitHighPython
SKY-D346Flask app started in debug modeHighPython
SKY-D347Logging configuration accepted over a socketMediumPython
SKY-D348Insecure temporary filenameHighPython
SKY-D349Server-side template injectionCriticalPython, Java, PHP
SKY-D355Jinja environment without autoescapeHighPython
SKY-D356Cleartext outbound HTTPMediumPython, Rust
SKY-D357Untrusted dynamic Python importHighPython
SKY-D358Gradio app open on every network interface without a loginHighPython
SKY-D359Cached request-derived external Flask URLMediumPython
SKY-D378Incomplete path traversal defencePage not written yetMedium–
SKY-D379Catastrophic regex backtrackingPage not written yetMedium–
SKY-D380SSH host-key verification disabledHighPython, Go
SKY-D383RSA key size defaults below 2048 bitsMediumPython
SKY-D384ECB mode selected for encryptionMediumPython, Kotlin
SKY-D385Django view saves a debit from a previously checked balanceMediumPython
SKY-D386Legacy cipher used for encryptionHighRust
SKY-D387Exposed password written to a databaseHighRust
SKY-D388Symmetric key embedded in sourceHighRust
SKY-D389Request text inserted into a regular expressionMediumRust
SKY-D390Request controls initial allocation capacityHighRust
SKY-D391Exposed secret in a request URLHighRust
SKY-D392Decoded request text in a log messageMediumRust
SKY-D415Unix permission value grants write access to all usersMediumRust
SKY-D416Non-octal Unix permission mode literalMediumRust
SKY-D417PostgreSQL SECURITY DEFINER routine inherits its search pathMediumPostgreSQL
SKY-D418PostgreSQL schema creation privilege granted to PUBLICMediumPostgreSQL
SKY-D419PostgreSQL login role bypasses row-level securityMediumPostgreSQL
SKY-D420PostgreSQL table write privileges granted to PUBLICMediumPostgreSQL
SKY-D430Obsolete TLS protocol configuredHighPython
SKY-D431Unvalidated browser message originHighTypeScript/JavaScript
SKY-D432Spring Boot Actuator wildcard exposureMediumYAML, Java properties
SKY-D433Spring Security CSRF disabledMediumJava
SKY-D434Sensitive data stored in UserDefaultsHighSwift
SKY-D435Unbounded C library writeMediumC++
SKY-D436Repeated free of a local allocationHighC++
SKY-D437Local pointer used after freeHighC++
SKY-D510Prototype pollution from request dataHighTypeScript/JavaScript
SKY-SC001Route lost an auth guard its security contract requiresHighPython (FastAPI)

Secrets

ID prefixes: SKY-S

Passwords, API keys and tokens written into source or configuration files, and server-only values exposed to code that runs in the browser. They run with --secrets or -a. Any reported secret fails the quality gate, whatever the configured limits. In test files and folders only known token formats, such as GitHub or AWS keys, are reported; generic random-looking values there are not.

Secrets rules
RuleTitleSeverityLanguages and files
SKY-S101Secret written into a fileCriticalPython, TypeScript/JavaScript, Go, Java, Kotlin, C#, PHP, Rust, Ruby, Swift, Dart, C/C++, Shell, configuration, Markdown and key files
SKY-S102Secret exposed to code that runs in the browserHighTypeScript/JavaScript, HTML, Vue, Svelte, Astro, and any file the secrets scan reads under a public folder

Supply chain and agent configuration

ID prefixes: SKY-SCA, SKY-D223, SKY-D365–SKY-D370, SKY-D377

Risks that arrive through what a project installs or what its developer tools run: dependency confusion, lockfile entries without integrity hashes, mutable dependency sources, risky upgrades, imports of packages the project never declared, and agent, editor and MCP settings committed to the repository, such as hooks that run commands on a developer's machine.

The SKY-SCA rules run with --sca. Some need more: upgrade review (UPG001, UPG002) needs --review-upgrades and a diff scan, install hardening (HRD001) a diff scan, and dependency confusion, release age and licence checks a policy in pyproject.toml. SKY-D223 runs with --ai-defects, the agent and editor rules with --danger. Skylos reads manifests and lockfiles itself; the ca9 library decides the supply-chain findings and reads the agent settings.

Supply chain and agent configuration rules
RuleTitleSeverityLanguages and files
SKY-D223Undeclared third-party importMediumPython
SKY-D365Agent hook committed to the repositoryHighClaude Code, Gemini CLI, Cursor and Codex settings files
SKY-D366Editor task that runs when the folder opensHighVS Code task and workspace files
SKY-D367MCP server launched without an exact versionMediumMCP configuration files
SKY-D368MCP server launched from a hidden or temporary folderHighMCP configuration files
SKY-D369MCP server package imitating a vendorMediumMCP configuration files
SKY-D370Agent API base URL overridden in repository settingsHighClaude Code and Codex settings files
SKY-D377Agent config with duplicated keysMediumAgent, editor and MCP settings files (JSON)
SKY-SCA-AGE001Dependency version younger than the release-age windowHighrequirements*.txt, pyproject.toml, uv.lock, poetry.lock, Pipfile.lock, package.json, npm, pnpm, Yarn and Bun lockfiles
SKY-SCA-API001Your line uses API a dependency upgrade removedMediumPython lockfiles, requirements*.txt pins
SKY-SCA-HRD001Change weakens install hardeningHigh.npmrc, package.json, pnpm-workspace.yaml, .yarnrc.yml, bunfig.toml, uv.toml, pyproject.toml, pip.conf, requirements*.txt, Dependabot, Renovate, GitHub Actions workflows
SKY-SCA-INT001Lockfile entry without an integrity hashMediumpackage-lock.json, npm-shrinkwrap.json, pnpm-lock.yaml, yarn.lock, uv.lock, poetry.lock
SKY-SCA-LIC001Dependency licence not allowed by your policyHighpackage-lock.json, npm-shrinkwrap.json, installed node_modules and Python packages
SKY-SCA-NEW001Dependency name is new or barely used on its registryMediumrequirements*.txt, pyproject.toml, setup.cfg, setup.py, uv.lock, poetry.lock, package.json, npm, pnpm and Yarn lockfiles
SKY-SCA-SRC001Possible dependency confusionCriticalrequirements*.txt, pyproject.toml, uv.lock, poetry.lock, Pipfile.lock, package.json, npm, pnpm, Yarn and Bun lockfiles
SKY-SCA-SRC003Dependency from Git or a URL that can changeMediumrequirements*.txt, pyproject.toml, uv.lock, poetry.lock, Pipfile.lock, package.json, npm, pnpm, Yarn and Bun lockfiles
SKY-SCA-SRC004Package moved to a source this repository did not useHighnpm, pnpm, Yarn, Bun, uv, Poetry, Pipfile, Cargo, Composer, Bundler and pub lockfiles
SKY-SCA-UPG001Dependency upgrade adds install-time or import-time codeCriticalpackage-lock.json, npm-shrinkwrap.json, pnpm-lock.yaml, yarn.lock, bun.lock, uv.lock, poetry.lock, Pipfile.lock
SKY-SCA-UPG002Dependency upgrade adds code worth reviewingMediumpackage-lock.json, npm-shrinkwrap.json, pnpm-lock.yaml, yarn.lock, bun.lock, uv.lock, poetry.lock, Pipfile.lock

CI/CD pipelines

ID prefixes: SKY-D290–SKY-D323, SKY-D350–SKY-D354, SKY-D360–SKY-D364, SKY-D371–SKY-D376

Rules for GitHub Actions workflows, GitLab CI files, Dependabot settings and jobs that publish packages. A CI job often holds secrets and a token that can write to the repository, so one workflow mistake can hand them to anyone who can open an issue or a pull request.

Skylos reads .github/workflows/*.yml and *.yaml, action.yml, action.yaml, .github/dependabot.yml and .gitlab-ci.yml (whose include: entries are checked for pinning; the included files are not read). These rules run with --danger or -a; the publish-job rules are decided by the ca9 library, and SKY-D375 appears only in diff scans. Note that SKY-G IDs belong to Go, not to CI.

CI/CD pipelines rules
RuleTitleSeverityLanguages and files
SKY-D290GitHub Actions dangerous triggerHighGitHub Actions workflows
SKY-D291GitHub Actions missing or broad token permissionsHighGitHub Actions workflows
SKY-D292GitHub Actions unpinned actionHighGitHub Actions workflows, composite actions
SKY-D293GitHub Actions persisted checkout credentialsMediumGitHub Actions workflows, composite actions
SKY-D294GitHub Actions template injectionCriticalGitHub Actions workflows, composite actions
SKY-D295Job runs on a self-hosted runnerHighGitHub Actions workflows
SKY-D296Container image not pinned by digestHighGitHub Actions workflows, Docker and composite actions
SKY-D297Reusable workflow gets every secret with secrets inheritHighGitHub Actions workflows
SKY-D298Workflow reads the whole secrets contextHighGitHub Actions workflows, composite actions
SKY-D299Secret in a job outsiders can start, without an environmentMediumGitHub Actions workflows
SKY-D300Unsafe write to GITHUB_ENV or GITHUB_PATHHighGitHub Actions workflows, composite actions
SKY-D301Container registry password written in the workflowHighGitHub Actions workflows
SKY-D302GitHub App token broader than neededHighGitHub Actions workflows, composite actions
SKY-D303contains() used as an allow-list checkMediumGitHub Actions workflows
SKY-D304Bot check on a spoofable actorMediumGitHub Actions workflows
SKY-D305Multi-line if with ${{ }} that is always trueMediumGitHub Actions workflows
SKY-D306Insecure workflow commands turned back onHighGitHub Actions workflows, composite actions
SKY-D307Workflow or action without a nameLowGitHub Actions workflows, composite actions
SKY-D308Release build restores a CI cacheHighGitHub Actions workflows
SKY-D309Secret in a workflow-wide or job-wide environmentHighGitHub Actions workflows
SKY-D310OIDC publish job runs repository build scriptsHighGitHub Actions workflows
SKY-D311Artifact upload passes when files are missingMediumGitHub Actions workflows, composite actions
SKY-D312JavaScript install runs dependency scripts in CIHighGitHub Actions workflows, composite actions
SKY-D313Privileged job running outsiders' code has no timeoutLowGitHub Actions workflows
SKY-D314GitLab CI mutable container imageHighGitLab CI
SKY-D315GitLab CI unpinned external includeHighGitLab CI
SKY-D316GitLab CI literal secret variableHighGitLab CI
SKY-D317GitLab CI untrusted evalHighGitLab CI
SKY-D318GitLab CI Docker-in-Docker TLS disabledHighGitLab CI
SKY-D319GitLab CI OIDC token in a job that runs repository scriptsHighGitLab CI
SKY-D320GitLab CI release job restores a cacheHighGitLab CI
SKY-D321GitLab CI release or OIDC job without a timeoutMediumGitLab CI
SKY-D322GitLab CI runner tag set from a variableMediumGitLab CI
SKY-D323GitLab CI secret that does not name its ID tokenMediumGitLab CI
SKY-D350AI agent that anyone can start, with no actor checkCriticalGitHub Actions workflows
SKY-D351AI agent action's write-access check switched offCriticalGitHub Actions workflows
SKY-D352AI agent with an unrestricted shell reads untrusted textHighGitHub Actions workflows
SKY-D353Untrusted text pasted into an AI agent's promptHighGitHub Actions workflows
SKY-D354AI agent action version with a published advisoryHighGitHub Actions workflows
SKY-D360Dependabot runs manifest code with registry credentialsHighDependabot configuration
SKY-D361Dependabot cooldown under seven daysLowDependabot configuration
SKY-D362GitHub Actions decoded secret printed unmaskedMediumGitHub Actions workflows
SKY-D363GitHub Actions obfuscated action path or expressionMediumGitHub Actions workflows, composite actions
SKY-D364Long-lived publish token where trusted publishing existsMediumGitHub Actions workflows
SKY-D371Unpinned tool installed in a job that holds publish credentialsHighGitHub Actions workflows, GitLab CI
SKY-D372Unverified download reaching the publish stepHighGitHub Actions workflows, GitLab CI
SKY-D373OIDC publish job without an environmentHighGitHub Actions workflows, GitLab CI
SKY-D374Publish workflow started by workflow_dispatch or any-branch pushHighGitHub Actions workflows
SKY-D375Pull request changes a job that publishes packagesMediumGitHub Actions workflows, GitLab CI
SKY-D376Secrets passed to a reusable workflow from another repositoryMediumGitHub Actions workflows

Deployment and infrastructure

ID prefixes: SKY-DEP, SKY-GPU, SKY-D330–SKY-D336, SKY-D342, SKY-D343, SKY-D400–SKY-D411, SKY-D413, SKY-D414

Rules for the files that describe how code is deployed: Kubernetes manifests, Docker Compose files, systemd units, Dockerfiles, Terraform and GPU release contracts. They read the declarations in the repository; Skylos does not contact a cluster or a cloud account. The source checks run with --danger or -a. The Envoy check reads listener configuration. For the DNS cleanup check, pass a saved plan to skylos rules terraform-plan plan.json before applying it.

Deployment and infrastructure rules
RuleTitleSeverityLanguages and files
SKY-D330Privileged container with device or GPU accessHighDocker Compose
SKY-D331Host device or control path mounted into a containerHighDocker Compose
SKY-D332Host networking on an edge or device serviceMediumDocker Compose
SKY-D333Edge systemd service runs as rootHighsystemd units
SKY-D334Root systemd service runs a program from a user-writable folderHighsystemd units
SKY-D335Root edge systemd service without basic sandboxingMediumsystemd units
SKY-D336Edge systemd service with broad capabilities or devicesHighsystemd units
SKY-D342Dockerfile ADD downloads a file without a checksumHighDockerfile
SKY-D343Dockerfile bakes a secret into the imageHighDockerfile
SKY-D400Terraform security group opens SSH or RDP to the whole internetHighTerraform
SKY-D401Terraform creates an RDS database with storage encryption turned offHighTerraform
SKY-D402Terraform gives an S3 bucket a public ACLHighTerraform
SKY-D403Terraform S3 bucket policy grants access to everyoneHighTerraform
SKY-D404Terraform turns off S3 public access protectionsHighTerraform
SKY-D405Terraform makes an RDS database publicly accessibleHighTerraform
SKY-D406Terraform creates an unencrypted EBS volumeHighTerraform
SKY-D407Terraform lets EC2 servers use metadata without tokens (IMDSv1)HighTerraform
SKY-D408Terraform security group opens a database port to the whole internetHighTerraform
SKY-D409Kubernetes container runs in privileged modeHighKubernetes YAML
SKY-D410Kubernetes pod shares the node's process, IPC or network namespaceHighKubernetes YAML
SKY-D411Kubernetes container mounts a sensitive host pathHighKubernetes YAML
SKY-D413Envoy HTTP/1 listener accepts ambiguous message framingMediumEnvoy YAML
SKY-D414Terraform plan deletes an S3 bucket while retaining its DNS recordMediumTerraform plan JSON
SKY-DEP001Internet-facing route is missing the auth guard your deployment requiresHighPython (FastAPI, Flask), Kubernetes YAML
SKY-DEP002Internet-facing Ingress reaches the Flask debuggerHighKubernetes YAML, Flask
SKY-DEP003Internet-facing Ingress routes to a server in reload modeMediumKubernetes YAML, Uvicorn, Gunicorn, Flask
SKY-GPU000GPU release contract is invalid or cannot be checkedHighGPU target contract (YAML), Dockerfile, CMake, Python
SKY-GPU001CUDA image needs a newer NVIDIA driver than the targets haveHighDockerfile, GPU target contract (YAML)
SKY-GPU002CUDA build leaves out a target GPU's architectureHighCMake, Makefile, Bazel, shell, Python build scripts, GPU target contract (YAML)
SKY-GPU003TensorRT engine shipped to GPUs it was not built forHighPython, C++, Dockerfile, GPU target contract (YAML)

AI-code defects

ID prefixes: SKY-A, and SKY-D222, SKY-D224, SKY-D225, SKY-L012, SKY-L023

Mistakes coding agents make often: packages and APIs that do not exist, tests that were weakened, skipped or deleted, loosened CI or linter settings, and code that detects the test run. A few rules read one version of the code. Most compare a change with an earlier commit, either in a diff scan (--diff) or in skylos done, the check an agent runs when it finishes.

They run with --ai-defects or -a; the skylos done rules run only in skylos done, and SKY-A105 only in skylos verify. Some older rules keep their SKY-L or SKY-D IDs so that existing suppressions and baselines keep working.

AI-code defects rules
RuleTitleSeverityLanguages and files
SKY-A101Test assertion weakenedMediumPython tests (pytest, unittest), JavaScript/TypeScript tests (Jest, Vitest, node:assert), snapshot files
SKY-A102High-risk change without testsLowPython, TypeScript, JavaScript, Go, Java, Kotlin, C#, PHP, Rust, Dart
SKY-A103CI permission expansionHighGitHub Actions workflows
SKY-A104Public CLI surface driftMediumPython (argparse, Click, Typer)
SKY-A105Contract route guard missingHighPython (Flask, FastAPI and other decorator-routed frameworks)
SKY-A106Suspicious dependency version bumpLowPython packaging (pyproject.toml, setup.py, requirements files, uv.lock, poetry.lock)
SKY-A110Test deletedHighPython tests (pytest, unittest), JavaScript/TypeScript tests (Jest, Vitest, Mocha, node:test, Playwright)
SKY-A111Test newly skippedHighPython tests (pytest, unittest), JavaScript/TypeScript tests (Jest, Vitest, Mocha, node:test, Playwright)
SKY-A112Test settings loosenedHighpytest settings (pyproject.toml, pytest.ini, tox.ini, setup.cfg, conftest.py), coverage settings, Jest and Vitest configs, package.json test scripts, GitHub Actions test steps
SKY-A113Tests fail when Skylos runs themHighPython (pytest, found automatically), any test command that writes JUnit XML (set test_command and junit_xml)
SKY-A114Skylos settings or hooks changedHighpyproject.toml, skylos.toml, .skylos/ files, agent hook settings (Claude Code, Codex, Cursor), GitHub Actions workflows
SKY-A115Test answer hard-coded in codeHighPython, JavaScript, TypeScript
SKY-A116Code detects the test runHighPython, JavaScript, TypeScript
SKY-A117Comparison rigged to always passHighPython, JavaScript, TypeScript
SKY-A118Inline suppression addedLowPython, JavaScript/TypeScript (also Vue, Svelte, Astro), Go, Rust, Java/Kotlin, C#
SKY-A119Linter or scanner settings weakenedHighPython tool settings (Ruff, Flake8, Pylint, mypy, Pyright, Bandit), TypeScript and ESLint, Biome, golangci-lint, Cargo lints, pre-commit, scanner settings (Semgrep, SonarQube, CodeQL, gitleaks, detect-secrets, Trivy, OSV-Scanner, Snyk, Checkstyle, SpotBugs)
SKY-A120Changed line not checked by testsMediumPython (pytest)
SKY-A121CI check weakenedHighGitHub Actions workflows and composite actions, GitLab CI
SKY-A122AI-reviewer settings changedMediumAI reviewer settings (YAML, TOML, JSON, TypeScript), reviewer instruction files (Markdown)
SKY-A125Scanner suppression marker addedMediumAny file with comments (Python, JavaScript/TypeScript, Go, Java, PHP, Ruby, C/C++, Terraform, YAML, shell, Dockerfiles and more)
SKY-A135Code left unused by the changeMediumPython, TypeScript/JavaScript (symbols and whole files), Java, Kotlin, Go (needs the skylos-go engine), PHP, Rust, and the other languages the dead-code engine reads
SKY-A136New code nothing callsLowPython, TypeScript/JavaScript (symbols and whole files), Java, Kotlin, Go (needs the skylos-go engine), PHP, Rust, and the other languages the dead-code engine reads
SKY-A137New code only tests callLowPython, TypeScript/JavaScript (symbols and whole files), Java, Kotlin, Go (needs the skylos-go engine), PHP, Rust, and the other languages the dead-code engine reads
SKY-D222Dependency hallucinationCriticalPython, JavaScript/TypeScript (npm), Go modules, install commands in scripts, Dockerfiles, CI files and docs
SKY-D224API signature hallucinationHighPython
SKY-D225Dependency version hallucinationHighPython (requirements.txt, pyproject.toml), JavaScript/TypeScript (package.json), Go modules, install commands in scripts, Dockerfiles, CI files and docs
SKY-L012Phantom symbol referenceCriticalPython, Go, Java, TypeScript, JavaScript
SKY-L023Phantom decoratorCriticalPython

Logic and resilience

ID prefixes: SKY-L

Common bug patterns: mutable default arguments, bare or empty exception handlers, debug leftovers, network calls without a timeout, and placeholder code left behind. They run with --quality or -a.

Logic and resilience rules
RuleTitleSeverityLanguages and files
SKY-L001Mutable default argumentHighPython
SKY-L002Bare except blockMediumPython
SKY-L003Comparison to True, False or None with ==LowPython
SKY-L004Try block too broadVariesPython
SKY-L005Unused exception variableLowPython
SKY-L006Inconsistent returnMediumPython
SKY-L007Empty error handlerVariesPython, TypeScript, JavaScript
SKY-L008Missing resource cleanupMediumPython
SKY-L009Debug leftoverVariesPython
SKY-L010Security TODO markerMediumPython
SKY-L011Disabled security controlVariesPython
SKY-L013Insecure randomnessHighPython
SKY-L014Hardcoded credentialVariesPython
SKY-L016Undefined configMediumPython
SKY-L017Error information disclosureMediumPython
SKY-L020Overly broad file permissionsHighPython
SKY-L021Security control removed by a changeHighPython, TypeScript, JavaScript, Go, Java, PHP, Rust, Dart
SKY-L024Stale mock targetHighPython
SKY-L026Unfinished code or placeholder defaultMediumPython, TypeScript, JavaScript
SKY-L027Duplicate string literalVariesPython
SKY-L028Too many returnsVariesPython
SKY-L029Unclear boolean argumentLowPython
SKY-L030Broad exception with trivial handlerHighPython
SKY-L031Missing network timeoutMediumPython
SKY-L032Mock or placeholder dataVariesPython
SKY-L033No-effect statementLowPython
SKY-L034Repeated mutable aliasMediumPython
SKY-L035Blanket ESLint disableHighTypeScript, JavaScript
SKY-L036Import repeated inside functionLowPython
SKY-L037Conditional returning bool literalsLowPython
SKY-L038Conversion call inside f-stringLowPython
SKY-L039Except clause that only re-raisesLowPython
SKY-L040Constant assertion in testLowPython
SKY-L041Empty test bodyLowPython
SKY-L042Repeated test assertionLowPython
SKY-L043Sleep used for test synchronizationLowPython
SKY-L044Test runs no project codeLowPython
SKY-L045Test assertion always trueLowPython
SKY-L046Test result never checkedLowPython
SKY-L047Duplicate testLowPython

Quality, structure and performance

ID prefixes: SKY-Q, SKY-C, SKY-P, SKY-T, SKY-F, SKY-R, SKY-CIRC

Maintainability and performance: complexity, nesting and size, duplicated code, coupling, async and threading mistakes, typing practice, framework practice and repository policy. They run with --quality or -a, except circular imports (SKY-CIRC), which every scan reports.

Quality, structure and performance rules
RuleTitleSeverityLanguages and files
SKY-C303Too many argumentsVariesPython, TypeScript, JavaScript, Java, Go
SKY-C304Function too longVariesPython, TypeScript, JavaScript, Java, Go
SKY-C401Duplicated code cloneVariesPython
SKY-CIRCCircular dependencyLowPython, TypeScript, JavaScript
SKY-F101FastAPI route without a response contractLowPython
SKY-F102Route that changes data without an auth guardVariesPython
SKY-P401Potential unbounded readLowPython
SKY-P402pandas read_csv without a row boundLowPython
SKY-P403Nested loop that searches a collection per itemLowPython
SKY-P404Unbounded eager ORM queryMediumPython
SKY-Q301Cyclomatic complexity too highVariesPython, TypeScript, JavaScript, Java, Go
SKY-Q302Deep nestingVariesPython, TypeScript, JavaScript, Java, Go
SKY-Q305Duplicate branch logicMediumPython, TypeScript, JavaScript, Rust
SKY-Q306Cognitive complexity too highVariesPython, TypeScript, JavaScript
SKY-Q401Async blocking callHighPython
SKY-Q402Await in loopLowTypeScript, JavaScript
SKY-Q403Inconsistent lock acquisition orderHighPython
SKY-Q404Thread shared state mutationMediumPython
SKY-Q405Async Promise executorHighTypeScript, JavaScript
SKY-Q406Async callback passed to forEachHighTypeScript, JavaScript
SKY-Q407Discarded async Array.map resultHighTypeScript, JavaScript
SKY-Q408Undeclared npm dependencyMediumTypeScript, JavaScript, package.json
SKY-Q409Unlisted npm script binaryMediumpackage.json
SKY-Q410Discarded local async resultMediumTypeScript, JavaScript
SKY-Q411Unused pnpm catalog entryLowpnpm-workspace.yaml, package.json
SKY-Q412Unresolved pnpm catalog referenceMediumpackage.json, pnpm-workspace.yaml
SKY-Q413Referenced optional peer dependencyLowTypeScript, JavaScript, package.json
SKY-Q414Unresolved importMediumTypeScript, JavaScript, Vue, Svelte, Astro
SKY-Q501God classMediumPython
SKY-Q502File too largeVariesPython
SKY-Q503Unused read-only PostgreSQL CTELowPostgreSQL
SKY-Q504PostgreSQL filter compares a value to NULLMediumPostgreSQL
SKY-Q505Literal NULL in a PostgreSQL NOT IN filterMediumPostgreSQL
SKY-Q506Concurrent PostgreSQL index command inside a transactionMediumPostgreSQL
SKY-Q507Unsupported concurrent PostgreSQL index dropMediumPostgreSQL
SKY-Q508Mismatched PostgreSQL foreign key column countsMediumPostgreSQL
SKY-Q509Unreachable PostgreSQL CASE armLowPostgreSQL
SKY-Q510PostgreSQL COUNT includes every CASE resultMediumPostgreSQL
SKY-Q701High couplingVariesPython
SKY-Q702Low cohesionVariesPython
SKY-Q801High instabilityPage not written yetMedium–
SKY-Q802Unbalanced module designVariesPython, TypeScript, JavaScript
SKY-Q803Module hard to change or unusedMediumPython, TypeScript, JavaScript
SKY-Q804Stable module depends on an unstable oneVariesPython, TypeScript, JavaScript
SKY-Q805Architecture layer policy violationVariesPython, TypeScript, JavaScript
SKY-Q806Opaque identifierLowPython
SKY-Q807Sibling package dependency cycleLowPython
SKY-R101Python type-check policyMediumPython
SKY-R102Python lint policyLowPython
SKY-R103Skylos gate policyLowPython, TypeScript, JavaScript, Java, Go
SKY-R104Pre-commit policyLowPython, TypeScript, JavaScript, Java, Go
SKY-R105TypeScript type-check policyLowTypeScript
SKY-T101Missing parameter type annotationsLowPython
SKY-T102Missing return type annotationLowPython
SKY-T103Suspicious chained type assertionMediumTypeScript
SKY-T104TypeScript compiler suppression directiveMediumTypeScript, JavaScript
SKY-T105Unvalidated JSON type assertionMediumTypeScript
SKY-T106Unsafe exported API typeMediumTypeScript

Dead code

ID prefixes: SKY-U, SKY-UC, SKY-E

Code nothing uses: functions, classes, imports, variables, parameters, files and declared dependencies, plus statements that can never run. A plain skylos . reports unused functions, classes, imports, variables and parameters, and empty or unused files. Unused declared dependencies (SKY-U005) and unreachable code (SKY-UC001, UC002) need --quality.

Dead code rules
RuleTitleSeverityLanguages and files
SKY-E002Empty fileLowPython
SKY-E003Unused TypeScript/JavaScript fileLowTypeScript, JavaScript
SKY-E004Unnecessary TypeScript/JavaScript exportLowTypeScript, JavaScript
SKY-E005Duplicate TypeScript/JavaScript exportLowTypeScript, JavaScript
SKY-U001Unused functionNo severityPython, TypeScript/JavaScript, Java, PHP, Dart, Go, Ruby (partial), C# (partial), C++ (file-local functions), Kotlin (private functions), Swift (private and fileprivate functions), Rust (hidden below the default threshold)
SKY-U002Unused importNo severityPython, TypeScript/JavaScript, PHP (`use`), Kotlin, Dart, Rust (hidden below the default threshold)
SKY-U003Unused variableNo severityPython, TypeScript/JavaScript (top-level declarations), PHP (properties), C# (fields), Swift (private properties), Dart
SKY-U004Unused classNo severityPython, TypeScript/JavaScript, Java, Go (types), PHP, Kotlin (private classes), Swift (private and fileprivate types), C#, Dart
SKY-U005Unused dependencyMediumPython, npm package.json
SKY-U006Unused parameterNo severityPython
SKY-U007Unused TypeScript enum memberLowTypeScript
SKY-U008Unused TypeScript namespace memberLowTypeScript
SKY-U009Unused private Rust enum variantLowRust
SKY-UC001Unreachable Python codeMediumPython
SKY-UC002Unreachable statementMediumTypeScript, JavaScript, Java, C#, Rust

Go-specific rules

ID prefixes: SKY-G

SKY-G IDs come from the Go engine that ships with Skylos. When a Go problem has a rule shared with other languages, Skylos reports it under that rule: Go SQL injection is reported as SKY-D211, for example. Only the Go-only rules, such as defer inside a loop, keep a SKY-G ID in the output, so the renamed IDs have no page of their own. They run with --danger or -a.

Go-specific rules rules
RuleTitleSeverityLanguages and files
SKY-G203Go defer inside a loopMediumGo
SKY-G206Go unsafe package useLowGo
SKY-G207Go weak MD5 hashReported as SKY-D207, documented on its pageMedium–
SKY-G208Go weak SHA1 hashReported as SKY-D208, documented on its pageMedium–
SKY-G209Go weak RNGReported as SKY-D250, documented on its pageMedium–
SKY-G210Go TLS verification disabledReported as SKY-D210, documented on its pageHigh–
SKY-G211Go SQL injectionReported as SKY-D211, documented on its pageCritical–
SKY-G212Go command injectionReported as SKY-D212, documented on its pageCritical–
SKY-G215Go path traversalReported as SKY-D215, documented on its pageHigh–
SKY-G216Go SSRFReported as SKY-D216, documented on its pageCritical–
SKY-G220Go open redirectReported as SKY-D230, documented on its pageHigh–
SKY-G221Go insecure cookieReported as SKY-D252, documented on its pageMedium–
SKY-G260Go unclosed resourceMediumGo
SKY-G280Go weak TLS versionHighGo

370 rules from the Skylos 5.8.0 rule catalog and handbook (commit 5b880b0). The CLI documentation covers commands and options.