Bsides Kerala Supply Chain Outside Code

Bsides Kerala 2025 Kochi, India
1 / 33
Slide 1 of Bsides Kerala Supply Chain Outside Code
Slide 2 of Bsides Kerala Supply Chain Outside Code
Slide 3 of Bsides Kerala Supply Chain Outside Code
Slide 4 of Bsides Kerala Supply Chain Outside Code
Slide 5 of Bsides Kerala Supply Chain Outside Code
Slide 6 of Bsides Kerala Supply Chain Outside Code
Slide 7 of Bsides Kerala Supply Chain Outside Code
Slide 8 of Bsides Kerala Supply Chain Outside Code
Slide 9 of Bsides Kerala Supply Chain Outside Code
Slide 10 of Bsides Kerala Supply Chain Outside Code
Slide 11 of Bsides Kerala Supply Chain Outside Code
Slide 12 of Bsides Kerala Supply Chain Outside Code
Slide 13 of Bsides Kerala Supply Chain Outside Code
Slide 14 of Bsides Kerala Supply Chain Outside Code
Slide 15 of Bsides Kerala Supply Chain Outside Code
Slide 16 of Bsides Kerala Supply Chain Outside Code
Slide 17 of Bsides Kerala Supply Chain Outside Code
Slide 18 of Bsides Kerala Supply Chain Outside Code
Slide 19 of Bsides Kerala Supply Chain Outside Code
Slide 20 of Bsides Kerala Supply Chain Outside Code
Slide 21 of Bsides Kerala Supply Chain Outside Code
Slide 22 of Bsides Kerala Supply Chain Outside Code
Slide 23 of Bsides Kerala Supply Chain Outside Code
Slide 24 of Bsides Kerala Supply Chain Outside Code
Slide 25 of Bsides Kerala Supply Chain Outside Code
Slide 26 of Bsides Kerala Supply Chain Outside Code
Slide 27 of Bsides Kerala Supply Chain Outside Code
Slide 28 of Bsides Kerala Supply Chain Outside Code
Slide 29 of Bsides Kerala Supply Chain Outside Code
Slide 30 of Bsides Kerala Supply Chain Outside Code
Slide 31 of Bsides Kerala Supply Chain Outside Code
Slide 32 of Bsides Kerala Supply Chain Outside Code
Slide 33 of Bsides Kerala Supply Chain Outside Code

Abstract

Challenges the assumption that securing code dependencies is sufficient, systematically demonstrating supply chain attack vectors in browser extensions, IDE plugins, CI/CD systems, containers, and beyond.

AI Generated Summary

AI Generated Content Disclaimer

Note: This summary is AI-generated and may contain inaccuracies, errors, or omissions. If you spot any issues, please contact the site owner for corrections. Errors or omissions are unintended.

You secured your code dependencies, is that enough? was presented at BSides Kerala 2025. The deck challenges the assumption that securing code dependencies covers software supply chain security: it shows the real attack surface extends to browser extensions, IDE plugins, installation scripts, package managers, CI/CD systems, container images, dependency caching servers and the developer’s own machine, then closes with the ATOM framework as a practical response.

Summary

The deck opens by polling the audience on the familiar vocabulary: software supply chain security, SBOM and SCA tools, with the usual why (SolarWinds, CodeCov, Colonial Pipeline leading to the US Executive Order, NIST SSDF, SLSA and 2024 CERT-In guidelines) and the usual systemic causes around build automation, unsupported OSS maintainers and vulnerability notification noise. The SBOM is defined as an itemized list of ingredients mostly one level deep and SCA tools as generating or consuming SBoMs to identify outdated, insecure or EOL software, then the deck asks who actually runs SCA tooling and follows vulnerability management for source components.

The core claim is that software supply chains extend beyond the code chain: consumers deal with too many chains not in awareness, and any software allowing a third party to add or modify functionality (pluggable modules, plugins, extensions, theming, customizations) is a chain. These matter because production is hardened, dev is not so much, less guarded paths are easier to compromise, and smaller organizations are easier to infiltrate, occupy or acquire. The developer machine is the lucrative target: lots of credentials and access, needed lax security, network policy exceptions, admin access, and powerful apps like IDEs and debuggers.

With “show me data, don’t just imagine” as the standard, the case studies roll. WYS is not WYG: content can be delivered differently to curl and browsers, so don’t curl | sh, shown live. Dozens of backdoored Chrome extensions were discovered on 2.6 million devices (Ars Technica, January 2025), and a malicious EditThisCookie clone showed what extensions can do. Malicious VS Code extensions have carried millions of installs (BleepingComputer), and Notepad++ suffered hijacked plugins and impersonation through parasite websites. APT and RPM package managers support pre and post install script execution; CI/CD systems are the essential watchers over the entire build and deployment practice (NSA/CISA guidance, global TeamCity exploitation); malicious containers have been found on Docker Hub; a malicious package exploited Go module proxy caching for persistence; and a WordPress free plugin was purchased and backdoored with more than 300,000 installations.

