fbpx
Frame-14

Privacy Ninja

        • DATA PROTECTION

        • CYBERSECURITY

        • Penetration Testing

          Secure your network against various threat points. VA starts at only S$1,000, while VAPT starts at S$4,000. With Price Beat Guarantee!

        • API Penetration Testing
        • Enhance your digital security posture with our approach that identifies and addresses vulnerabilities within your API framework, ensuring robust protection against cyber threats targeting your digital interfaces.

        • On-Prem & Cloud Network Penetration Testing
        • Boost your network’s resilience with our assessment that uncovers security gaps, so you can strengthen your defences against sophisticated cyber threats targeting your network

        • Web Penetration Testing
        • Fortify your web presence with our specialised web app penetration testing service, designed to uncover and address vulnerabilities, ensuring your website stands resilient against online threats

        • Mobile Penetration Testing
        • Strengthen your mobile ecosystem’s resilience with our in-depth penetration testing service. From applications to underlying systems, we meticulously probe for vulnerabilities

        • Cyber Hygiene Training
        • Empower your team with essential cybersecurity knowledge, covering the latest vulnerabilities, best practices, and proactive defence strategies

        • Thick Client Penetration Testing
        • Elevate your application’s security with our thorough thick client penetration testing service. From standalone desktop applications to complex client-server systems, we meticulously probe for vulnerabilities to fortify your software against potential cyber threats.

        • Source Code Review
        • Ensure the integrity and security of your codebase with our comprehensive service, meticulously analysing code quality, identifying vulnerabilities, and optimising performance for various types of applications, scripts, plugins, and more

        • Email Spoofing Prevention
        • Check if your organisation’s email is vulnerable to hackers and put a stop to it. Receive your free test today!

        • Email Phishing Excercise
        • Strengthen your defense against email threats via simulated attacks that test and educate your team on spotting malicious emails, reducing breach risks and boosting security.

        • Cyber Essentials Bundle
        • Equip your organisation with essential cyber protection through our packages, featuring quarterly breached accounts monitoring, email phishing campaigns, cyber hygiene training, and more. LAUNCHING SOON.

GitHub Now Scans for Accidentally-exposed PyPI, RubyGems Secrets

https://open.spotify.com/show/3Gmj15x6cGrgJEzmGnDTTj

GitHub Now Scans for Accidentally-exposed PyPI, RubyGems Secrets

GitHub has recently expanded its secrets scanning capabilities to repositories containing PyPI and RubyGems registry secrets.

The move helps protect millions of applications built by Ruby and Python developers who may inadvertently be committing secrets and credentials to their public GitHub repos.

GitHub will now scan for PyPI, RubyGems secrets

Yesterday, GitHub announced that it will now automatically scan repositories exposing PyPI and RubyGems secrets, such as credentials and API tokens.

To avail this feature, developers need to ensure that GitHub Advanced Security is enabled for their repository, which seems to be the default case for public repos:

“For public repositories on GitHub.com, these features are permanently on and can only be disabled if you change the visibility of the project so that the code is no longer public,” states GitHub.

Similar to a username and password, secrets or tokens are strings that one can use to authenticate themselves while using a service.

Applications relying on third-party APIs frequently use secrets (private API keys) in their code to gain access to the API services.

As such, one must be cautious that secrets are not compromised, as that can lead to much greater attacks affecting the wider software supply chain.

Prior to this, GitHub would scan for accidentally-committed npm, NuGet, and Clojars secrets among others.

Also Read: The 5 Phases of Penetration Testing You Should Know

As seen by BleepingComputer, there’s an extensive list of over 70 different types of secrets currently supported by GitHub Advanced Security.

These include secrets for both open-source registries (like npm, PyPI, RubyGems, Nuget, Clojars, etc.), and non-package-management-services like Adobe and OpenAI:

GitHub secrets scanning candidates
Types of secrets supported by GitHub Advanced Security (GitHub)

What happens when a secret is identified?

When GitHub spots a password, an API token, private SSH keys, or another supported secret exposed in a public repository, it notifies the registry maintainer.

The registry maintainers, for example, recently added PyPI and RubyGems, would then revoke the exposed credential, and email the developer explaining why:

RubyGems email compromised secret
A sample email from RubyGems alerting developer of a revoked secret (GitHub)

“In each case, we automatically scan every commit to a public repository or gist for potentially leaked credentials.”

“If we find one, we notify the registry, and they automatically revoke any compromised secrets and notify their owner,” explains GitHub software engineer Annie Gesellchen in yesterday’s blog post.

The advantage here of GitHub’s partnership with RubyGems and PyPI remains that the exposed secrets are revoked within seconds in an automated fashion, rather than waiting on the developer to take manual action.

As reported by BleepingComputer time and time again [123], exposed secrets and credentials have translated into successful breaches.

Also Read: Got Hacked? Here Are 5 Ways to Handle Data Breaches

As such, automated secrets scanning takes us one step closer to safeguarding the developer infrastructure from accidental leaks, and stepping up supply-chain security.

0 Comments

KEEP IN TOUCH

Subscribe to our mailing list to get free tips on Data Protection and Data Privacy updates weekly!

Personal Data Protection

REPORTING DATA BREACH TO PDPC?

We have assisted numerous companies to prepare proper and accurate reports to PDPC to minimise financial penalties.
×

Hello!

Click one of our contacts below to chat on WhatsApp

× Chat with us