Tagged articles
61 articles
Page 1 of 1
Code Mala Tang
Code Mala Tang
Apr 4, 2026 · Information Security

How AI‑Assisted Social Engineering Compromised the Popular Axios Module

A recent GitHub issue reveals that attackers used AI‑assisted social engineering—posing as a company founder, creating a fake Slack workspace, arranging Microsoft Teams meetings, and tricking the maintainer into installing a malicious npm package—to inject a trojan into the widely used Axios library, bypassing 2FA and publishing malicious code.

AIaxiosnpm security
0 likes · 3 min read
How AI‑Assisted Social Engineering Compromised the Popular Axios Module
Code Mala Tang
Code Mala Tang
Mar 31, 2026 · Information Security

How Malicious Axios Versions Hijacked NPM: A Deep Supply‑Chain Attack Analysis

StepSecurity uncovered a sophisticated supply‑chain attack on the popular Axios HTTP client where compromised maintainer credentials were used to publish malicious versions that injected a hidden postinstall RAT, evaded detection, and executed platform‑specific payloads before self‑destructing, prompting detailed forensic and remediation guidance.

Harden-RunnerRATaxios
0 likes · 31 min read
How Malicious Axios Versions Hijacked NPM: A Deep Supply‑Chain Attack Analysis
Architecture Digest
Architecture Digest
Aug 27, 2025 · Backend Development

How to Implement Seamless Token Refresh in Spring Boot & Axios

This article explains how to implement seamless, invisible token refresh in a Spring Boot authentication server and a Vue/axios frontend, covering gateway interceptors, JWT expiration handling, Axios response interceptors, timer‑based proactive refresh, and complete code examples for both backend and client sides.

BackendJWTaxios
0 likes · 23 min read
How to Implement Seamless Token Refresh in Spring Boot & Axios
Full-Stack Cultivation Path
Full-Stack Cultivation Path
Aug 27, 2025 · Frontend Development

How to Supercharge Axios in Vue 3 with TanStack Query

This article explains how TanStack Query Vue transforms the plain Axios HTTP client into a full‑featured data layer for Vue 3, offering built‑in caching, pagination, request cancellation, optimistic updates, and devtools, with concrete code examples and side‑by‑side comparisons to pure Axios usage.

Data FetchingTanStack QueryVue3
0 likes · 8 min read
How to Supercharge Axios in Vue 3 with TanStack Query
JavaScript
JavaScript
Jul 9, 2025 · Information Security

How to Achieve a Seamless “Never‑Logout” Experience with Token Refresh

This article explains why short‑lived access tokens cause user interruptions, introduces the dual‑token authentication model with refresh tokens, and provides a complete Axios interceptor implementation that transparently renews tokens, handles concurrency, and gracefully logs out when refresh fails.

AuthenticationSecurityToken
0 likes · 9 min read
How to Achieve a Seamless “Never‑Logout” Experience with Token Refresh
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Feb 27, 2025 · Frontend Development

Token Silent Refresh in Frontend Development: Concepts, Strategies, and Implementation

This article explains the fundamentals of token‑based authentication, the drawbacks of fixed token lifetimes, and presents multiple silent‑refresh techniques—including double‑token mechanisms, front‑end timers, server‑side proactive refresh, and concurrency‑safe lock strategies—along with practical code examples and performance considerations for high‑concurrency scenarios.

JWTaxiossilent refresh
0 likes · 15 min read
Token Silent Refresh in Frontend Development: Concepts, Strategies, and Implementation
Full-Stack Cultivation Path
Full-Stack Cultivation Path
Nov 11, 2024 · Frontend Development

Why Alova.JS Offers a Lighter, Simpler Alternative to Axios

Alova.JS is a lightweight HTTP request library that supports multiple adapters, cross‑framework usage, and TypeScript, offering a smaller bundle size (≈30% of axios), a concise API, and high‑performance request strategies, making it a compelling replacement for axios in modern web projects.

