Skip to content

release: sync develop to main (nosemgrep short-id fix)#211

Merged
buildswithpaul merged 1 commit into
mainfrom
develop
Jun 23, 2026
Merged

release: sync develop to main (nosemgrep short-id fix)#211
buildswithpaul merged 1 commit into
mainfrom
develop

Conversation

@buildswithpaul

Copy link
Copy Markdown
Owner

What

Merges the post-2.5.0 work on develop into main.

Since v2.5.0, the only change on develop is #209chore: fix nosemgrep suppressions to use short-form rule IDs. develop now descends directly from the v2.5.0 tag commit with just this one chore: on top.

Release impact

None. semantic-release evaluates commits since v2.5.0 and will see only a chore: → no version bump, no new release. This merge keeps main even with develop and carries the suppression fix forward; the actual marketplace re-audit benefit lands here.

Note

develop's history was re-synced onto main's released state before this PR (the 2.5.0 commits existed on develop under pre-rebase SHAs that the v2.5.0 tag didn't cover; left as-is, a merge would have made semantic-release re-cut the 2.5.0 changeset as 2.6.0). After re-sync, develop = main + #209.

* chore: annotate subprocess.Popen calls with nosemgrep justifications

The three subprocess.Popen sites (run_python_code, extract_file_content,
model_warmup) all use a static argv ([sys.executable, "-m", <fixed module>])
with shell=False; request data is passed as JSON over stdin, never as a
command argument. Add nosemgrep suppressions matching the existing
file-traversal annotations so the subprocess-exec rule is consistently
silenced for these reviewed call sites.

* chore: use short-form rule IDs in nosemgrep suppressions

The Frappe Cloud marketplace audit runs the bundled frappe semgrep rules,
which match on the short rule IDs (e.g. frappe-subprocess-exec,
frappe-security-file-traversal). Our suppressions used the fully-qualified
frappe-semgrep-rules.rules.security.* IDs from the CI rule source, which the
audit scanner does not match, so the suppressions had no effect there.

Rewrite every nosemgrep directive to the bare rule ID so the suppressions are
honored by both our CI/pre-commit and the marketplace audit. No code or
behavior change.

---------

Co-authored-by: Paul Clinton <paul.clinton@promantia.com>
@buildswithpaul buildswithpaul merged commit e50c5c3 into main Jun 23, 2026
13 checks passed
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.

1 participant