{"id":21675054,"url":"https://github.com/jwilk/getenvy","last_synced_at":"2025-04-12T04:32:59.889Z","repository":{"id":89560139,"uuid":"94708278","full_name":"jwilk/getenvy","owner":"jwilk","description":"LD_PRELOAD library to snoop on getenv() calls","archived":false,"fork":false,"pushed_at":"2025-02-24T20:49:14.000Z","size":17,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-26T00:02:58.862Z","etag":null,"topics":["security"],"latest_commit_sha":null,"homepage":null,"language":"C","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/jwilk.png","metadata":{"files":{"readme":"README","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-06-18T19:25:49.000Z","updated_at":"2025-02-24T20:49:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"e96bd748-14f5-48cc-9287-6665b879e277","html_url":"https://github.com/jwilk/getenvy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwilk%2Fgetenvy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwilk%2Fgetenvy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwilk%2Fgetenvy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwilk%2Fgetenvy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jwilk","download_url":"https://codeload.github.com/jwilk/getenvy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248517161,"owners_count":21117401,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["security"],"created_at":"2024-11-25T13:50:48.648Z","updated_at":"2025-04-12T04:32:59.884Z","avatar_url":"https://github.com/jwilk.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"**getenvy** is an LD_PRELOAD library to snoop on ``getenv()`` calls:\n\n.. code:: console\n\n   $ make\n   gcc -W -Wall -O2 -g  -shared -fPIC -ldl getenvy.c -o libgetenvy.so\n   $ export LD_PRELOAD=\"$PWD/libgetenvy.so\"\n   $ GETENVY=1 ls \u003e /dev/null\n   getenv(\"QUOTING_STYLE\")\n   getenv(\"COLUMNS\")\n   getenv(\"TABSIZE\")\n   getenv(\"LS_BLOCK_SIZE\")\n   getenv(\"BLOCK_SIZE\")\n   getenv(\"BLOCKSIZE\")\n   getenv(\"POSIXLY_CORRECT\")\n   getenv(\"BLOCK_SIZE\")\n   getenv(\"TZ\")\n\nIf you feel brave, you can install and enable it globally\n(even for setuid/setgid programs):\n\n.. code:: console\n\n   # make install\n   install -D -m 644 libgetenvy.so /usr/local/lib/libgetenvy.so\n   # echo /usr/local/lib/libgetenvy.so \u003e\u003e /etc/ld.so.preload\n\n.. vim:ft=rst ts=3 sts=3 sw=3 et\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjwilk%2Fgetenvy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjwilk%2Fgetenvy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjwilk%2Fgetenvy/lists"}