HTTPJavaScriptTypeScript
0 likes · 11 min read
Why Alova.JS Offers a Lighter, Simpler Alternative to Axios
Architect
Architect
Sep 16, 2024 · Backend Development

Seamless Token Refresh in Spring Boot & Axios: Full Implementation Guide

This article explains how to implement invisible token refresh for authentication servers using Spring Boot gateway filters, JWT handling, Axios interceptors, and a client‑side timer, compares client‑ and server‑side approaches, and provides complete code examples and practical recommendations.

AuthenticationJWTSpring Boot
0 likes · 21 min read
Seamless Token Refresh in Spring Boot & Axios: Full Implementation Guide
Java Architect Essentials
Java Architect Essentials
Jul 30, 2024 · Backend Development

Transparent Token Refresh: Client‑Side and Server‑Side Implementations

This article explains how to implement seamless, invisible token refresh for authentication systems, covering client‑side strategies using Axios interceptors and timers, server‑side gateway filters with Spring Boot, code examples for detecting token expiration, obtaining new tokens, and choosing between client and server approaches based on security and performance considerations.

AuthenticationJWTToken
0 likes · 23 min read
Transparent Token Refresh: Client‑Side and Server‑Side Implementations
Top Architect
Top Architect
Jul 25, 2024 · Backend Development

Implementing Token Silent Refresh with Spring Boot Gateway, Axios Interceptor, and Periodic Timer Monitoring

This article explains how to achieve seamless token silent refresh by handling expiration on the server side with a Spring Boot 3 gateway filter, on the client side with an Axios response interceptor, and by using a TypeScript timer to proactively refresh tokens before they expire, while also discussing the trade‑offs between server‑ and client‑side implementations.

JavaScriptaxiosrefresh()
0 likes · 24 min read
Implementing Token Silent Refresh with Spring Boot Gateway, Axios Interceptor, and Periodic Timer Monitoring
Java Tech Enthusiast
Java Tech Enthusiast
Jul 6, 2024 · Information Security

Seamless Token Auto‑Refresh with Spring Cloud Gateway and Axios

The article presents a full‑stack solution for seamless token auto‑refresh, combining a Spring Cloud Gateway GlobalFilter that signals expiration with a custom 511 status, Axios response interceptors and a TypeScript timer on the client, plus server‑side token metadata, allowing developers to choose server‑centric or client‑centric refresh strategies.

SpringBootTokenTypeScript
0 likes · 21 min read
Seamless Token Auto‑Refresh with Spring Cloud Gateway and Axios
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jun 19, 2024 · Frontend Development

Preventing Duplicate API Requests in Front‑end Development with Debounce, Throttle, Loading Locks, and Axios CancelToken

The article explains why repeated button clicks or searches cause duplicate API calls, discusses why debounce/throttle are not ideal, and presents three practical solutions—loading state locking, request cancellation with Axios CancelToken, and related code examples—to efficiently avoid redundant requests in Vue applications.

APIDebounceThrottle
0 likes · 7 min read
Preventing Duplicate API Requests in Front‑end Development with Debounce, Throttle, Loading Locks, and Axios CancelToken
政采云技术
政采云技术
Nov 29, 2023 · Frontend Development

API Failure Resilience Using CDN and IndexedDB Caching

The article presents a comprehensive strategy for handling API outages by storing data locally with IndexedDB, synchronizing updates through a CDN, and implementing Axios interceptors and Node‑based scheduled jobs to ensure seamless user experience without white‑screen failures.

APICDNIndexedDB
0 likes · 12 min read
API Failure Resilience Using CDN and IndexedDB Caching
New Oriental Technology
New Oriental Technology
Nov 17, 2023 · Frontend Development

axios introduction

Axios is a popular HTTP client for JavaScript that simplifies making HTTP requests, supports promise-based APIs, and offers features like request/response interceptors and automatic JSON data transformation.

