loadwise sec (and loadwise check) reads a set of project files as inputs. In a Git repository it reads tracked files; outside Git it walks the folder and skips node_modules, build output and .env* files. Files over 1 MiB, binary files and lockfiles are skipped.
Supported formats
Workflow
run: steps that call node <script> also mark that script as an entry point for the maintainability checker’s unused-file analysis.
Not checked yet
These formats and checks are known gaps, roughly in order of practical impact.Performance
- Dockerfile layer caching:
COPY . .before the dependency install, which reinstalls every dependency on any source change. Not checked. - Missing
.dockerignore: a Dockerfile that copies the whole context with no.dockerignoreexcludingnode_modules. Not checked. - GitHub Actions dependency cache:
actions/setup-nodewithoutcache:beforenpm ci. Not checked. - Final image size: development dependencies or
NODE_ENVnotproductionin the final stage. Not checked.
Security and reliability
- GitHub Actions
permissions: workflows without a top-level or job-levelpermissionsblock. Not checked, because the default token scope depends on repository settings. - GitHub Actions timeouts and concurrency: jobs without
timeout-minutes(default 360 minutes) orconcurrency. Not checked. - Kubernetes resources and probes: containers without resource requests or limits, or without liveness and readiness probes. Not checked; a namespace
LimitRangecan supply defaults. - Kubernetes beyond
privileged:runAsNonRoot,allowPrivilegeEscalation,hostNetwork,hostPathand:latestimages. Not checked. - Compose: services without
healthcheck,restartor resource limits,privileged: true, andimage:without a tag. Only literal secrets are checked. - Yarn and pnpm installs in Dockerfiles without
--frozen-lockfileor--immutable. Onlynpm installis checked. - Helm charts: templates are not rendered; render them (
helm template) and scan the output. - Web server and hosting headers: missing security headers are not reported, because a proxy, CDN or the application can add them. Rewrites and proxies to a host taken from the request path, Nginx
includefiles outside the recognised folders, and headers inherited across Nginx or Apache blocks are not checked. - Other CI platforms: Azure Pipelines repository resources and template references (
template: x@repo) are not checked for pinning, nor are Bitbucket pipe versions, GitLabservices:images,$[[ inputs ]]and template parameters spliced into scripts, or variables that copy an untrusted value under another name before a script parses it. package.jsonscripts:--unsafe-permis not reported (a no-op since npm 7), and download-and-run steps in a separate script file that a lifecycle script calls are not followed.
Formats not read
Infrastructure-as-code other than Terraform.tf files (CloudFormation, Pulumi, .tf.json), and tsconfig.json compiler options are not checked as inputs. GitHub workflows of a monorepo are read only when the scanned folder contains .github/workflows/.