Is decocms safe?
- Node.js shell/command execution
- Node.js filesystem read
- Node.js network egress
What to do: Nothing here argues against installing it. Grant the capabilities it lists only if you expect the tool to need them.
decocms is an npm package analyzed by SkillTotal's deterministic static scanner. The scan found no malicious indicators. It can: delegated authentication, filesystem read, mcp tools detected, network egress, scoped identity and shell execution — capabilities are what the code can do, not a verdict on intent. Risk score 0/100 (low).
decocms 4.618.1
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 decocms'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 (6)
The component can run operating-system commands or spawn processes.
`).filter(Boolean).map((r)=>{let[s,n]=r.split("\t");if(n==="HEAD")return{type:"HEAD",hash:s};let c=/refs\/(\w+)\/(.+)/.exec(n);if(!c)throw new xs(`could not parse ${n}`,{code:"BAD_REF"});return{type:c[1]==="heads"?"branch":c[1]==="refs"?"re …Installing dependencies...`),await Bun.spawn(["bun","install"],{cwd:e,stdout:"inherit",stderr:"inherit"}).exited!==0)console.error("Failed to install dependencies."),process.exit(1);if(console.log(`Why it matters: Powerful and often legitimate — confirm the commands aren't built from untrusted input.
Fix: Confirm the command and its arguments are fully controlled and not derived from untrusted input; prefer execFile with an argument array.
The component reads files from disk.
Set AWS_CONTAINER_CREDENTIALS_FULL_URI or AWS_CONTAINER_CREDENTIALS_RELATIVE_URI.`,{logger:t.logger});let u=new URL(e);XL(u,t.logger);let i=vL.NodeHttpHandler.create({requestTimeout:t.timeout??1000,connectionTimeout:t.timeout??1000});return …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 makes outbound network requests.
async function n(e,s){const t=await fetch(e,{credentials:"include",...s});if(!t.ok){const a=await t.json().catch(()=>({}));throw new Error(a.message||a.error||`Request failed (HTTP ${t.status})`)}return await t.json()}export{n as a};import{c as d,a6 as m,e as p,an as y,K as I,q as P,b as $,j as g,B as v}from"./index-DoEtSiIe.js";import{u as C}from"./useInfiniteQuery-9vIAXgqG.js";function k(t){const e=d.c(17),{org:r}=m(),i=y();let s,n,o,c;e[0]!==r.id||e[1]!==t.configId| …import{a as u}from"./mcp-oauth-C4zfq49i.js";import{i as p}from"./mcp-oauth-BkAlBGe_.js";async function k({connectionId:n,orgId:s,orgSlug:o,persistFallback:r}){const c=new URL(`/api/${o}/mcp/${n}`,window.location.origin),i=await p({url:c.hre …import{c as y,j as s,u as $,b as S,d as v,B as N,N as w,$ as K,i as C,K as T,h as I}from"./index-DoEtSiIe.js";import{A as F}from"./agent-icon-DoabtHNW.js";import{R as P}from"./required-auth-layout-DPL2sBE1.js";import"./AlertCircle-GoAGGV0G. …import{c as O,q as $,i as S,K as b,eO as v,cM as A}from"./index-DoEtSiIe.js";const m={MethodNotFound:-32601,InvalidParams:-32602,InternalError:-32603,NotFound:-32001,Conflict:-32002,InvalidBlock:-32003,ReadOnly:-32005,Unsupported:-32006,Lim …`}const ne="home",Xe=400,Ze=800;function Ge(n){const e=n.savePath!==void 0,{org:l}=ve(),a=we(),m=Ee(ne),[v,h]=P.useState(!1),[f,r]=P.useState(!1),[s,p]=P.useState(!1),[o,L]=P.useState(!1),[u,x]=P.useState(!1),[g,S]=P.useState(!1),[w,j]=P.us …import{e7 as g,e8 as d,e9 as v}from"./index-DoEtSiIe.js";var b=class extends g{constructor(e,t){super(e,t)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind …`);function Fn(a,e){const s=e?`<style>${e}</style>`:"";return a.replaceAll("{{{slides}}}",Tn).replaceAll("{{title}}",$n).replace(/(src=")(\/deck-runtime\/)/g,`$1${window.location.origin}$2`).replace("</head>",`${s}</head>`)}function zn(a){c …import{d as V,a as N,e as H,b as z}from"./auth-IBAsOARn.js";import{bJ as M}from"./index-DoEtSiIe.js";function D(){return window.location.origin}function C(){try{const e=window.location.hostname;return e==="localhost"||e.endsWith(".localhost …import{et as e}from"./index-DoEtSiIe.js";import{a as c}from"./mcp-oauth-BkAlBGe_.js";async function i(n,o){const t=await(await fetch(`/api/${encodeURIComponent(n)}/connections/${o}/oauth-token/status`,{credentials:"include"}).catch(()=>null …import{c as p,b as g,K as j,e as w,j as t,B as h,i as y}from"./index-DoEtSiIe.js";import{A as N}from"./auth-split-layout-zr8fqIYk.js";import{A as _}from"./auth-entry-Bk_VrJBw.js";import"./Fingerprint04-DlIWxzRc.js";import"./backoff-CrEUbyZT …import{c as ie,j as t,a as ye,h as ce,b as de,i as Ce,K as Oe,r as P,B as Ne,e as pe,o as ve,C as ze,I as Le,m as ae,t as he}from"./index-DoEtSiIe.js";import{R as _e}from"./required-auth-layout-DPL2sBE1.js";import{A as oe}from"./auth-split- …import{c as G,r as H,e as A,j as t,o as I,B as L,h as B}from"./index-DoEtSiIe.js";import{s as K}from"./Plus-BoPsX_T8.js";async function T(r,e,p){const o=await fetch(r,{method:"POST",credentials:"include",headers:{"Content-Type":"application …return fetch(src, {function(el) { return el.href ? fetch(el.href).catch(function() {}) : null; }`)}function fc(t,e,s=320,n=44,o=12){const{x:c,y:d}=t,{width:i,height:a}=e,l=Math.max(o,Math.min(c-s/2,i-s-o)),f=d/a>.68?Math.max(o,d-n-18):Math.min(d+18,a-n-o);return{leftPct:l/i*100,topPct:f/a*100}}function pc(t){const e=le.c(45),{element: …import{s as ye}from"./session-runtime-CZKHty5X.js";import{c as w,K as ie,i as ae,b as se,j as f,h as xe,r as H,m as re,I as le,a_ as be,w as je,x as Pe,B as ke,v as ve,D as Ce}from"./index-DoEtSiIe.js";import{b as Se}from"./UserCheck01-CA8k …import{b as S}from"./sandbox-url-D3mC8qhT.js";import{aJ as h,bF as g,aK as c,dH as O}from"./index-DoEtSiIe.js";function s(e,n){return S(e,`git/${n}`)}class l extends Error{constructor(n,t){super(n),this.status=t,this.name="SandboxGitError"} …import{q as Q,b as q,e as v,K as l}from"./index-DoEtSiIe.js";import{u as E}from"./use-voice-input-DJjQBO4e.js";import{x as T,c as x,u as B,v as H,aq as U,as as j,au as A,aF as F,aj as O,ax as R,Z as V,X as W,Y as L,aE as Y,aD as G,y as J,$ …import{c as s,i as m,K as c}from"./index-DoEtSiIe.js";function l(){const e=s.c(5);let t;e[0]===Symbol.for("react.memo_cache_sentinel")?(t={queryKey:c.deploymentAdminMe(),queryFn:d,staleTime:1/0,retry:2},e[0]=t):t=e[0];const{data:a,isLoading …import{q as T,b as q,e as j,K as C,fQ as B}from"./index-DoEtSiIe.js";import{u as F}from"./use-voice-input-DJjQBO4e.js";import{x as H,c as S,u as U,v as J,aj as N,ax as R,Z as W,X as A,Y as L,aq as Y,ar as g,as as z,au as G,aF as X,aE as Z,a …import{c as F,a6 as w,K as y,i as $,q as k,e as P}from"./index-DoEtSiIe.js";import{u as x}from"./useInfiniteQuery-9vIAXgqG.js";function G(n){return n.contentHash??`${n.size}-${n.updatedAt}`}function p(n,e,t,s){const i=new URLSearchParams(s) …import{c as h,j as u,o as C,b as M,r as A,B as S,a as p,t as f,M as $,i as _,K as z,cM as D,au as E,aw as I,d as G}from"./index-DoEtSiIe.js";import{s as q}from"./XClose-BUxhnZ3x.js";import{S as F}from"./thread-intent-R2KI8ie_.js";const K={s …import{c as u,i as S,q as r,e as y,K as c}from"./index-DoEtSiIe.js";async function f(i,a,e){const s=await fetch(i,a);if(!s.ok){const t=await s.json().catch(()=>null);throw new Error(t?.error||e)}return s.json()}function q(i,a){const e=u.c(8 …import{c as O,a6 as W,dZ as y,bx as B,i as N,K as F}from"./index-DoEtSiIe.js";import{m as J}from"./match-site-slug-config-B47_xZCi.js";import{u as K}from"./use-file-configs-J6lDtEfO.js";import{a as U}from"./use-blog-view-DJnS2ipo.js";import …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. (3 occurrence(s) shown as evidence).
import{bK as v,bL as $,bM as W,bN as H,bO as V,bP as y,bQ as D,bR as x,bS as E,bT as q,bU as j,bV as N,bW as B,bX as Z,bY as F}from"./index-DoEtSiIe.js";function G(e){const t=typeof e=="string"?new URL(e):new URL(e.href);return t.hash="",t} …import{d as V,a as N,e as H,b as z}from"./auth-IBAsOARn.js";import{bJ as M}from"./index-DoEtSiIe.js";function D(){return window.location.origin}function C(){try{const e=window.location.hostname;return e==="localhost"||e.endsWith(".localhost …`),HH=!0}throw new Mw.CredentialsProviderError("AWS_PROFILE is set, skipping fromEnv provider.",{logger:t.logger,tryNextLink:!0})}return t.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromEnv"),d6(t)()},async(e)=>{t.l …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.
Reference: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.html`,{tryNextLink:!1,logger:e});return t};var jy=h(()=>{Fd=y(St(),1)});var To,Ao,JPt=(t={})=>async({callerClientConfig:e}={})=>{t.logger?.debug("@aws-sdk/credent …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.
decocms tools call <name> --org <slug> [-d <json|@file|@->]`,t$t,be=(t)=>typeof t==="object"&&t!==null&&!Array.isArray(t),r$t=(t)=>t.trim().replace(/\s+/g," "),s$t,i$t=(t)=>[...new Set(t)];var CY=h(()=>{an();t$t=D0.object({tools:D0.array(D0 …decocms tools call <name> --org <slug> [-d <json|@file|@->]`,t$t,be=(t)=>typeof t==="object"&&t!==null&&!Array.isArray(t),r$t=(t)=>t.trim().replace(/\s+/g," "),s$t,i$t=(t)=>[...new Set(t)];var CY=h(()=>{an();t$t=D0.object({tools:D0.array(D0 …`),1}async function B$t(t,e,r,s,n,c){let o=`${new URL(t.session.target).host}/${t.org}/${r}`,u=(S)=>t.fetch(`/api/${encodeURIComponent(t.org)}/sandbox/${encodeURIComponent(S.virtualMcpId)}/${encodeURIComponent(S.branch)}/bash?thread=${encod …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 decocms.
Maintain decocms?
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 →