
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
pigeon-server
Advanced tools
Pigeon server for handling WebSocket connections and broadcasting messages
Pigeon Server is a simple WebSocket server that acts as a real-time bridge between pigeon-reporter (used in Playwright projects) and any clients you can built on top of it. It lets you broadcast test events live so clients can visualize, store, or process results as they happen.
Install with npm:
npm install pigeon-server
By default, the server runs on port 3004. To use a different port, set the environment variable before starting the server:
export PIGEON_SERVER_PORT=4000
projectId.
This setup allows you to:
Start the server with npx:
npx pigeon-server
You should see:
Pigeon server listens at http://localhost:4000
If you want the server to be accessible over your network, make sure your firewall and network settings allow incoming connections on the chosen port.
Each message that pigeon-server broadcasts is with this structure:
type EmitMessage = {
projectId: string;
eventType: string;
target?: string;
status?: string;
test?: string;
error?: string;
errorLocation?: {
file: string;
line: number;
column: number };
percentage?: number;
duration?: number;
location?: string;
retry?: number;
screenshotBase64?: string;
workerIndex?: number;
totalTests?: number;
startTime?: Date;
testId?: string;
}
and most of the data depends of the eventType property that can be one of:
TEST_RUN_STARTED = 'test run started',
TEST_RUN_COMPLETED = 'test run completed',
TEST_STARTED = 'test started',
TEST_COMPLETED = 'test completed',
Examples:
eventType is TEST_RUN_STARTED the message looks like:{
projectId: 'demo_navigation',
eventType: 'test run started',
percentage: 0,
totalTests: 36
}
eventType is TEST_STARTED the message looks like:{
projectId: 'demo_navigation',
test: 'url should match when navigating to facebook',
eventType: 'test started',
location: 'pigeon-test\\tests\\shouldMatchUrl.spec.ts',
target: 'firefox',
testId: '59838c6127c87d7e02ce-08cc364005662e621d47'
}
eventType is TEST_COMPLETED the message looks like:{
projectId: 'demo_navigation',
status: 'failed',
test: 'url should match when navigating to accuweather',
eventType: 'test completed',
percentage: 30.56,
duration: 42537,
retry: 0,
screenshotBase64: 'iVBORw0KGgoAAAANSUhEUgAABQAAAALQCAIAAABAH0oBAAAAAXNSR0IArs4c6QAAEKVJREFUeJzt18ENwCAQwLDS/Xc+=...
',
workerIndex: 5,
startTime: '2025-07-03T10:49:12.370Z',
target: 'chromium',
testId: '59838c6127c87d7e02ce-a0ddb7c8f6b3d06d78b5',
error: 'Error: page.goto: net::ERR_HTTP2_PROTOCOL_ERROR at https://accuweather.com/\n' +
'Call log:\n' +
'\x1B[2m - navigating to "https://accuweather.com/", waiting until "load"\x1B[22m\n',
errorLocation: {
file: 'pigeon-test\\tests\\shouldMatchUrl.spec.ts',
line: 40,
column: 14
}
}
eventType is TEST_RUN_COMPLETED the message looks like:{
projectId: 'demo_navigation',
eventType: 'test run completed',
percentage: 100
}
Note that pigeon-server prints out each message all the time so when you are building something on top of it, you can always check the message strucure in console.
Filip Kantardjioski
git checkout -b feature/amazing-feature)git commit -m 'Add some amazing feature')git push origin feature/amazing-feature)This project is licensed under the ISC License.
FAQs
Pigeon server for handling WebSocket connections and broadcasting messages
We found that pigeon-server demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.