UK Markets close in 2 hrs 45 mins
  • FTSE 100

    7,389.98
    +87.24 (+1.19%)
     
  • FTSE 250

    19,835.95
    +146.93 (+0.75%)
     
  • AIM

    956.64
    +9.47 (+1.00%)
     
  • GBP/EUR

    1.1822
    +0.0040 (+0.34%)
     
  • GBP/USD

    1.2495
    +0.0020 (+0.1587%)
     
  • BTC-GBP

    23,432.82
    -1,052.07 (-4.30%)
     
  • CMC Crypto 200

    650.34
    -23.03 (-3.42%)
     
  • S&P 500

    3,901.36
    +0.57 (+0.01%)
     
  • DOW

    31,261.90
    +8.77 (+0.03%)
     
  • CRUDE OIL

    110.35
    +0.46 (+0.42%)
     
  • GOLD FUTURES

    1,845.10
    +3.90 (+0.21%)
     
  • NIKKEI 225

    26,739.03
    +336.19 (+1.27%)
     
  • HANG SENG

    20,717.24
    +596.56 (+2.96%)
     
  • DAX

    13,981.91
    +99.61 (+0.72%)
     
  • CAC 40

    6,285.24
    +12.53 (+0.20%)
     

Socket lands $4.6M to audit and catch malicious open source code

·3-min read

Securing the software supply chain is admittedly somewhat of a dry topic, but knowing which components and code go into your everyday devices and appliances is a critical part of the software development process that billions of people rely on every day.

Software is just like any other product you build and ship; it relies on using components that others have built, often in the form of source code, and making sure that it doesn't break or have weaknesses that compromise the final product. Most of the world's software relies on open source code that's written by developers who publish their work for anyone to use. That also means a reliance on trusting that the developers will always act in good faith. But projects get abandoned and picked up by others who plant backdoors or malware, or, as seen recently since Russia's invasion of Ukraine, a rise in "protestware," in which open source software developers alter their code to wipe the contents of Russian computers in protest of the Kremlin's incursion.

Feross Aboukhadijeh, a prolific open source maintainer and the founder of Socket, told TechCrunch in a recent call that development teams often put too much trust in open source code, which can be catastrophic if a deliberate vulnerability is introduced into the supply chain and goes unnoticed.

Software is generally easier to fix than autonomous cars and other hardware that have to be recalled. But the consequences of a software compromise can be dire and widespread. Tainted software updates have led to the mass compromise of U.S. federal government networks, ransomware attacks and the targeting of enterprise password managers aimed at stealing sensitive corporate secrets.

Aboukhadijeh founded Socket earlier this year alongside a team of fellow open source maintainers who have seen firsthand some of the worst software supply chain attacks in the wild. And so the team began work on building an app that developers can use to detect and block introducing potentially malicious code into their projects from millions of open source code repositories.

The app plugs in to a GitHub developer's account and runs through dozens of known behaviors, looking for package issues like potentially suspicious changes to the code, such as if an open source package you depend on suddenly starts trying to communicate over the network or getting shell access, which might indicate that the package has been compromised.

Aboukhadijeh described Socket as offering a nutrition-fact label of an open source package's capabilities by illuminating what access, permissions and behaviors a package has, like install scripts, which many kinds of malware use to hook into a victim's system.

"We can't tell you with certainty whether a package is talking to the network is a bad sign or not, because what if it's a web server — then it's obviously going to need to do that!" said Aboukhadijeh. But having that visibility integrated into the software building process is what developers need to prevent a supply chain attack. "This isn't some complicated AI or machine learning thing," he said, speaking of his own product. "There's no way to hide that a package runs an install script, it's declared as part of the package. So why not raise that to a developer's attention?"

Socket is still in its early days and enters a crowded market, but is already attracting investment. The early-stage startup has raised $4.6 million in seed round funding from over a dozen angel investors and security leaders, including ex-GitHub CEO Nat Friedman, Keybase co-founder Max Krohn, as well as Unusual Ventures, Village Global and South Park Commons.

Aboukhadijeh told TechCrunch that the funding will help grow the startup's engineering, security analysis and research teams to build out its tools to developers.

Read more:

Our goal is to create a safe and engaging place for users to connect over interests and passions. In order to improve our community experience, we are temporarily suspending article commenting