sfw emits a warning on every command? `Code cache data rejected`

Open
#62 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Active
Tech stack
node.js
Domain
cli

Research direction

Start by reproducing the warning with sfw --version and the package-manager aliases under Node.js 26.8, using the documented --trace-warnings invocation to locate its source. Done means the commands no longer emit Code cache data rejected, or the warning identifies a valid actionable executable and cause.

Written by the indexing model from the issue text.

Description

I'm being annoyed by a warning on every sfw and package manager aliased command for a while now.
I tried to install the newest Node.js version (26.8), reinstall sfw, and still get this constantly?

sfw --version
(node:91313) Warning: Code cache data rejected.
(Use `sfw-free-macos-arm64 --trace-warnings ...` to show where the warning was created)
Socket Firewall Free, version 1.15.1

It's not clear what I'm supposed to do.

The sfw-free-macos-arm64 --trace-warnings command does not exist so the message is not really helpful/actionable.

You can see this same warning visible in the logs of another issue from @marcbachmann who may be affected by the same problem:
https://github.com/SocketDev/sfw-free/issues/25


If useful, I'm managing Node versions through fnm.

Screenshot:

Image
Dominant language
No language data
Stars
271
Forks
8
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from SocketDev/sfw-free

All issues in SocketDev/sfw-free

Similar issues

More CLI issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.