gh-action-pypi-publish VS trufflehog

Compare gh-action-pypi-publish vs trufflehog and see what are their differences.

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
gh-action-pypi-publish trufflehog
5 25
836 13,863
3.7% 2.7%
8.1 9.9
1 day ago 4 days ago
Python Go
BSD 3-clause "New" or "Revised" License GNU Affero General Public License v3.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

gh-action-pypi-publish

Posts with mentions or reviews of gh-action-pypi-publish. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-20.
  • PyPI new user and new project registrations temporarily suspended
    5 projects | news.ycombinator.com | 20 May 2023
    > Recently I've seen someone on Reddit trying to automate the creation of PyPI projects through GitHub Actions. The person was complaining that the first deployment couldn't use an API key for that project since it didn't exist. So I'm not surprised some people are trying to do the same for malicious purposes.

    Sorry for the tangent, but: you can do this now! If you use trusted publishing, you can register a "pending publisher" for a project that doesn't exist yet. When the trusted publisher (like GitHub Actions) is used, it'll create the project[1].

    All of this is supported transparently by the official publishing action for GitHub Actions[2].

    [1]: https://docs.pypi.org/trusted-publishers/creating-a-project-...

    [2]: https://github.com/pypa/gh-action-pypi-publish

  • Publishing to PyPI via GitHub Action
    3 projects | /r/learnpython | 30 Jan 2023
    In the documentation example, I see that the action yaml file contains the line uses: pypa/gh-action-pypi-publish@release/v1. I have never done this before and almost went with that, but I am not sure why the example shows v1 hardcoded, so I don't think I actually want this to happen. It doesn't seem to be well explained though, and the pypi-publish action repo was also quiet on this. Is this saying that it will create a release branch in my repo and call the release v1? Or how will this appear after I've done it? Will I have to manually change this v1 to v0.1.1 in the actions file AND the pyproject.toml?
  • "Even with --dry-run pip will execute arbitrary code found in the package's setup.py. In fact, merely asking pip to download a package can execute arbitrary code"
    5 projects | /r/programming | 21 Sep 2022
    Yeah, you're uploading to PyPi in your pipeline, great. The custom github action still uses twine because the stdlib falls short on BASIC security. https://github.com/pypa/gh-action-pypi-publish/blob/unstable/v1/twine-upload.sh
  • Do you publish pypi source code to Github as well in the same form?
    1 project | /r/learnpython | 5 Sep 2022
    I never bothered with pypi myself but I hope the nudge into github actions helps you. I've found the following promising github action: https://github.com/pypa/gh-action-pypi-publish
  • The Python Package Index is now a GitHub secret scanning integrator
    8 projects | news.ycombinator.com | 24 Mar 2021

trufflehog

Posts with mentions or reviews of trufflehog. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-27.
  • Seeking help to identify vulnerabilities and secrets in a website backup file
    1 project | /r/HowToHack | 3 Jul 2023
    Trufflehog
  • 1 in 10 developers leaked an API-key in 2022
    3 projects | news.ycombinator.com | 27 May 2023
    Frankly, I think it will take years to replace API-keys (if it will ever happen). Developers are much better-off using CLI tools that prevent leaking secrets by blocking commits to git (e.g., https://github.com/Infisical/infisical or https://github.com/trufflesecurity/trufflehog)
  • My boss keeps committing his creds into git
    6 projects | /r/devops | 24 May 2023
    Trufflehog also offers pre-commit hooks. You can have it report on PRs too.
  • Introducing DeepSecrets: a better appsec tool for secrets scanning
    4 projects | /r/netsec | 27 Apr 2023
  • Nosey Parker: a new scanner to find misplaced secrets in textual data and Git history
    4 projects | /r/netsec | 8 Dec 2022
    Is this not just a another https://github.com/trufflesecurity/trufflehog?
  • Security scanning
    3 projects | /r/devops | 7 Nov 2022
    I agree that code scanning is really important, the best way to convince others is to identify high-risk threats in source code and present them to the decision-makers. For example, scanning Secrets is great for showing how repositories can be a massive vulnerability and identifying some low-hanging fruit, especially in the git history. Attackers are really after git repository access for this reason and there are plenty of open-source or free tools that you can use to illustrate the problem. Git-Secrets, Truffle Hog. These aren't great for a long-term commercial solution, something like GitGuardian is a better commercial tool but if the goal is just to illustrate the problem then finding some high-value secrets with free tools is a good way to convince the security personnel to invest in some solutions. Then the door is open to having more conversations as you have already proven the risk.
  • Thinking Like a Hacker: AWS Keys in Private Repos
    3 projects | dev.to | 26 Oct 2022
    It’s easy to think that it’s only important to scan for secrets in your public-facing repositories, but this real-world data breach proves that you need to treat all code the same from a security perspective. Malicious hackers can use open-source tools like Gitleaks and TruffleHog to quickly detect secrets in massive amounts of code*, without leaving a trace. As a defender, **it’s extremely important to have secret scans tightly integrated into your SDLC* (software development lifecycle) to reduce the risks of exposing them. GitGuardian offers secret scanning for private repositories in their Free, Business, and Enterprise plans.
  • Toyota Accidently Exposed a Secret Key Publicly on GitHub for Five Years
    10 projects | news.ycombinator.com | 13 Oct 2022
    There are software like Trufflehog ( https://github.com/trufflesecurity/trufflehog ), that finds secrets. We are using it at organizational level, but there's always some delay from finding something and getting it reported. I've been meaning to add it both to our CI so our team can notice right away, and even to Git push hooks, to catch these cases early.
  • What are the best tools for Advanced Security Scans similar to GitHub Enterprise
    2 projects | /r/devops | 15 Aug 2022
    https://github.com/trufflesecurity/trufflehog And https://github.com/Yelp/detect-secrets
  • Searching GITHUB
    2 projects | /r/cybersecurity | 17 Jul 2022
    Have you tried trufflehog or gitrob? gitrob trufflehog

What are some alternatives?

When comparing gh-action-pypi-publish and trufflehog you can also consider the following projects:

build - A simple, correct Python build frontend

gitleaks - Protect and discover secrets using Gitleaks 🔑

git-filter-repo - Quickly rewrite git repository history (filter-branch replacement)

git-secrets - Prevents you from committing secrets and credentials into git repositories

amplify-preview-actions - This action deploys your AWS Amplify pull request preview for your public repository

detect-secrets - An enterprise friendly way of detecting and preventing secrets in code.

git-repo-sync - Git Repo Sync enables you to synchronize code to other code management platforms, such as GitLab, Gitee, etc.

talisman - Using a pre-commit hook, Talisman validates the outgoing changeset for things that look suspicious — such as tokens, passwords, and private keys.

release - Contains every things needed to release jenkins core from the jenkins infra project

shhgit - Ah shhgit! Find secrets in your code. Secrets detection for your GitHub, GitLab and Bitbucket repositories.

roadmap - GitHub public roadmap