Coder Social home page Coder Social logo

Comments (7)

valayDave avatar valayDave commented on June 12, 2024

Can you suggest more ideas on how you think the integration could be done ?

from tell-me-your-secrets.

valayDave avatar valayDave commented on June 12, 2024

Do you think Adding a Remote check feature would be very helpful? Or An Ansible like integration to run this on multiple instances and retrieve the leaks from everywhere?

from tell-me-your-secrets.

inverse avatar inverse commented on June 12, 2024

No ideas right now - I didn't dig into how this was achieved with other products but perhaps we could adapt what they are doing.

What do you mean remote check?

from tell-me-your-secrets.

valayDave avatar valayDave commented on June 12, 2024

SSH Based multi-machine Key scan with this module.

from tell-me-your-secrets.

inverse avatar inverse commented on June 12, 2024

Here is some examples: http://blog.dkbza.org/2007/05/scanning-data-for-entropy-anomalies.html

From trufflehog

def shannon_entropy(data, iterator):
    """
    Borrowed from http://blog.dkbza.org/2007/05/scanning-data-for-entropy-anomalies.html
    """
    if not data:
        return 0
    entropy = 0
    for x in iterator:
        p_x = float(data.count(x))/len(data)
        if p_x > 0:
            entropy += - p_x*math.log(p_x, 2)
    return entropy

from tell-me-your-secrets.

inverse avatar inverse commented on June 12, 2024

Or even existing libraries like: https://github.com/lyft/high-entropy-string

from tell-me-your-secrets.

inverse avatar inverse commented on June 12, 2024

@valayDave started implementing it in #24 but I think the whole topic could become quite complex, especially around false positives and other things.

Perhaps this project should just focus on rule based scanning, like what it's doing.

https://github.com/Yelp/detect-secrets - does it quite well from what I could see, although I didn't try the tool out that much.

@x-way what do you think?

from tell-me-your-secrets.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.