ErrLookup › slimtoolkit/slim
slimtoolkit/slim
Slim(toolkit): Don't change anything in your container image and minify it by up to 30x (and for compiled languages even more) making it secure too! (free and open source) · Go · 285 source files
Analyzed at 81940d17fa on 2026-08-31. 186 documented errors.
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| invalid context directory | validation | error | docker, build-context, filesystem |
| No global params | exception | error | cli, parameters, configuration |
| Pod terminated | exception | error | kubernetes, pod, lifecycle |
| Pod not running | exception | error | kubernetes, pod, state |
| Container terminated | exception | error | kubernetes, container, lifecycle |
| no service image | exception | error | compose, docker, configuration |
| malformed Kubernetes workload name | validation | error | kubernetes, configuration, parsing |
| not a terminal | validation | error | terminal, tty, container |
| start monitor timeout | exception | error | docker, sensor, timeout, ipc |
| start monitor timeout | exception | error | kubernetes, pod, sensor, timeout |
| unexpected - more than one target pod found | exception | error | kubernetes, pod, ambiguity |
| podPort cannot be empty | validation | error | kubernetes, port-forward, validation |
| cannot detect host port | exception | error | kubernetes, port-forward, parsing |
| couldn't find workload in cluster | exception | error | kubernetes, workload, not-found |
| couldn't unambiguously identify workload in cluster | exception | error | kubernetes, workload, ambiguity |
| fcgi: invalid header version | exception | error | fastcgi, protocol, http-probe |
| unexpected HTTP status code | http | error | http, update, download |
| unknown sensor mode | exception | error | sensor, configuration, cli |
| missing command | validation | error | sensor, cli, arguments |
| missing event name | validation | error | sensor, cli, arguments |
| sensor shutdown before monitor stop | exception | error | lifecycle, sensor, monitoring, go |
| ambiguous start command: cannot use [app_name,app_args] and | validation | error | configuration, sensor, dockerfile-semantics, go |
| file path is not absolute | validation | error | validation, paths, dependency-inspection, go |
| file is not a binary | validation | error | validation, binary, dependency-inspection, go |
| dependency resolver not found | exception | error | environment, missing-tool, dependency-inspection, go |
| insufficient permissions | exception | error | permissions, monitoring, ptrace, fanotify, go |
| no docker info | exception | error | docker, environment, missing-env-var, go |
| when using JSON array syntax, arrays must be comprised of st | validation | error | dockerfile, parsing, json, go |
| unknown instruction | validation | error | dockerfile, parsing, typo, go |
| only one escape parser directive can be used | validation | error | dockerfile, parsing, parser-directive, go |
| invalid Dockerfile | validation | error | dockerfile, parsing, input-validation |
| bad instruction prefix | exception | error | dockerfile, reverse-engineering, instruction |
| illegal exclusion pattern: "!" | validation | error | dockerignore, pattern-matching, config |
| bad parameter | validation | error | parameters, validation, docker |
| not found | exception | error | docker, not-found, resources |
| bad params | validation | error | linter, parameters, validation |
| invalid dockerfile reference - %s | validation | error | docker-build, dockerfile, builder |
| invalid EXPOSE format: %s | validation | error | docker, ports, cli-parsing |
| invalid port range in EXPOSE: %s / error: %s | validation | error | docker, ports, parsing |
| invalid publish-port: %s | validation | error | docker, ports, publish, cli-parsing |
| invalid HTTP probe command: %s | validation | error | http, config-parsing, validation |
| invalid HTTP probe command port: %v | validation | error | http, json, validation, ports |
| empty appCall | validation | error | exec, validation, empty-input |
| target pod is not running | exception | error | kubernetes, pod-state, precondition |
| no containers | exception | error | kubernetes, pod-spec, precondition |
| target container not found | exception | error | kubernetes, container-not-found, debug |
| ephemeral container not found | exception | error | kubernetes, ephemeral-container, debug |
| no namespaces | exception | error | kubernetes, namespace, kubeconfig |
| no pods | exception | error | kubernetes, pod, namespace |
| pod is done | exception | error | kubernetes, pod-lifecycle, debug |
| unknown container type | exception | error | kubernetes, internal, container-type |
| must have two image references | validation | error | cli, parameters, merge |
| not enough image references | validation | error | cli, parameters, merge |
| bad output tar - %s | exception | error | tar, image-merge, filesystem |
| no target selected | validation | error | cli, missing-argument, validation |
| no image references for image index | validation | error | validation, missing-argument, image-index |
| missing auth params | validation | error | auth, credentials, validation |
| malformed image reference - %s (%v) | validation | error | validation, image-reference, parsing |
| image reference metadata get error - %s (%v) | exception | error | network, registry, image-reference |
| unexpected target image type - %s (%v) | exception | error | validation, media-type, image-index |
| saving image index error - %s (%v) | exception | error | network, registry, push |
| index reference metadata get error - %s (%v) | exception | error | network, registry, verification |
| unexpected media type for index | exception | error | media-type, image-index, validation |
| invalid operation - %s | validation | error | cli, flag-validation, slimtoolkit |
| invalid order records value - %s | validation | error | cli, flag-validation, slimtoolkit |
| malformed change data matcher: %s | validation | error | cli, xray, matcher-syntax, slimtoolkit |
| malformed change path matcher: %s | validation | error | cli, xray, matcher-syntax, slimtoolkit |
| malformed change data hash matcher: %s | validation | error | cli, xray, matcher-syntax, slimtoolkit |
| malformed find utf8: %s | validation | warning | cli, xray, utf8-detection, slimtoolkit |
| no project info | exception | error | compose, configuration, docker |
| unknown service - %s | exception | error | compose, docker, service-lookup |
| cant build service image - %s | exception | error | compose, docker, image-build |
| bad image reference | validation | error | compose, docker, image-reference |
| invalid context directory - %s | validation | error | compose, docker, build-context |
| startContainer(%s): incompatible network_mode and networks c | validation | error | docker, compose, networking |
| no external network - %s | exception | error | docker, compose, networking |
| slim: error => no network info | exception | error | docker, inspection, network |
| slim: error => missing comms ports | exception | error | docker, ports, network |
| could not find an auth config for registry - %s | exception | error | docker, registry, authentication |
| start monitor error: %v | exception | error | kubernetes, pod, monitor |
| found more than 1 workload '%s/%s' match in the supplied man | exception | error | kubernetes, manifests, validation |
| invalid ws proto - %s | validation | error | websocket, http-probe, validation |
| building environment: %v | exception | error | fastcgi, http-probe, request |
| dialing backend: %v | exception | error | fastcgi, connection, http-probe |
| setting read timeout: %v | exception | error | fastcgi, timeout, http-probe |
| setting write timeout: %v | exception | error | fastcgi, timeout, http-probe |
| root %q is not absolute | validation | error | fastcgi, path-validation, http-transport, configuration |
| error stopping target app: %w | exception | error | process-control, cli, sensor, lifecycle |
| error waiting for sensor event: %w | exception | error | events, sensor, cli, timeout |
| unknown command: %s | exception | error | cli, argument-validation, sensor |
| error encoding updated package data | exception | error | json, encoding, sensor, artifact |
| getDataType - error getting data type: %s / stderr: %s | exception | error | exec, command-exit, file-type-detection, sensor |
| sensor: artifact - getNuxtConfig - error getting file => %s | exception | error | nuxt, file-not-found, config, sensor |
| sensor: artifact - getNuxtConfig - error reading file => %s | exception | error | nuxt, file-read, permissions, sensor |
| sensor: artifact - getNuxtConfig - error getting buildDir => | exception | error | nuxt, javascript, vm-evaluation, config-parsing |
| sensor: artifact - getNuxtConfig - error getting distDir => | exception | error | nuxt, javascript, vm-evaluation, config-parsing |
| findSymlinks - could not convert fileInfo to Stat_t for %s | exception | error | go, filesystem, type-assertion, cross-platform |
| failed to get system stat info for %s | exception | error | go, filesystem, type-assertion, stat |
| run sensor without monitor failed: %w | exception | error | go, sensor, monitor, error-wrapping |
| run sensor with monitor failed: %w | exception | error | go, sensor, monitor, error-wrapping |
| failed to prepare artifacts env: %w | exception | error | go, sensor, artifacts, monitor |
| failed to enumerate current paths: %w | exception | error | go, sensor, filesystem, enumeration |
| sensor received unepxected command: %#+v | exception | error | go, sensor, command-handling, type-assertion |
| composite monitor failed: %w | exception | error | go, sensor, monitor, reporting |
| saving reports failed: %w | exception | error | go, sensor, artifacts, reporting |
| Detect - error getting data type: %s / stderr: %s | exception | error | go, external-command, file-detection, stderr |
| cannot create execution - touch event file %q failed: %w | exception | error | filesystem, file-creation, permissions, standalone-execution |
| cannot create execution - open event file %q failed: %w | exception | error | filesystem, file-open, permissions, standalone-execution |
| cannot create execution - cannot read command file %q: %w | exception | error | filesystem, file-read, configuration, standalone-execution |
| could not read command file %q: %w | exception | error | filesystem, file-read, race-condition, json-command |
| could not decode command %q: %w | exception | error | json, parsing, schema-mismatch, configuration |
| failed to set log-level: %v | exception | error | logging, configuration, invalid-input, startup |
| failed to set log format: %v | exception | error | logging, configuration, invalid-input, startup |
| failed to set log output destination to %q, touch failed wit | exception | error | logging, filesystem, permissions, configuration |
| failed to set log output destination to %q: %w | exception | error | logging, file-open, permissions, filesystem |
| unknown log-format %q | validation | error | logging, configuration, invalid-input, validation |
| unknown log-level %q | validation | error | configuration, logging, validation |
| one or more monitors failed: fanotify.error=%q, ptrace.error | exception | error | monitoring, fanotify, ptrace, process |
| non-critical monitor error: %w | exception | warning | monitoring, error-wrapping, fault-tolerance |
| cannot open file %q to duplicate app's %s stream: %w | exception | error | filesystem, permissions, logging |
| cannot create pipe for app %s stream: %w | exception | error | filesystem, pipe, resource-limits |
| ptmon: target app startup failed: %q | exception | error | ptrace, process, startup |
| ptmon: unexpected target app state %q | exception | error | ptrace, state-machine, invariant |
| ptmon: target app failed with state %q | exception | error | ptrace, process, crash |
| cannot encode stop command: %w | exception | error | serialization, ipc, control |
| cannot append stop command to FIFO file: %w | exception | error | ipc, fifo, filesystem |
| waiting for %v event: %w | exception | error | go, event-wait, timeout, context |
| unexpected start monitor command: %+v | exception | error | go, sensor, command-dispatch, protocol |
| failed to prepare artifacts env: %w | exception | error | go, sensor, filesystem, environment-setup |
| failed to enumerate current paths: %w | exception | error | go, sensor, filesystem, mount |
| saving reports failed: %w | exception | error | go, sensor, report-persistence, filesystem |
| docker socket not found | exception | error | go, docker, socket, environment |
| no unix socket found | exception | error | go, docker, socket, client-init |
| insufficient socket permissions (can_read=%v can_write=%v) | exception | error | go, docker, permissions, socket |
| invalid ESCAPE '%s'. Must be ` or \ | validation | error | go, dockerfile, parser, validation |
| malformed HEALTHCHECK instruction: %q | exception | error | go, dockerfile, healthcheck, reverse-conversion |
| malformed HEALTHCHECK parameters: %q | exception | error | dockerfile, healthcheck, parsing, docker |
| expected retries (%s) to be an escape sequence | exception | error | dockerfile, healthcheck, escape-sequence, docker |
| got an invalid escape sequence: %s | exception | error | dockerfile, healthcheck, escape-sequence, docker |
| Error reading .dockerignore: %v | exception | error | dockerignore, file-io, docker, permissions |
| dockerimage.LoadPackage: missing OCI Image Manifest object f | exception | critical | oci, image-manifest, docker, archive |
| dockerimage.LoadPackage: missing manifest object for image I | exception | critical | docker, manifest, archive, docker-save |
| dockerimage.LoadPackage: missing image config object for ima | exception | critical | oci, image-config, docker, archive |
| dockerimage.LoadPackage: missing layer (%v) for image ID - % | exception | critical | oci, layers, docker, archive |
| dockerimage.LoadPackage: layer index mismatch - %v / %v | exception | error | oci, layers, indexing, docker |
| dockerimage.LoadPackage: layer path mismatch - %v / %v | exception | error | oci, layers, path-mismatch, docker |
| no file - %s | exception | error | tar, file-not-found, docker-image |
| no unix socket found | exception | critical | docker, unix-socket, environment |
| source is symlink | exception | error | docker, volumes, symlink, filesystem |
| RUN instructions are not supported | exception | error | docker, image-builder, dockerfile, build |
| missing startup info | validation | error | docker, image-builder, image-config, validation |
| no layers | validation | error | docker, image-builder, layers, validation |
| too many layers | validation | error | imagebuild, layers, limit, validation |
| bad architecture value | validation | error | imagebuild, architecture, validation, platform |
| custom base images are not supported yet | exception | error | imagebuild, base-image, unsupported-feature, from-scratch |
| empty image layer data source | validation | error | imagebuild, layers, validation, missing-field |
| image layer data source path doesnt exist - %s | validation | error | imagebuild, layers, filesystem, missing-file |
| image layer data source path is not a file - %s | validation | error | imagebuild, layers, filesystem, type-mismatch |
| image layer data source path is not a tar file - %s | validation | error | imagebuild, layers, tar, validation |
| image layer data source path is not a directory - %s | validation | error | imagebuild, layers, filesystem, type-mismatch |
| unknown image data source - %v | validation | error | imagebuild, layers, enum, validation |
| missing tags | validation | error | imagebuild, tags, validation, missing-field |
| bad input data | validation | error | validation, image-build, bad-input |
| failed to calculate relative path: %w | exception | error | filesystem, tar, image-build |
| not implemented archiving file type %s (%s) | exception | error | tar, filesystem, unsupported-file-type, image-build |
| failed to write tar header: %w | exception | error | tar, encoding, image-build |
| failed to read file into the tar: %w | exception | error | io, tar, filesystem, image-build |
| failed to scan files: %w | exception | error | filesystem, tar, walk, image-build |
| failed to finish tar: %w | exception | error | tar, memory, image-build |
| error encoding data - %v | exception | error | json, encoding, monitoring |
| unexpected app exit | exception | error | ptrace, process, monitoring, linux |
| unexpected app signalled | exception | error | ptrace, process-signalled, process-termination |
| process status error | exception | error | ptrace, syscall, race-condition |
ptrace.App.collect.wpid wpid is -1 | error_code | critical | ptrace, waitpid, sensor-stuck |
| error parsing UID field - %s (%v) | exception | error | parsing, passwd, identity |
| error parsing GID field - %s (%v) | exception | error | parsing, passwd, identity |
| error parsing field - %s (%v) | exception | error | parsing, group, identity |
| Couldn't set key %s, no corresponding struct field found | exception | warning | parsing, reflection, os-release |
| Expected %s to split by '=' char into two strings, instead g | exception | warning | parsing, os-release, format |
| %s -> %s: partial copy - %d/%d | exception | error | filesystem, copy, io |
| cannot write %s file: %w | exception | error | filesystem, archive, tar, io |
| bad file - %s | exception | error | filesystem, archive, input-validation |
| not a directory | exception | error | filesystem, archive, validation |
| bad http status - %d | http | error | network, http, api, vulnerability |
| invalid CVE ID: index=%d cve='%s' (%w) | validation | error | validation, vulnerability, cve, input-format |
| dockerfile line greater than max allowed size of %d | exception | error | dockerfile, parser, bufio, input-size |