HTTP clientJavaScriptPromise
0 likes · 9 min read
axios introduction
DaTaobao Tech
DaTaobao Tech
Mar 27, 2023 · Frontend Development

Building a Vue + SpringBoot Management System: Setup, Architecture, and Deployment

This step‑by‑step guide shows backend developers how to create a small management system with Vue 3, TypeScript, Vite, and SpringBoot, covering the technology stack, development‑tool installation, project scaffolding, core components, routing, Pinia state, Axios API wrappers, TypeScript interfaces, environment configuration, and deployment.

SpringBootTypeScriptVite
0 likes · 22 min read
Building a Vue + SpringBoot Management System: Setup, Architecture, and Deployment
KooFE Frontend Team
KooFE Frontend Team
Dec 18, 2022 · Backend Development

How to Build a WeChat Bridge API for Login Using Node.js & TypeScript

This guide explains how to create a bridge API that enables login and message interaction with WeChat by reverse‑engineering client and server protocols, covering UUID acquisition, QR code handling, login status polling, cookie management, and data initialization using Node.js, TypeScript, and Axios.

Bridge APINode.jsTypeScript
0 likes · 19 min read
How to Build a WeChat Bridge API for Login Using Node.js & TypeScript
Sohu Tech Products
Sohu Tech Products
Nov 17, 2022 · Frontend Development

A Comprehensive Guide to Building a Flexible Axios Wrapper with Interceptors, Request Cancellation, and TypeScript in Vue3

This article demonstrates how to create a reusable Axios wrapper for Vue3 projects, covering basic class‑based encapsulation, flexible global and instance interceptors, custom request configuration types, request cancellation management, and practical testing examples, all written in TypeScript.

axiosfrontendinterceptors
0 likes · 13 min read
A Comprehensive Guide to Building a Flexible Axios Wrapper with Interceptors, Request Cancellation, and TypeScript in Vue3
21CTO
21CTO
Oct 12, 2022 · Frontend Development

Why Axios v1.1.0 Broke Thousands of Sites and How to Fix It

An overview of the Axios 1.1.0 release bug that corrupted the package, caused axios.get to become undefined in browsers, and the quick patches (v1.1.1, v1.1.2) that resolved the issue for developers worldwide.

HTTP clientJavaScriptVersion 1.1.0
0 likes · 4 min read
Why Axios v1.1.0 Broke Thousands of Sites and How to Fix It
JavaScript
JavaScript
Oct 11, 2022 · Frontend Development

Axios v1.1.0 Bug Causes TypeError – Upgrade to v1.1.1/1.1.2 Now

A recent Axios v1.1.0 release introduced a critical bug where calling axios.get triggers a TypeError, breaking most requests, but the issue has been resolved in the subsequent v1.1.1 and v1.1.2 patches, so developers should promptly update to the latest version.

BugFixaxiosupgrade
0 likes · 1 min read
Axios v1.1.0 Bug Causes TypeError – Upgrade to v1.1.1/1.1.2 Now
37 Interactive Technology Team
37 Interactive Technology Team
Oct 10, 2022 · Frontend Development

AOP Techniques for Ajax and Jsonp in Front-End Development

The article explains how to use Aspect‑Oriented Programming to globally intercept and rewrite Ajax and JSONP requests—both native and framework based—by extending Function.prototype, overriding DOM methods, and employing ajax‑hook and Axios interceptors, culminating in a runnable demo that redirects traffic from a‑domain to b‑domain.

HookJSONPJavaScript
0 likes · 19 min read
AOP Techniques for Ajax and Jsonp in Front-End Development
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 8, 2022 · Frontend Development

Understanding the Singleton Pattern in JavaScript: Concepts, Implementations, and Real‑World Applications

This article explains the singleton design pattern, shows standard and lazy implementations in JavaScript with code examples, discusses reducing global variable pollution, and demonstrates practical usage in popular front‑end libraries such as Vuex, Ant Design message, and Axios request cancellation.

