Skip to content

Instantly share code, notes, and snippets.

View UlisesGascon's full-sized avatar
😎
Focus on FOSS Projects!

Ulises Gascón UlisesGascon

😎
Focus on FOSS Projects!
View GitHub Profile

Claude Code extension incident — read-only IOC checks

Checks for publicly reported indicators of compromise (IOCs) associated with the malicious anthropic.claude-code 2.1.313 extension distributed via the Cursor extension marketplace on October 29, 2026. The publicly confirmed marketplace incident is Cursor/Open VSX, not Microsoft's official VS Code Marketplace. The analyzed payload contains Linux, macOS, and Windows code paths; confirmed malicious distribution details are strongest for macOS and Windows packages.

Download (optional)

If you haven't already downloaded the scripts, clone this Gist using Git:

@UlisesGascon
UlisesGascon / macos-validate.sh
Created October 30, 2026 12:17
This a debug script used to check macos node.js binaries notarization issues
#!/bin/sh
# Validate Node.js darwin release artifacts on a Mac without any credentials.
#
# Answers, per version:
# 1. does the tarball bin/node carry a live notarization ticket?
# (codesign -R=notarized and spctl --assess --type execute)
# 2. is its CDHash identical to the bin/node inside the notarized pkg?
# (the "accidental ticket" hypothesis from nodejs/build#4545)
# 3. do codesign --verify --strict and pkgutil --check-signature pass?
# (the errors reported in nodejs/help#5173, #5176, #5178)
@UlisesGascon
UlisesGascon / README.md
Created October 20, 2026 15:19
eMudhra/emSign Oct 2026 intermediate compromise: what a root store update covers (reproducible check)

eMudhra/emSign intermediate key compromise (Oct 2026): what a root store update does and does not cover

On 18–19 October 2026 eMudhra revoked eight of its emSign intermediate CAs for cACompromise. Go shipped a key-based block (CVE-2026-111943, golang/go#82345), Electron followed (electron/electron#55126), and Node.js is landing the same approach in nodejs/node#66871. Mozilla removed three emSign roots in NSS 3.131.1 and certifi 2026.10.18 did the same.

#!/usr/bin/env node
/**
* GitHub Actions Vulnerability Scanner
* Detects patterns exploited by hackerbot-claw and similar CI/CD attacks.
*
* Usage:
* node scan-workflows.js <org>
* node scan-workflows.js <org> --repo <single-repo>
* node scan-workflows.js <org> --fix-hints
*
@UlisesGascon
UlisesGascon / npm-ecosystem-impact-ulisesgascon.md
Last active April 1, 2026 18:56
A detailed report of my impact as a maintainer on the npm ecosystem, including download statistics, repository links, and project scope across 200+ packages.
@UlisesGascon
UlisesGascon / README.md
Created July 21, 2024 15:21
Bash script to create an isolated environment using namespaces and cgroups

Isolate Script

This script creates an isolated environment using Linux namespaces and cgroups, executes a provided Bash script, and then cleans up the environment. It ensures that any changes made within the isolated environment do not affect the host system.

How It Works

  1. Argument Check: The script checks if a Bash script file is provided as an argument.
  2. File Existence Check: It verifies if the provided file exists.
  3. Cgroup Creation: A cgroup is created to limit the number of processes to 50.
  4. Namespace Creation: The script creates new PID and UTS namespaces using unshare.
@UlisesGascon
UlisesGascon / example.py
Created October 24, 2022 12:56 — forked from eddieantonio/example.py
Zero-dependency Python 3 and Node IPC using UNIX sockets
#!/usr/bin/env python3
# -*- coding: UTF-8 -*-
import socket
import json
server_address = '/tmp/example.sock'
sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
sock.connect(server_address)
@UlisesGascon
UlisesGascon / commands_docusaurus_translation.md
Created July 7, 2022 13:44 — forked from FedericoTartarini/commands_docusaurus_translation.md
Source code for the YouTube video - Translate a Docusaurus website in multiple languages with its internationalization (i18n) support.

Initialize a new site

with npx @docusaurus/init@latest init website classic

Configure your site

i18n: {
    defaultLocale: 'en',
    locales: ['en', 'it'],
    localeConfigs: {
      en: {
@UlisesGascon
UlisesGascon / README.MD
Created June 7, 2022 06:30 — forked from lmarkus/README.MD
Extracting / Exporting custom emoji from Slack

Extracting Emoji From Slack!

Slack doesn't provide an easy way to extract custom emoji from a team. (Especially teams with thousands of custom emoji) This Gist walks you through a relatively simple approach to get your emoji out.

If you're an admin of your own team, you can get the list of emoji directly using this API: https://api.slack.com/methods/emoji.list. Once you have it, skip to Step 3

HOWEVER! This gist is intended for people who don't have admin access, nor access tokens for using that list.

Follow along...