Rogue maintainers close the section: the peacenotwar module sabotaged npm developers through node-ipc to protest the invasion of Ukraine; a “Malware Civil War” put 25 malicious packages in npm, including lemaaa built to manipulate Discord accounts; and the colors.js and faker.js maintainer pushed corrupt updates that trigger infinite loops. The plan is the ATOM framework: Awareness (identify and move unknown risks into known risks), Trust But Verify (every dependency, tool and service should be validated), Ongoing Monitoring (continuous security checks to detect changes and anomalies) and Measure & Map (answer real questions, like how many machines have Chrome installed). The deck admits to a can of worms untouched and opens for questions.

Key Themes

  • Beyond the code chain: Supply chain security has focused too heavily on software code, while any software allowing third parties to add or modify functionality (plugins, extensions, theming, customizations) is itself a chain.
  • Dev beats prod as a target: Production is hardened but dev is not, less guarded paths are easier to compromise, and smaller organizations are easier to infiltrate, occupy or acquire.
  • The developer machine as high value target: Credentials and access, network policy exceptions, admin access, and powerful apps like IDEs and debuggers make a compromised developer machine a foothold into the pipeline.
  • Browser and editor ecosystem attacks: Dozens of backdoored Chrome extensions on 2.6 million devices, the EditThisCookie clone, malicious VS Code extensions with millions of installs, and Notepad++ hijacking and impersonation via parasite sites.
  • Installation scripts and package managers: curl-piped-to-shell scripts can serve different content per client, and APT and RPM pre/post install scripts are legitimate but unexpected code execution paths.
  • CI/CD and containers as the new perimeter: CI/CD systems watch the whole build and deployment practice (NSA/CISA guidance, global TeamCity exploitation), and the shift to downloading container images brings its own trust problems.
  • Caching, bait-and-switch and rogue maintainers: Go module proxy caching abused for persistence, a purchased WordPress plugin backdoored across 300,000+ installations, peacenotwar in node-ipc, the npm “Malware Civil War”, and the colors.js and faker.js infinite loop incidents.
  • The ATOM response framework: Awareness, Trust But Verify, Ongoing Monitoring and Measure & Map turn an overwhelming threat space into a managed program with answerable questions.

Notable Points

  • The regulation chain listed: SolarWinds, CodeCov and Colonial Pipeline incidents leading to the EO by the US President, the NIST SSDF framework, SLSA by Google, and 2024 CERT-In guidelines.
  • The SBOM definition references the NTIA “Minimum Elements of a Software Bill of Materials (SBOM)” report (ntia.gov, 2021); SCA tools generate or consume SBoMs and identify outdated, insecure and EOL products.
  • The curl demo URL shown in the deck is curl https://anantshri.info/fun/legitimate.sh | bash, with references to Jordan Eldredge’s curl-pipe-sh write-up and Sean Cassidy’s “Don’t pipe to your shell” article.
  • The Chrome case cites Ars Technica (January 2025) on dozens of backdoored extensions discovered on 2.6 million devices; the EditThisCookie clone is referenced via gbhackers.com; the installer runs without admin privilege.
  • The VS Code case cites BleepingComputer’s report of malicious extensions with millions of installs; Notepad++ cites a cybersecuritynews.com hijack report and notepad-plus-plus.org’s own parasite-site takedown notice.
  • The code execution references are the Debian bookworm apt sources.list man page and a golinuxhub.com walkthrough of pre/post/preun/postun RPM spec file scripts.
  • The CI/CD references are the NSA/CISA “Defending CI/CD Environments” CSI PDF (media.defense.gov, June 2023) and DarkReading’s coverage of global TeamCity exploitation opening the door to a SolarWinds-style nightmare.
  • Container and caching references: Infosecurity Magazine and Aqua Security’s blog on malicious containers found on Docker Hub, and socket.dev on a malicious package exploiting Go module proxy caching for persistence.
  • The bait-and-switch reference is BleepingComputer on a backdoor found in a WordPress plugin with more than 300,000 installations after purchase; the rogue maintainer cases are peacenotwar in node-ipc, the 25-package “Malware Civil War” with fake colors.js and the lemaaa Discord-account package, and the colors.js/faker.js corrupt update triggering an infinite loop of weird characters.
  • The ATOM framework’s Measure & Map examples: how many machines have Chrome installed, and how many plugins exist in GitHub workflows.

Notable Quotes

“You secured your code dependencies, is that enough?”

“PRODUCTION IS HARDENED, DEV NOT SO MUCH”

“EASIER TO COMPROMISE LESS GUARDED PATHS”

“SMALLER ORGS EASIER TO INFILTRATE / OCCUPY / ACQUIRE”

“Content delivered differently to curl and browser : Don’t curl | sh”

“Show me data don’t just imagine”

“Any Software or application which allows 3rd party to add or modify functionality”

“Can of worms that I have not touched”

Embed This Presentation

See Also