SkillTotal

Is axios safe?

No malicious indicators - review capabilities before installing
Notable — review in context (capabilities are not malware):
  • Node.js network egress
  • npm prepare hook
  • Server bound to all network interfaces

axios is an AI npm_package analyzed by SkillTotal's deterministic static scanner. The scan found no malicious indicators, though 3 risky constructs are reported for review. It can: install time execution and network egress — capabilities are what the code can do, not a verdict on intent. Risk score 10/100 (low).

axios 1.20.0

npm_package · npm:axios
LOW
10
/ 100 risk score
Snapshot · scanned Sep 24, 2026 · axios@1.20.0 · engine 0.53.0 / ruleset 60

Automated static-analysis result. It can contain false positives and false negatives, and is not a claim about the intent of axios's authors. Report a false positive.

Capabilities — what this component can do (not a risk score):
install time executionnetwork egress

Behavioral traits

How this component maps to the CSA agentic threat model. Descriptive — it never affects the risk score.

Network egress
Interaction & Communication / Direct Communication
Network exposure
Interaction & Communication
Supply-chain provenance risk
General Protections / Supply Chain

Findings (3)

MEDIUMServer bound to all network interfacesST-EXPOSE-BIND

A server is bound to all network interfaces (0.0.0.0), not just your own machine.

const LOOPBACK_HOSTNAMES = new Set(['localhost', '0.0.0.0']);

Why it matters: Without authentication, other hosts on the network can reach it.

Fix: Bind to 127.0.0.1 for local-only use, or require authentication and restrict access if remote exposure is intended.

MEDIUMnpm prepare hookST-INSTALL-NPM-PREPARE

package.json has a 'prepare' script (runs on git/local installs and before publishing).

"prepare": "husky"

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.

MEDIUMNode.js network egressST-NET-NODE

The component makes outbound network requests.

(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.axios = factory());
// utils is a library of generic helper functions non-specific to axios
}("axios@".concat(Math.random()), []) : function (cb) {
// but axios < v1.13.3 had it as enumerable
* This allows axios to run in a web worker, and react-native.
* `allows axios to run in a web worker`, the WebWorker will still be
* This leads to a problem when axios post `FormData` in webWorker
headers.set('User-Agent', 'axios/' + VERSION, false);
// Allow for axios('example/url'[, config]) a la fetch API
// Copy axios.prototype to instance
var axios = createInstance(defaults);
axios.Axios = Axios;
axios.CanceledError = CanceledError;
axios.CancelToken = CancelToken;
axios.isCancel = isCancel;
axios.VERSION = VERSION;
axios.toFormData = toFormData;
axios.AxiosError = AxiosError;
axios.Cancel = axios.CanceledError;
axios.all = function all(promises) {
axios.spread = spread;
axios.isAxiosError = isAxiosError;
axios.mergeConfig = mergeConfig;
axios.AxiosHeaders = AxiosHeaders;
axios.formToJSON = function (thing) {

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.

Check your own component

Run the same evidence-backed scan on any MCP server, agent skill, or package.

Scan your own component

How we determine this: deterministic static analysis (regex + AST), evidence-anchored, no code execution. Methodology →