MCP, MCP server
SAP HANA CLI
Version 4.x introduces significant changes including Express 5 migration, refactored database connection handling, and major performance improvements.
Compatibility: Not stated.
Grade D
Two or more Medium findings, or a High finding. Only try it in a sandbox.
Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.
Rescanned at commit 26cbc4ee5440, unchanged since the check below.
INSTALL_LIFECYCLE_HOOK OBFUSCATION_ENCODED_BLOB
Why this grade
- INSTALL_LIFECYCLE_HOOK Medium
A package install hook (preinstall, install, postinstall or prepare) runs a script.
package.json, line 48
postinstall - OBFUSCATION_ENCODED_BLOB Medium
Contains a long base64 shaped string in a file that should be readable.
npm-shrinkwrap.json, line 1
{
Any High, or two or more Medium findings, give D. One Medium gives C. Low findings or a security Note give B. Each code names a finding behind the letter.
Grades are a hygiene check of the source at the commit shown, on the date checked, not a security audit or a guarantee. The free directory grades are automated. Before release, a PlugVet engineer reviews every paid report and any grade we hold back, including all F grades, against the source code and the evidence we quote.
What was checked
Plain notes from the hygiene checks.
Permissions
Note
requests shell access. The manifest names this permission.
PERMISSION_SHELL_DECLARED
.github/instructions/test-utilities-reuse.instructions.md, line 143
2. **Mock external commands** (child_process.exec):
.github/instructions/test-utilities-reuse.instructions.md, line 606
// 1. Mock child_process.exec
.github/instructions/testing.instructions.md, line 290
child_process.exec('node bin/command.js --limit -5 --quiet',
Show more
.github/instructions/testing.instructions.md, line 426
- Executes command via `child_process.exec()`
bin/connectViaServiceKey.js, line 86
let child = child_process.exec
docs/05-development/architecture/utilities.md, line 518
- Child process commands use `promisify(child_process.exec)`
docs/developer-notes/test-coverage-analysis.md, line 232
child_process.exec('hana-cli tables --limit -5', (error, stdout, stderr) => {
docs/developer-notes/test-coverage-analysis.md, line 240
child_process.exec('hana-cli tables --conn nonexistent.env', (error, stdout, stderr) => {
Install and update
Concern
runs a script at install time.
INSTALL_LIFECYCLE_HOOK
package.json, line 48
postinstall
Network
Concern
can reach a host that is not written as a fixed address.
NETWORK_NO_FIXED_HOST
app/vue/src/composables/useCurrentSchema.ts, line 10
await fetch('/', {
app/vue/src/composables/useCurrentSchema.ts, line 15
const res = await fetch('/hana')
app/vue/src/composables/useDataSource.ts, line 73
const res = await fetch('/hana/analytics-ui', {
Show more
app/vue/src/composables/useHanaApi.ts, line 34
await fetch(`${baseUrl()}/`, {
app/vue/src/composables/useHanaApi.ts, line 39
const res = await fetch(`${baseUrl()}/hana/${command}`)
app/vue/src/composables/useHanaApi.ts, line 48
const res = await fetch(`${baseUrl()}${path}`)
app/vue/src/composables/useHelpTopics.ts, line 60
const res = await fetch(`/i18n/${commandName}.properties`)
app/vue/src/composables/useHelpTopics.ts, line 82
const res = await fetch(`/api/docs/${commandName}`)
Secrets
Concern
reads a credential or environment file.
SECRETS_PATH_DOTENV
.github/instructions/config-files-management.instructions.md, line 428
# Environment
.github/instructions/config-files-management.instructions.md, line 429
.env
.github/instructions/config-files-management.instructions.md, line 430
.env.local
Show more
.github/instructions/config-files-management.instructions.md, line 520
# Files
.github/instructions/package-json-scripts.instructions.md, line 321
"start": "dotenv -e .env -- node index.js",
.github/instructions/package-json-scripts.instructions.md, line 322
"start:prod": "dotenv -e .env.production -- node index.js",
.github/instructions/package-json-scripts.instructions.md, line 325
"start:test": "dotenv -e .env.test -- cross-env DEBUG=true npm start"
.github/instructions/project-overview.instructions.md, line 484
// 4. .env file (environment variables)
Agent instructions
Pass
No instruction to ignore earlier instructions or to hide a step.
Obfuscation
Concern
contains an encoded blob in a file that should be readable.
OBFUSCATION_ENCODED_BLOB
npm-shrinkwrap.json, line 1
{
app/vue/src/services/calcview/xmlParser.ts, line 1
import { XMLParser } from 'fast-xml-parser'
mcp-server/src/index.ts, line 51
'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAM0SURBVFhHxZLfT5JhFMf5E/wPdCRkhWLXXXWvN93VH
Licence
Pass
A licence file is present (LICENSE).
Maintainer activity
Pass
The latest commit is within the last 365 days.
Note
Hygiene check of commit 26cbc4ee5440. requests shell access. The manifest names this permission. runs a script at install time. can reach a host that is not written as a fixed address. reads a credential or environment file. contains an encoded blob in a file that should be readable.
Date and source
Date checked:
github.com
Commit graded: 26cbc4ee54405fead738f2be0458ec541f80207f
This link goes to the original host. PlugVet does not host or check what you download from there, and installing it is your own decision and risk.