Is FlowiseAI/Flowise safe?
- npm install-time lifecycle hook
- Node.js filesystem read
- Node.js filesystem write/delete
What to do: Nothing here argues against installing it. Grant the capabilities it lists only if you expect the tool to need them.
FlowiseAI/Flowise is a GitHub repository analyzed by SkillTotal's deterministic static scanner. The scan found no malicious indicators. It can: delegated authentication, filesystem read, filesystem write, install time execution, mcp tools detected, network egress and scoped identity — capabilities are what the code can do, not a verdict on intent. Risk score 0/100 (low).
flowise 3.1.4
Get notified when this component changes
Change alerts aren't live yet. Leave your email and we'll let you know when they launch. We use it only for this and delete it on request.
Automated static-analysis result. It can contain false positives and false negatives, and is not a claim about the intent of FlowiseAI/Flowise's authors. Report a false positive.
Behavioral traits
How this component maps to the CSA agentic threat model. Descriptive — it never affects the risk score.
Findings (8)
package.json runs scripts automatically when the package is installed.
"postinstall": "husky install",
Why it matters: Install scripts are a favorite supply-chain foothold — they execute on every machine that installs the package.
Fix: Inspect the hook command. Install-time scripts are a common supply chain execution vector; ensure they do nothing beyond a documented build step.
The component reads files from disk.
const models = await fs.promises.readFile(modelFile, 'utf8')
const models = await fs.promises.readFile(getModelsJSONPath(), 'utf8')
return fs.readFileSync(filePath)
return fs.readFileSync(fileInStorage)
return fs.readFileSync(targetPath)
return fs.createReadStream(filePath)
return fs.createReadStream(filePath)
return await fs.promises.readFile(getEncryptionKeyPath(), 'utf8')
const content = await fs.promises.readFile(checkPath, 'utf8')
const publicKey = fs.readFileSync(path.join(__dirname, '../', 'src/enterprise/license/public.pem'), 'utf8')
return fs.readFileSync(userTemplatePath, 'utf8')
return fs.readFileSync(path.join(__dirname, '../', 'emails', defaultTemplateName), 'utf8')
const passwordResetTemplateSource = fs.readFileSync(path.join(__dirname, '../', 'emails', 'workspace_user_reset_password.hbs'), 'utf8')
const fileData = fs.readFileSync(filePath)
input: fs.createReadStream(filePath)
const fileData = fs.readFileSync(filePath)
const fileData = fs.readFileSync(filePath)
const fileData = fs.readFileSync(filePath)
const content = await fs.promises.readFile(packagejsonPath, 'utf8')
return await fs.promises.readFile(getEncryptionKeyPath(), 'utf8')
return await fs.promises.readFile(filePath, 'utf8')
const content = await fs.promises.readFile(packagejsonPath, 'utf8')
Why it matters: Usually legitimate, but worth confirming it can't be steered into reading sensitive files.
Fix: Confirm which files are read and that paths cannot be influenced by untrusted input to reach sensitive locations.
The component writes or deletes files on disk.
fs.writeFileSync(tempFilePath, fileData)
fs.writeFileSync(tempFilePath, fileBuffer)
fs.rmSync(tempDir, { recursive: true, force: true })fs.unlinkSync(tempFilePath)
fs.writeFileSync(tempFilePath, buffer)
fsDefault.writeFileSync(filePath, objectData)
fsDefault.rmSync(tempDir, { recursive: true })fsDefault.writeFileSync(filePath, objectData)
fsDefault.rmSync(tempDir, { recursive: true, force: true })fsDefault.unlinkSync(tempFilePath)
fsDefault.writeFileSync(tempFilePath, buffer)
fs.writeFileSync(filePath, bf)
fs.writeFileSync(filePath, bf)
fs.writeFileSync(filePath, bf)
fs.unlinkSync(fallbackPath)
fs.unlinkSync(fallbackPath)
fs.rmdirSync(dirPath)
fs.unlinkSync(filePath)
fs.unlinkSync(file)
await fs.promises.rm(directory, { recursive: true })await fs.promises.rm(directory, { recursive: true })await fs.promises.unlink(directory)
await fs.promises.writeFile(defaultLocation, encryptKey)
await fs.promises.writeFile(filePath, value)
Why it matters: Usually legitimate, but worth confirming the paths can't be controlled by untrusted input.
Fix: Confirm which files are written/deleted and that paths cannot be influenced by untrusted input.
package.json has a 'prepare' script (runs on git/local installs and before publishing).
"prepack": "pnpm build && oclif manifest && oclif readme",
Why it matters: Usually a build step, but confirm it doesn't fetch or run remote code.
Fix: Usually a legitimate build step; confirm it only builds and does not fetch or execute remote code.
The component makes outbound network requests.
import type { InternalAxiosRequestConfig } from 'axios'import type { AxiosInstance } from 'axios'import axios, { AxiosInstance } from 'axios'const client = axios.create({import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios'import type { AxiosInstance } from 'axios'import type { AxiosInstance } from 'axios'import type { AxiosInstance } from 'axios'import type { AxiosInstance } from 'axios'import type { AxiosInstance } from 'axios'import type { AxiosInstance } from 'axios'import axios from 'axios'
let response = await axios.post(`${this.baseURL}/api/v1/prediction/${chatflowId}`, postData, axiosConfig)const response = await fetch(url, options);
libraries: ['axios'],
import { AxiosRequestConfig } from 'axios'import { AxiosRequestConfig, Method, ResponseType } from 'axios'const response = await fetch(`https://api.openai.com/v1/containers/${containerId}/files/${fileId}/content`, {const response = await fetch(`https://api.openai.com/v1/files/${fileObj.id}/content`, {const response = await fetch(`https://api.vectara.io/v1/query`, {return await fetch(`${this.config.baseUrl}/v1/chat/completions`, requestOptions)import { AxiosRequestConfig } from 'axios'import axios from 'axios'
const response = await axios.post(url, data, { headers })if (axios.isAxiosError(error)) {Why it matters: Usually legitimate, but confirm the destinations are expected and no sensitive data leaves.
Fix: Confirm the destination hosts are expected and that no sensitive data is sent off-host.
An OAuth 2.0 / OpenID Connect delegated-authentication flow was detected (authorization-code / refresh-token / token-exchange grant, an OIDC authorize/discovery endpoint or id_token, or a delegation library). Tools authenticate with the end user's delegated, scoped credentials rather than a long-lived embedded service credential. (7 occurrence(s) shown as evidence).
grant_type: 'refresh_token',
grant_type: 'refresh_token',
grant_type: 'refresh_token',
grant_type: 'refresh_token',
grant_type: 'authorization_code',
grant_type: 'refresh_token',
'id_token',
Fix: Delegated auth is a lower-blast-radius execution context than an embedded static credential. Confirm the requested scopes are minimal and that tokens are never logged or forwarded off-host.
A short-lived, scoped, assumed identity was detected - an STS AssumeRole / session token, a cloud managed or workload identity, an impersonated service account, a projected Kubernetes service-account token, or a dynamic-secret broker. Tools authenticate with a narrowly-scoped credential that expires, rather than a long-lived embedded service credential. (4 occurrence(s) shown as evidence).
'The Amazon Resource Name (ARN) of the IAM role to assume. When provided, Flowise will use AWS STS AssumeRole to obtain temporary credentials. Leave empty to use static credentials directly.',
throw new Error('STS AssumeRole returned incomplete credentials')if (error instanceof Error && error.message === 'STS AssumeRole returned incomplete credentials') {logger.error(`[AWS STS] AssumeRole failed for role "${roleArn}": ${rawMessage}`)Fix: A scoped, short-lived identity is the smallest-blast-radius execution context. Confirm the assumed role / requested scope grants only the permissions the tool needs, and that the token lifetime is minimal.
An MCP tool surface (manifest or tool definitions) was found.
const mcpServer = new McpServer(
const transport = new StreamableHTTPServerTransport({Why it matters: Just context — review which tools it offers and their permissions.
Fix: Review the declared MCP tools and their permissions.
How attackers abuse these capabilities
Interactive labs on the attack class behind the rules above. They show the technique, not anything found in FlowiseAI/Flowise.
Maintain FlowiseAI/Flowise?
The free Claude Code plugin scans each npm, PyPI or MCP package with this report's open-source engine before the install command runs. It runs on your machine and needs no account.
Check your own component
Run the same evidence-backed scan on any MCP server, agent skill, or package.
Scan your own componentHow we determine this: deterministic static analysis (regex + AST), evidence-anchored, no code execution. Methodology →