JavaScriptSingletonVuex
0 likes · 11 min read
Understanding the Singleton Pattern in JavaScript: Concepts, Implementations, and Real‑World Applications
TAL Education Technology
TAL Education Technology
Jul 21, 2022 · Frontend Development

Front‑end Performance Monitoring and Optimization Techniques

This article explains the concepts of controllable and uncontrollable latency in front‑end performance, outlines methods for collecting static, dynamic, and API performance data using network waterfall, Chrome Performance, console timing, and Performance Timing API, and provides practical code examples and optimization strategies to improve user experience.

Performance APIWebaxios
0 likes · 14 min read
Front‑end Performance Monitoring and Optimization Techniques
ByteFE
ByteFE
Nov 19, 2021 · Frontend Development

Editor's Picks: Curated Technical Articles on Frontend Development

This editor's pick showcases a variety of technical articles on frontend development, including mini‑program integration, rich text editor evolution, Rust for JavaScript infrastructure, WebAssembly use cases, web screen recording, Webpack scope hoisting, Node.js multiprocess logging, JavaScript debugging, and Axios source code analysis.

Debuggingaxiosnodejs
0 likes · 6 min read
Editor's Picks: Curated Technical Articles on Frontend Development
DeWu Technology
DeWu Technology
Sep 24, 2021 · Frontend Development

Canceling Duplicate HTTP Requests in Front-End Development

The article explains how front‑end developers can prevent duplicate or stale HTTP calls by identifying identical requests with a unique key, then canceling them using Axios’s CancelToken or Fetch’s AbortController—integrated via React hooks, Axios interceptors, and route‑change cleanup.

HTTPJavaScriptReact
0 likes · 10 min read
Canceling Duplicate HTTP Requests in Front-End Development
Programmer DD
Programmer DD
Jun 26, 2021 · Backend Development

Implementing a Spring Boot Anti‑Crawler Filter with kk‑anti‑reptile

This article explains how to integrate the kk‑anti‑reptile anti‑crawler component into a Spring Boot application, covering system requirements, filter workflow, rule configuration, Maven setup, Redis and Apollo settings, as well as front‑end handling of the 509 response and captcha verification.

Captchaanti‑crawleraxios
0 likes · 7 min read
Implementing a Spring Boot Anti‑Crawler Filter with kk‑anti‑reptile
JD Tech
JD Tech
Jun 8, 2021 · Frontend Development

Design and Usage of JD Logistics Gateway Frontend Plugin Based on Axios

This article explains the design, configuration, and usage of the JD Logistics gateway frontend plugin built on Axios, detailing how it enables zero‑cost integration across multiple environments and account types while providing extensible request/response handling and customizable login redirects.

APIConfigurationJavaScript
0 likes · 9 min read
Design and Usage of JD Logistics Gateway Frontend Plugin Based on Axios
政采云技术
政采云技术
Feb 23, 2021 · Frontend Development

Capturing and Handling Frontend Exceptions

This article explains common frontend exceptions such as UI glitches, script errors, and network failures, classifies JavaScript error types, demonstrates handling techniques using try‑catch, finally, window.onerror, event listeners, Promise rejection handling, and framework‑specific solutions like React error boundaries, Vue errorHandler, and Axios interceptors.

Error HandlingReactaxios
0 likes · 18 min read
Capturing and Handling Frontend Exceptions
php Courses
php Courses
Feb 19, 2021 · Backend Development

Resolving CORS withCredentials Issues in ThinkPHP 5.1

This guide explains how to resolve CORS withCredentials errors in ThinkPHP 5.1 by configuring Axios on the frontend, setting appropriate Access‑Control headers on the backend, creating a CrossDomain middleware, and handling preflight OPTIONS requests for methods like DELETE and PUT.

BackendCORSPHP
0 likes · 6 min read
Resolving CORS withCredentials Issues in ThinkPHP 5.1
360 Tech Engineering
360 Tech Engineering
Dec 18, 2020 · Frontend Development

Cancelling Duplicate Axios Requests and Building a Reusable Wrapper

