Skip to content

chore: Fix unscoped npx generate-odata-client command in documentation - #7030

Merged
betinacosta merged 7 commits into
mainfrom
docs/unsafe-npx-generate-odata-client-docs
Oct 27, 2026
Merged

betinacosta merged 7 commits into
mainfrom
docs/unsafe-npx-generate-odata-client-docs

Conversation

@betinacosta

@betinacosta betinacosta commented Oct 16, 2026 •

Copy link
Copy Markdown
Member

The generator documentation referenced npx generate-odata-client without a package scope. Since generate-odata-client is not registered under the SAP org on npm, this bare name resolves from the public registry — meaning developers (and AI coding agents following the docs) could silently install and execute an uncontrolled third-party package.

Fix: Replace the bare npx generate-odata-client invocation with the scoped npx @sap-cloud-sdk/generator generate-odata-client, which resolves to the package SAP owns and publishes.

Impact: Any developer or AI coding agent following the documented steps verbatim was at risk of running arbitrary code from the public registry. No changes to the package itself or its behavior — documentation only.

@betinacosta betinacosta changed the title docs: Fix unscoped npx generate-odata-client command in documentation fix: Fix unscoped npx generate-odata-client command in documentation Oct 16, 2026
tiagoek
tiagoek previously approved these changes Oct 26, 2026
@betinacosta
betinacosta enabled auto-merge (squash) October 26, 2026 13:03
@betinacosta betinacosta changed the title fix: Fix unscoped npx generate-odata-client command in documentation doc: Fix unscoped npx generate-odata-client command in documentation Oct 26, 2026
@betinacosta betinacosta changed the title doc: Fix unscoped npx generate-odata-client command in documentation chore: Fix unscoped npx generate-odata-client command in documentation Oct 26, 2026
@betinacosta
betinacosta disabled auto-merge October 27, 2026 17:08
@betinacosta
betinacosta merged commit 6651fd4 into main Oct 27, 2026
16 checks passed
@betinacosta
betinacosta deleted the docs/unsafe-npx-generate-odata-client-docs branch October 27, 2026 17:08
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.

3 participants