{"id":17469867,"url":"https://github.com/matsumotory/k2i","last_synced_at":"2026-02-28T19:01:44.467Z","repository":{"id":62441491,"uuid":"88945874","full_name":"matsumotory/k2i","owner":"matsumotory","description":"Kernel Parameters Interface using HTTP","archived":false,"fork":false,"pushed_at":"2018-12-26T09:06:04.000Z","size":86,"stargazers_count":25,"open_issues_count":1,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-09-22T22:54:47.357Z","etag":null,"topics":["http","kernel","proc","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/matsumotory.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":null,"security":null,"support":null}},"created_at":"2017-04-21T05:50:19.000Z","updated_at":"2019-08-31T09:42:17.000Z","dependencies_parsed_at":"2022-11-01T22:02:10.247Z","dependency_job_id":null,"html_url":"https://github.com/matsumotory/k2i","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/matsumotory/k2i","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matsumotory%2Fk2i","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matsumotory%2Fk2i/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matsumotory%2Fk2i/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matsumotory%2Fk2i/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matsumotory","download_url":"https://codeload.github.com/matsumotory/k2i/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matsumotory%2Fk2i/sbom","scorecard":{"id":625334,"data":{"date":"2025-08-11","repo":{"name":"github.com/matsumotory/k2i","commit":"04f6e758abbfd7e0e093ad3625fb81a0a5dc5de8"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.6,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","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":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"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":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","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":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: downloadThenRun not pinned by hash: misc/provision.sh:10","Info:   0 out of   1 downloadThenRun 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":"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":"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":"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":"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: MIT License: 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":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"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":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"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":"Vulnerabilities","score":0,"reason":"11 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: RUSTSEC-2021-0079 / GHSA-5h46-h7hh-c6x9","Warn: Project is vulnerable to: RUSTSEC-2021-0078 / GHSA-f3pg-qwvg-p99c","Warn: Project is vulnerable to: RUSTSEC-2022-0022 / GHSA-f67m-9j94-qv9j","Warn: Project is vulnerable to: RUSTSEC-2024-0421 / GHSA-h97m-ww89-6jmq","Warn: Project is vulnerable to: RUSTSEC-2022-0004 / GHSA-2226-4v3c-cff8","Warn: Project is vulnerable to: RUSTSEC-2025-0025","Warn: Project is vulnerable to: RUSTSEC-2023-0081","Warn: Project is vulnerable to: RUSTSEC-2020-0071 / GHSA-wcg3-cvx6-7396","Warn: Project is vulnerable to: RUSTSEC-2020-0027 / GHSA-j79j-cx3h-g27h","Warn: Project is vulnerable to: RUSTSEC-2021-0144 / GHSA-pp8r-vv2j-9j5v","Warn: Project is vulnerable to: RUSTSEC-2019-0039 / GHSA-vfv3-9w6v-23jp"],"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-21T06:14:52.578Z","repository_id":62441491,"created_at":"2025-08-21T06:14:52.578Z","updated_at":"2025-08-21T06:14:52.578Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29948228,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-28T18:42:55.706Z","status":"ssl_error","status_checked_at":"2026-02-28T18:42:48.811Z","response_time":90,"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":["http","kernel","proc","rust"],"created_at":"2024-10-18T16:00:35.884Z","updated_at":"2026-02-28T19:01:44.446Z","avatar_url":"https://github.com/matsumotory.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# k2i [![crates.io](https://img.shields.io/crates/v/k2i.svg)](https://crates.io/crates/k2i) [![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/matsumotory/k2i/master/LICENSE)\n\n\nKernel Parameters Interface using HTTP(S)\n\n## Quick Install\n\n```\ncargo install k2i\n```\n\n## k2i Server Run\n\n```\nk2i \n```\n\n## Support API\n\n### k2i information response\n\n```json\n$ curl 127.0.0.1:8000/v1/proc/self\n[{\"tid\":0,\"ppid\":5294,\"maj_delta\":0,\"min_delta\":0,\"pcpu\":0,\"state\":83,\"pad_1\":0,\"pad_2\":0,\"pad_3\":0,\"utime\":3,\"stime\":1,\"cutime\":0,\"cstime\":0,\"start_time\":9479566,\"signal\":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],\"blocked\":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],\"sigignore\":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],\"sigcatch\":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],\"_sigpnd\":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],\"start_code\":94062006767616,\"end_code\":94062010354808,\"start_stack\":140724759217040,\"kstk_esp\":140724759213088,\"kstk_eip\":140628670241165,\"wchan\":0,\"priority\":20,\"nice\":0,\"rss\":484,\"alarm\":0,\"size\":0,\"resident\":0,\"share\":0,\"trs\":0,\"lrs\":0,\"drs\":0,\"dt\":0,\"vm_size\":0,\"vm_lock\":0,\"vm_rss\":0,\"vm_data\":0,\"vm_stack\":0,\"vm_swap\":0,\"vm_exe\":0,\"vm_lib\":0,\"rtprio\":0,\"sched\":0,\"vsize\":239472640,\"rss_rlim\":18446744073709551615,\"flags\":1077936128,\"min_flt\":2945,\"maj_flt\":2,\"cmin_flt\":0,\"cmaj_flt\":0,\"environ\":\"\",\"cmdline\":[],\"cgroup\":[],\"supgid\":\"\",\"supgrp\":\"\",\"euser\":\"\",\"ruser\":\"\",\"suser\":\"\",\"fuser\":\"\",\"rgroup\":\"\",\"egroup\":\"\",\"sgroup\":\"\",\"fgroup\":\"\",\"cmd\":\"k2i\",\"pgrp\":5507,\"session\":5294,\"nlwp\":4,\"tgid\":0,\"tty\":34816,\"euid\":0,\"egid\":0,\"ruid\":0,\"rgid\":0,\"suid\":0,\"sgid\":0,\"fuid\":0,\"fgid\":0,\"tpgid\":5507,\"exit_signal\":17,\"processor\":0,\"ns\":[0,0,0,0,0,0]}]\n```\n\n### root response\n\n```\n$ curl 127.0.0.1:8000/v1/\nroot response!\n```\n\n### test response\n\n```\n$ curl 127.0.0.1:8000/v1/hello\nhello!\n```\n- current configuration response\n\n```json\n$ curl -s 127.0.0.1:8000/v1/config | jq .\n{\n  \"hostname\": \"127.0.0.1\",\n  \"port\": 8000,\n  \"threads\": 1\n}\n```\n\n### all proc information response\n\n```json\n$ curl -s 127.0.0.1:8000/v1/proc | jq . | head -n 30\n[\n  {\n    \"tid\": 1,\n    \"ppid\": 0,\n    \"maj_delta\": 0,\n    \"min_delta\": 0,\n    \"pcpu\": 0,\n    \"state\": 83,\n    \"pad_1\": 0,\n    \"pad_2\": 0,\n    \"pad_3\": 0,\n    \"utime\": 113,\n    \"stime\": 1498,\n    \"cutime\": 63742,\n    \"cstime\": 4669,\n    \"start_time\": 12,\n\n(snip)\n\n    \"sched\": 0,\n    \"vsize\": 9887744,\n    \"rss_rlim\": 18446744073709552000,\n    \"flags\": 4194304,\n    \"min_flt\": 143,\n    \"maj_flt\": 0,\n    \"cmin_flt\": 0,\n    \"cmaj_flt\": 0,\n    \"environ\": \"\",\n    \"cmdline\": [\n      \"less\"\n    ],\n    \"cgroup\": [\n      \"11:cpuset:/\",\n      \"10:net_cls,net_prio:/\",\n      \"9:hugetlb:/\",\n      \"8:devices:/user.slice\",\n      \"7:perf_event:/\",\n      \"6:memory:/user.slice\",\n      \"5:blkio:/user.slice\",\n      \"4:pids:/user.slice/user-1000.slice\",\n      \"3:cpu,cpuacct:/user.slice\",\n      \"2:freezer:/\",\n      \"1:name=systemd:/user.slice/user-1000.slice/session-39.scope\"\n    ],\n(snip)\n```\n\n### Specified PID proc information response\n\n```json\n$ curl -s 127.0.0.1:8000/v1/proc/19309 | jq . | head -n 30\n[\n  {\n    \"tid\": 19309,\n    \"ppid\": 19256,\n    \"maj_delta\": 0,\n    \"min_delta\": 0,\n    \"pcpu\": 0,\n    \"state\": 83,\n    \"pad_1\": 0,\n    \"pad_2\": 0,\n    \"pad_3\": 0,\n    \"utime\": 3,\n    \"stime\": 15,\n    \"cutime\": 0,\n    \"cstime\": 0,\n    \"start_time\": 2879872,\n    \"signal\": [\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n(snip)\n```\n\n### Specified cmd name proc information response\n\n```json\n$ curl 127.0.0.1:8000/v1/proc/cmd/lxc | jq .\n[\n  {\n    \"tid\": 756,\n    \"ppid\": 1,\n    \"maj_delta\": 0,\n    \"min_delta\": 0,\n    \"pcpu\": 0,\n    \"state\": 83,\n    \"pad_1\": 0,\n    \"pad_2\": 0,\n    \"pad_3\": 0,\n    \"utime\": 12,\n    \"stime\": 41,\n    \"cutime\": 0,\n    \"cstime\": 0,\n    \"start_time\": 861,\n\n(snip)\n\n    \"rtprio\": 0,\n    \"sched\": 0,\n    \"vsize\": 468344832,\n    \"rss_rlim\": 18446744073709552000,\n    \"flags\": 1077936384,\n    \"min_flt\": 555,\n    \"maj_flt\": 5,\n    \"cmin_flt\": 33,\n    \"cmaj_flt\": 0,\n    \"environ\": \"\",\n    \"cmdline\": [\n      \"/usr/bin/lxcfs\",\n      \"/var/lib/lxcfs/\"\n    ],\n    \"cgroup\": [\n      \"11:cpuset:/\",\n      \"10:net_cls,net_prio:/\",\n      \"9:hugetlb:/\",\n      \"8:devices:/system.slice/lxcfs.service\",\n      \"7:perf_event:/\",\n      \"6:memory:/system.slice/lxcfs.service\",\n      \"5:blkio:/system.slice/lxcfs.service\",\n      \"4:pids:/system.slice/lxcfs.service\",\n      \"3:cpu,cpuacct:/system.slice/lxcfs.service\",\n      \"2:freezer:/\",\n      \"1:name=systemd:/system.slice/lxcfs.service\"\n    ],\n\n(snip)\n\n    \"cmd\": \"lxcfs\",\n    \"pgrp\": 756,\n    \"session\": 756,\n    \"nlwp\": 7,\n    \"tgid\": 756,\n    \"tty\": 0,\n    \"euid\": 0,\n    \"egid\": 0,\n    \"ruid\": 0,\n    \"rgid\": 0,\n    \"suid\": 0,\n    \"sgid\": 0,\n    \"fuid\": 0,\n    \"fgid\": 0,\n    \"tpgid\": -1,\n    \"exit_signal\": 17,\n\n(snip)\n\n```\n\n# License\n\nThis project is under the MIT License:\n\n* http://www.opensource.org/licenses/mit-license.php\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatsumotory%2Fk2i","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatsumotory%2Fk2i","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatsumotory%2Fk2i/lists"}