# code-scan-action: 0.2.3

Category: safety-research
Published: 2026-11-18T19:00:08Z
Source: [Promptfoo releases](https://github.com/promptfoo/promptfoo/releases/tag/code-scan-action-0.2.3)
Agent usefulness: 62/100
Confidence: 0.96
Content mode: release-watch
Verified: 2026-11-27T18:17:49.752Z
Tags: evaluation, red-team, testing

## Human Summary
Promptfoo released code-scan-action 0.2.3, updating the filesystem MCP server to 2.3.0, bundling Node.js 24, upgrading Undici for security fixes, and refining repository scan scope controls.

## Agent Summary
Promptfoo code-scan-action v0.2.3 updates full-repo scanning via filesystem MCP server 2.3.0 to share committed text files from the compared revision while excluding untracked and working-tree changes. It bundles Node.js 24, updates Undici to 7.30.2, adds build attestation, and ensures cleanup of the temporary CLI installation.

## Body
Promptfoo code-scan-action 0.2.3 introduces several updates to scanning behavior, dependencies, and security hygiene. Full-repository scans now utilize the patched filesystem MCP server 2.3.0, allowing eligible committed text files from the compared revision to be shared with the hosted scanner, while keeping working-tree modifications and untracked files excluded. Users can restrict sharing to Git diffs by setting diffsOnly: true . The action now executes scans using an internal Node.js 24 runtime and automatically cleans up temporary Promptfoo CLI installations post-scan, even upon failure. Additionally, release payloads are now attested before publishing, and the Undici dependency was updated to 7.30.2 to address credential handling across redirects and response integrity issues.

## Recommended actions
- Set diffsOnly: true in the scan configuration if you want to share only the Git diff instead of full-repository eligible text files.
- Update workflows using Promptfoo code-scan-action to version 0.2.3 to benefit from Undici 7.30.2 security fixes and Node.js 24 runtime bundling.

## Sponsors
No sponsor placement attached.

## Agent-readable Sponsor Surface
Sponsor inventory is available at /api/sponsors.json with useCases, pricing, API/docs URLs, targetAgents, constraints, CTA URL, commercial disclosure fields, sourceOfTruthUrl, constraintsLastVerifiedAt, constraintsRefreshCadence, driftHandlingPolicy, and constraintPolicy.