{"id":19002297,"url":"https://github.com/linkerd/linkerd2-proxy-init","last_synced_at":"2026-04-20T20:01:18.680Z","repository":{"id":39857580,"uuid":"186470997","full_name":"linkerd/linkerd2-proxy-init","owner":"linkerd","description":"Init container that sets up the iptables rules to forward traffic into the Linkerd2 sidecar proxy","archived":false,"fork":false,"pushed_at":"2026-04-16T22:12:00.000Z","size":6358,"stargazers_count":50,"open_issues_count":22,"forks_count":36,"subscribers_count":14,"default_branch":"main","last_synced_at":"2026-04-16T22:31:18.279Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/linkerd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-05-13T18:03:16.000Z","updated_at":"2026-04-16T20:49:40.000Z","dependencies_parsed_at":"2026-04-01T19:01:25.791Z","dependency_job_id":null,"html_url":"https://github.com/linkerd/linkerd2-proxy-init","commit_stats":null,"previous_names":["linkerd/proxy-init"],"tags_count":74,"template":false,"template_full_name":null,"purl":"pkg:github/linkerd/linkerd2-proxy-init","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linkerd%2Flinkerd2-proxy-init","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linkerd%2Flinkerd2-proxy-init/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linkerd%2Flinkerd2-proxy-init/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linkerd%2Flinkerd2-proxy-init/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/linkerd","download_url":"https://codeload.github.com/linkerd/linkerd2-proxy-init/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linkerd%2Flinkerd2-proxy-init/sbom","scorecard":{"id":591005,"data":{"date":"2025-08-11","repo":{"name":"github.com/linkerd/linkerd2-proxy-init","commit":"461609a98b1e423ae940764241fdf1a0fce69a50"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":6,"checks":[{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":10,"reason":"30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":9,"reason":"Found 10/11 approved changesets -- score normalized to 9","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: jobLevel 'contents' permission set to 'write': .github/workflows/release-cni-plugin.yml:79","Warn: jobLevel 'contents' permission set to 'write': .github/workflows/release-proxy-init.yml:79","Warn: jobLevel 'contents' permission set to 'write': .github/workflows/release-validator.yml:59","Info: topLevel 'contents' permission set to 'read': .github/workflows/actions.yml:11","Warn: no topLevel permission defined: .github/workflows/cni-plugin-integration.yml:1","Info: topLevel 'contents' permission set to 'read': .github/workflows/go.yml:12","Warn: no topLevel permission defined: .github/workflows/integration.yml:1","Info: topLevel 'contents' permission set to 'read': .github/workflows/markdown.yml:4","Info: topLevel 'contents' permission set to 'read': .github/workflows/release-cni-plugin.yml:11","Info: topLevel 'contents' permission set to 'read': .github/workflows/release-proxy-init.yml:11","Info: topLevel 'contents' permission set to 'read': .github/workflows/release-validator.yml:11","Warn: no topLevel permission defined: .github/workflows/rust.yml:1","Info: topLevel 'contents' permission set to 'read': .github/workflows/shell.yml:4"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Pinned-Dependencies","score":4,"reason":"dependency not pinned by hash detected -- score normalized to 4","details":["Warn: third-party GitHubAction not pinned by hash: .github/workflows/actions.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/linkerd/linkerd2-proxy-init/actions.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/actions.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/linkerd/linkerd2-proxy-init/actions.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/cni-plugin-integration.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/linkerd/linkerd2-proxy-init/cni-plugin-integration.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/cni-plugin-integration.yml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/linkerd/linkerd2-proxy-init/cni-plugin-integration.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/cni-plugin-integration.yml:43: update your workflow using https://app.stepsecurity.io/secureworkflow/linkerd/linkerd2-proxy-init/cni-plugin-integration.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/integration.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/linkerd/linkerd2-proxy-init/integration.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release-cni-plugin.yml:43: update your workflow using https://app.stepsecurity.io/secureworkflow/linkerd/linkerd2-proxy-init/release-cni-plugin.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release-proxy-init.yml:43: update your workflow using https://app.stepsecurity.io/secureworkflow/linkerd/linkerd2-proxy-init/release-proxy-init.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release-validator.yml:50: update your workflow using https://app.stepsecurity.io/secureworkflow/linkerd/linkerd2-proxy-init/release-validator.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/shell.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/linkerd/linkerd2-proxy-init/shell.yml/main?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:8","Warn: containerImage not pinned by hash: Dockerfile:22","Warn: containerImage not pinned by hash: Dockerfile-cni-plugin:4","Warn: containerImage not pinned by hash: Dockerfile-cni-plugin:15","Warn: containerImage not pinned by hash: Dockerfile-cni-plugin:42","Warn: containerImage not pinned by hash: cni-plugin/integration/Dockerfile-tester:11","Warn: containerImage not pinned by hash: proxy-init/integration/iptables/Dockerfile-tester:1: pin your Docker image by updating golang:1.24-alpine to golang:1.24-alpine@sha256:c8c5f95d64aa79b6547f3b626eb84b16a7ce18a139e3e9ca19a8c078b85ba80d","Info:  24 out of  25 GitHub-owned GitHubAction dependencies pinned","Info:  10 out of  19 third-party GitHubAction dependencies pinned","Info:   0 out of   7 containerImage dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact validator/v0.1.4 not signed: https://api.github.com/repos/linkerd/linkerd2-proxy-init/releases/236990889","Warn: release artifact validator/v0.1.3 not signed: https://api.github.com/repos/linkerd/linkerd2-proxy-init/releases/227695512","Warn: release artifact validator/v0.1.4 does not have provenance: https://api.github.com/repos/linkerd/linkerd2-proxy-init/releases/236990889","Warn: release artifact validator/v0.1.3 does not have provenance: https://api.github.com/repos/linkerd/linkerd2-proxy-init/releases/227695512"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":9,"reason":"SAST tool is not run on all commits -- score normalized to 9","details":["Warn: 27 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-20T21:53:06.898Z","repository_id":39857580,"created_at":"2025-08-20T21:53:06.899Z","updated_at":"2025-08-20T21:53:06.899Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32063458,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T11:35:06.609Z","status":"ssl_error","status_checked_at":"2026-04-20T11:34:48.899Z","response_time":94,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T18:14:34.099Z","updated_at":"2026-04-20T20:01:18.374Z","avatar_url":"https://github.com/linkerd.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# linkerd2-proxy-init\n\nThis repo contains the init container that reroutes all traffic to the pod\nthrough Linkerd2's sidecar proxy. This rerouting is done via iptables and\nrequires the NET_ADMIN capability.\n\n## Integration tests\n\nBoth the cni-plugin and the proxy-init binary have their own integration tests\nthat must be triggered separately. For convenience, both of them have `just`\nrecipes that can be used to trigger the tests locally, or in  CI.\n\nFor the tests to be run, `k3d` needs to be installed locally (assumption is\nthat this true, since the project offers a Devcontainer).\n\n```bash\n# List all available recipes\njust --list\n\n# Run proxy-init integration tests\njust proxy-init-test-integration\n\n## Run cni plugin integration tests\n# cni plugin contains more than one scenario:\n# for example, tests may be run with calico, or\n# with flannel (default on k3d).\n# Each plugin requires a different k3d config.\n## To run _all_ the tests \njust cni-plugin-test-integration-all\n\n# Run a specific scenario, e.g flannel:\njust cni-plugin-test-integration-flannel\n\n# Run a test with a new scenario\n# useful when developing or adding a new scenario\njust \\\n  cni-integration-scenario=\"myscenario\"\n  cni-plugin-test-integration\n```\n\nBy default, all `just` recipes prepare the relevant dependencies (e.g images,\nclusters, and so on). Although it is not recommended, tests may be run\nexclusively without preparing any dependencies. They can be trigger either\nthrough `just` or by calling the test runner directly.\n\n```bash\njust \\\n  cni-integration-scenario=\"\u003cflannel | calico\u003e\" \\\n  _cni-plugin-test-integration\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinkerd%2Flinkerd2-proxy-init","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flinkerd%2Flinkerd2-proxy-init","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinkerd%2Flinkerd2-proxy-init/lists"}