{"id":13428517,"url":"https://github.com/buffer/thug","last_synced_at":"2026-04-03T18:01:42.459Z","repository":{"id":2517465,"uuid":"3493279","full_name":"buffer/thug","owner":"buffer","description":"Python low-interaction honeyclient","archived":false,"fork":false,"pushed_at":"2026-03-21T16:57:41.000Z","size":46782,"stargazers_count":1021,"open_issues_count":3,"forks_count":204,"subscribers_count":71,"default_branch":"master","last_synced_at":"2026-03-22T06:46:19.004Z","etag":null,"topics":["client-honeypot","honeyclient","low-interaction","python","security-tools","shellcode","virustotal"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/buffer.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2012-02-20T11:56:54.000Z","updated_at":"2026-03-21T16:57:45.000Z","dependencies_parsed_at":"2023-09-23T08:18:16.440Z","dependency_job_id":"bdafd37f-49d6-4fbc-84a5-a36b00a5835d","html_url":"https://github.com/buffer/thug","commit_stats":{"total_commits":5417,"total_committers":45,"mean_commits":"120.37777777777778","dds":"0.057781059627099896","last_synced_commit":"9e8600e4ae41874d54bba2561915ea6526060702"},"previous_names":[],"tags_count":309,"template":false,"template_full_name":null,"purl":"pkg:github/buffer/thug","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buffer%2Fthug","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buffer%2Fthug/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buffer%2Fthug/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buffer%2Fthug/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/buffer","download_url":"https://codeload.github.com/buffer/thug/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buffer%2Fthug/sbom","scorecard":{"id":257320,"data":{"date":"2025-08-11","repo":{"name":"github.com/buffer/thug","commit":"55c1f00020ce35db7bc20c97454f92212b55b5e2"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5.4,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/10 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":"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":"19 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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/codeql.yml:1","Warn: no topLevel permission defined: .github/workflows/docker.yml:1","Warn: no topLevel permission defined: .github/workflows/linux.yml:1","Warn: no topLevel permission defined: .github/workflows/osx.yml:1","Warn: no topLevel permission defined: .github/workflows/release.yml:1","Warn: no topLevel permission defined: .github/workflows/safety.yml:1","Info: no jobLevel write permissions found"],"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":"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":"Binary-Artifacts","score":6,"reason":"binaries present in source code","details":["Warn: binary detected: tests/test_files/sample.class:1","Warn: binary detected: tests/test_files/sample.elf:1","Warn: binary detected: tests/test_files/sample.exe:1","Warn: binary detected: tests/test_files/sample.jar:1"],"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.txt:0","Info: FSF or OSI recognized license: GNU General Public License v2.0: LICENSE.txt:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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":"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"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/docker.yml:8"],"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":"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/buffer/thug/codeql.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql.yml:46: update your workflow using https://app.stepsecurity.io/secureworkflow/buffer/thug/codeql.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql.yml:57: update your workflow using https://app.stepsecurity.io/secureworkflow/buffer/thug/codeql.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql.yml:71: update your workflow using https://app.stepsecurity.io/secureworkflow/buffer/thug/codeql.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/docker.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/buffer/thug/docker.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/docker.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/buffer/thug/docker.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/docker.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/buffer/thug/docker.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/docker.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/buffer/thug/docker.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/docker.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/buffer/thug/docker.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/linux.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/buffer/thug/linux.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/linux.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/buffer/thug/linux.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/linux.yml:61: update your workflow using https://app.stepsecurity.io/secureworkflow/buffer/thug/linux.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/linux.yml:67: update your workflow using https://app.stepsecurity.io/secureworkflow/buffer/thug/linux.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/linux.yml:74: update your workflow using https://app.stepsecurity.io/secureworkflow/buffer/thug/linux.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/osx.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/buffer/thug/osx.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/osx.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/buffer/thug/osx.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/buffer/thug/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/buffer/thug/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/buffer/thug/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:45: update your workflow using https://app.stepsecurity.io/secureworkflow/buffer/thug/release.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:50: update your workflow using https://app.stepsecurity.io/secureworkflow/buffer/thug/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/safety.yml:7: update your workflow using https://app.stepsecurity.io/secureworkflow/buffer/thug/safety.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/safety.yml:9: update your workflow using https://app.stepsecurity.io/secureworkflow/buffer/thug/safety.yml/master?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:1","Warn: containerImage not pinned by hash: Dockerfile:39: pin your Docker image by updating python:3.11-slim to python:3.11-slim@sha256:45a80501f0ad184a771c5b289ab0d861a46c42f91f1c8e0402cb936f67f3c2e3","Warn: pipCommand not pinned by hash: Dockerfile:22","Warn: pipCommand not pinned by hash: Dockerfile:34","Warn: pipCommand not pinned by hash: Dockerfile:56","Warn: pipCommand not pinned by hash: .github/workflows/linux.yml:44","Warn: pipCommand not pinned by hash: .github/workflows/linux.yml:45","Warn: pipCommand not pinned by hash: .github/workflows/linux.yml:46","Warn: pipCommand not pinned by hash: .github/workflows/osx.yml:29","Warn: pipCommand not pinned by hash: .github/workflows/osx.yml:30","Warn: pipCommand not pinned by hash: .github/workflows/release.yml:21","Info:   0 out of  13 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of  10 third-party GitHubAction dependencies pinned","Info:   0 out of   2 containerImage dependencies pinned","Info:   0 out of   9 pipCommand 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":"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":10,"reason":"SAST tool is run on all commits","details":["Info: SAST configuration detected: CodeQL","Info: all commits (20) 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"}}]},"last_synced_at":"2025-08-17T09:58:49.566Z","repository_id":2517465,"created_at":"2025-08-17T09:58:49.566Z","updated_at":"2025-08-17T09:58:49.566Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31368156,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-03T17:53:18.093Z","status":"ssl_error","status_checked_at":"2026-04-03T17:53:17.617Z","response_time":107,"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":["client-honeypot","honeyclient","low-interaction","python","security-tools","shellcode","virustotal"],"created_at":"2024-07-31T01:00:59.312Z","updated_at":"2026-04-03T18:01:42.450Z","avatar_url":"https://github.com/buffer.png","language":"Python","readme":"Thug\n====\n\n|version badge| |github badge| |codefactor badge| |codecov badge| |bandit badge|\n\nThe number of client-side attacks has grown significantly in the past few years\nshifting focus on poorly protected vulnerable clients. Just as the most known\nhoneypot technologies enable research into server-side attacks, honeyclients\nallow the study of client-side attacks.\n\nA complement to honeypots, a honeyclient is a tool designed to mimic the behavior\nof a user-driven network client application, such as a web browser, and be\nexploited by an attacker's content.\n\nThug is a Python low-interaction honeyclient aimed at mimicking the behavior of a\nweb browser in order to detect and emulate malicious contents.\n\n\nDocumentation\n-------------\n\n|docs badge|\n\nDocumentation about Thug installation and usage can be found at http://thug-honeyclient.readthedocs.io/.\n\n\nContributions\n-------------\n\n|donate badge|\n\nThug is open source and we welcome contributions in all forms!\n\nThug is free to use for any purpose (even commercial ones). If you use and appreciate Thug, please consider\nsupporting the project with a donation using Paypal.\n\n\nTesting\n-------\n\nTo run the full test suite using tox_, run the command:\n\n.. code-block:: bash\n\n    tox\n\nSince tox builds and installs dependencies from scratch, using `pytest`_ for faster testing is recommended:\n\n.. code-block:: bash\n\n    pytest --cov thug\n\n\nLicense information\n-------------------\n\nCopyright (C) 2011-2026 Angelo Dell'Aera \u003cangelo.dellaera@honeynet.org\u003e\n\nLicense: GNU General Public License, version 2\n\n\n.. |version badge| image:: https://img.shields.io/pypi/v/thug.svg\n   :target: https://pypi.python.org/pypi/thug/\n.. |github badge| image:: https://github.com/buffer/thug/workflows/Build/badge.svg\n   :target: https://github.com/buffer/thug\n.. |codefactor badge| image:: https://www.codefactor.io/repository/github/buffer/thug/badge\n   :target: https://www.codefactor.io/repository/github/buffer/thug\n.. |codecov badge| image:: https://codecov.io/gh/buffer/thug/branch/master/graph/badge.svg\n   :target: https://codecov.io/gh/buffer/thug\n.. |bandit badge| image:: https://img.shields.io/badge/security-bandit-yellow.svg\n   :target: https://github.com/PyCQA/bandit\n.. |docs badge| image:: https://readthedocs.com/projects/thug-honeyclient-thug/badge/?version=latest\n   :target: https://thug-honeyclient-thug.readthedocs-hosted.com/en/latest/?badge=latest\n.. |donate badge| image:: https://img.shields.io/badge/Donate-PayPal-green.svg\n   :target: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=XTDF8AHJ28CXY\n.. _virtualenv: https://virtualenv.pypa.io/\n.. _tox: https://tox.readthedocs.io/\n.. _`pytest`: http://pytest.org/\n","funding_links":["https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=XTDF8AHJ28CXY"],"categories":["Malware Collection","\u003ca id=\"a2df15c7819a024c2f5c4a7489285597\"\u003e\u003c/a\u003e密罐\u0026\u0026Honeypot","\u003ca id=\"tag-dev\" href=\"#tag-dev\"\u003eDev\u003c/a\u003e","\u003ca id=\"a53d22b9c5d09dc894413453f4755658\"\u003e\u003c/a\u003e未分类","漏洞库_漏洞靶场"],"sub_categories":["Honeypots","\u003ca id=\"d20acdc34ca7c084eb52ca1c14f71957\"\u003e\u003c/a\u003e密罐","\u003ca id=\"tag-dev.security\" href=\"#tag-dev.security\"\u003eSecurity\u003c/a\u003e","资源传输下载"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuffer%2Fthug","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbuffer%2Fthug","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuffer%2Fthug/lists"}