Skip to content

fix(openclaw): clear security scanner exfiltration warning#4678

Merged
whysosaket merged 5 commits intomainfrom
fix/security-scanner-exfiltration-warning
Apr 2, 2026
Merged

fix(openclaw): clear security scanner exfiltration warning#4678
whysosaket merged 5 commits intomainfrom
fix/security-scanner-exfiltration-warning

Conversation

@chaithanyak42
Copy link
Copy Markdown
Contributor

Clears the remaining potential-exfiltration security scanner warning. The scanner flagged readFileSync + post in the same bundle file. The post match was a false positive from Post-Compaction in regex patterns (filtering.ts). Renamed to After-Compaction. Also renamed Over-fetch comment. Zero fetch/post/http.request matches remain in the bundle. Bump to v1.0.3 if needed after merge.

chaithanyak42 and others added 5 commits April 2, 2026 21:37
Scanner flagged readFileSync + "post" pattern in same file as
"potential data exfiltration". The "post" match was a false positive
from "Post-Compaction" in regex patterns (filtering.ts line 19, 27).

Renamed to "After-Compaction" and changed "Over-fetch" comment to
"Request more candidates". Zero fetch/post/http.request matches
remain in the bundle. Scanner rule cannot fire.

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Revert the After-Compaction regex rename that broke noise filtering for
real Post-Compaction Audit messages and the cosmetic comment change.

Add safePath() containment helper to readSkillFile and readDomainOverlay
to prevent path traversal via config.domain or exported loadSkill API.

Pin mem0ai to exact 2.3.0 to reduce supply-chain risk. Bump to v1.0.3.

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Lock file updated to resolve [email protected] (pinned from ^2.3.0).

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
@whysosaket whysosaket merged commit 33d2bc4 into main Apr 2, 2026
7 checks passed
@whysosaket whysosaket deleted the fix/security-scanner-exfiltration-warning branch April 2, 2026 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants