
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
secure-client-store
Advanced tools
Universal client-side AES-GCM encryption for browsers & Node (works with React/Vue/Angular)
Universal TypeScript library for AES-256-GCM client-side encryption — works seamlessly in Browsers and Node.js.
Compatible with React, Vue, and Angular.
Ideal for securely storing sensitive client-side data.
initializeKey, encrypt, decryptnpm install secure-client-store
const store = new SecureStore();
await store.initializeKey();
const encrypted = await store.encrypt("secret");
const decrypted = await store.decrypt(encrypted);
// Must be a 256-bit (32-byte) base64 string
const myKey = "aW5zZWN1cmVfMzJfYnl0ZV9iYXNlNjRfZGF0YQ==";
const store = new SecureStore({ userKey: myKey });
await store.initializeKey();
const encrypted = await store.encrypt("secret");
const decrypted = await store.decrypt(encrypted);
import React, { useEffect, useState } from "react";
import { SecureStore } from "secure-client-store";
const store = new SecureStore();
export default function App() {
const [crypted, setCrypted] = useState<string | null>(null);
useEffect(() => {
(async () => {
await store.initializeKey();
const c = await store.encrypt("secret from React");
setCrypted(c);
})();
store.autoClearData(1000 * 60 * 60); // 1 hour
}, []);
return <div>{crypted}</div>;
}
import { ref, onMounted } from "vue";
import { SecureStore } from "secure-client-store";
const store = new SecureStore();
export default {
setup() {
const data = ref("");
onMounted(async () => {
await store.initializeKey();
data.value = await store.encrypt("vue secret");
});
return { data };
}
};
import { Injectable } from "@angular/core";
import { SecureStore } from "secure-client-store";
@Injectable({ providedIn: "root" })
export class SecureService {
private store = new SecureStore();
async init() {
await this.store.initializeKey();
}
encrypt(text: string) {
return this.store.encrypt(text);
}
decrypt(ct: string) {
return this.store.decrypt(ct);
}
}
If you find secure-client-store useful, please consider supporting my work 🙌
🌍 Payoneer: Send via Payoneer
Payoneer Customer ID: 56133568
Bank Details:
Bank Name: Citibank
Bank Address: 111 Wall Street, New York, NY 10043, USA
Routing (ABA): 031100209
SWIFT Code: CITIUS33
Account Number: 70580680002068111
Account Type: CHECKING
Beneficiary Name: MUHAMMAD SAAD NASIR
FAQs
Universal client-side AES-GCM encryption for browsers & Node (works with React/Vue/Angular)
We found that secure-client-store demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.