This guide explains the scenarios that cause duplicate HTTP requests in web applications, demonstrates two Axios cancellation techniques, and shows how to encapsulate the logic in a reusable module with request tracking, interceptor integration, npm linking, and open‑source contribution steps.

JavaScriptaxioscancellation
0 likes · 9 min read
Cancelling Duplicate Axios Requests and Building a Reusable Wrapper
Fulu Network R&D Team
Fulu Network R&D Team
Oct 22, 2020 · Frontend Development

Frontend Technology Stack and Project Structure Guide for React‑Based Merchant Applications

This article introduces the essential frontend technology stack—including React, Webpack, Ant Design, DVA, ES6, and Axios—explains the typical project directory layout, walks through source code organization, and provides practical steps and tips for building merchant‑side applications with a React‑DVA architecture.

Ant DesignDVAReact
0 likes · 15 min read
Frontend Technology Stack and Project Structure Guide for React‑Based Merchant Applications
Top Architect
Top Architect
Jul 8, 2020 · Information Security

kk-anti-reptile: Spring Boot Anti‑Crawler Component and Integration Guide

The article introduces kk-anti-reptile, a Spring Boot‑based anti‑crawler component that uses servlet filters, Redis, and configurable rule chains (IP and User‑Agent), explains its workflow, shows Maven and property configurations, and provides front‑end Axios interception code for handling 509 responses.

Backend DevelopmentSpring Bootanti‑crawler
0 likes · 6 min read
kk-anti-reptile: Spring Boot Anti‑Crawler Component and Integration Guide
Beike Product & Technology
Beike Product & Technology
Jun 14, 2019 · Frontend Development

Understanding Axios CancelToken Mechanism and Solving Data Mixing When Rapidly Switching Vue H5 Routes

This article analyzes a bug where rapid route switching in a Vue H5 project caused data from different routes to mix, explains how Axios CancelToken works, shows the implementation of request cancellation via interceptors, and discusses deeper insights and further possibilities for frontend developers.

CancelTokenInterceptorPromise
0 likes · 11 min read
Understanding Axios CancelToken Mechanism and Solving Data Mixing When Rapidly Switching Vue H5 Routes
Programmer DD
Programmer DD
Jun 10, 2018 · Information Security

How to Secure API Calls with End-to-End Encryption in Spring Boot and JavaScript

This guide explains practical methods to protect API data, covering HTTPS, request signing, SSL pinning, symmetric and asymmetric encryption, a Spring Boot starter for automatic request/response encryption, and JavaScript/Axios interceptors for client‑side encryption and decryption.

AES encryptionAPI SecurityHTTPS
0 likes · 11 min read
How to Secure API Calls with End-to-End Encryption in Spring Boot and JavaScript
Senior Brother's Insights
Senior Brother's Insights
Jun 8, 2018 · Information Security

Secure API Calls with Spring Boot Starter Encrypt and JavaScript AES

This article explains how to protect data exchanged between front‑end and back‑end services by using HTTPS, request signing, SSL pinning, and a Spring Boot starter that transparently encrypts/decrypts all API traffic with AES, complemented by JavaScript AES utilities and Axios interceptors for front‑end encryption.

AES encryptionAPI SecurityBlockchain
0 likes · 11 min read
Secure API Calls with Spring Boot Starter Encrypt and JavaScript AES
JD.com Experience Design Center
JD.com Experience Design Center
Nov 23, 2017 · Frontend Development

How I Solved Real‑World Vuex Challenges in a Mobile Maintenance SPA

This article walks through the development of a Vue‑based single‑page application for the JD Car Maintenance project, covering why Vuex was chosen, its core concepts, store implementation, state persistence, cross‑origin handling, Axios/JSONP requests, code refactoring, lazy loading, and component extraction to improve maintainability and performance.

SPAVueVuex
0 likes · 14 min read
How I Solved Real‑World Vuex Challenges in a Mobile Maintenance SPA