
Research
Supply Chain Attack on Axios Pulls Malicious Dependency from npm
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.
bootstrap-supabase-provider
Advanced tools
Easily connect your frontend app to Supabase via a Bootstrap modal.
Let users connect their Supabase project via a Bootstrap modal — no backend setup required. ✨
npm install bootstrap-supabase-provider@1.0.4
Then add this to your HTML:
<script type="importmap">
{
"imports": {
"bootstrap-supabase-provider": "./node_modules/bootstrap-supabase-provider/bootstrap-supabase-provider.js"
}
}
</script>
<script type="importmap">
{
"imports": {
"bootstrap-supabase-provider": "https://cdn.jsdelivr.net/npm/bootstrap-supabase-provider@1.0.4"
}
}
</script>
import { bootstrapSupabaseProvider} from "https://cdn.jsdelivr.net/npm/bootstrap-supabase-provider@1.0.4";
// Basic Config - Opens a modal and asks user for Supabase details 🔧
const { supabase, url, anonKey } = await bootstrapSupabaseProvider();
// Example query 📊
const { data, error } = await supabase.from("todos").select("*");
console.log(data, error);
// Always Show Modal - even if user has provided configuration before 🔄
const config1 = await bootstrapSupabaseProvider({ show: true });
// Custom Labels and Help 🎨
const config2 = await bootstrapSupabaseProvider({
title: "Connect to Database",
urlLabel: "Database URL",
keyLabel: "API Key",
buttonLabel: "Connect",
help: '<div class="alert alert-info">Get your credentials from <a href="https://supabase.com/dashboard">Supabase Dashboard</a></div>',
});
// Custom Storage - store in sessionStorage 💾
const config3 = await bootstrapSupabaseProvider({
storage: sessionStorage,
key: "mySupabaseConfig"
});
async function bootstrapSupabaseProvider({
storage: localStorage, // where to store config, e.g. sessionStorage 💾
key: "bootstrapSupabaseProvider_config", // key name for storage 🔑
show: false, // true will force prompt even if config exists 👁️
help: "", // HTML rendered at top of modal 💡
title: "Supabase Configuration", // modal dialog title 📝
urlLabel: "Supabase URL", // URL input label 🌐
keyLabel: "Supabase Anon Key", // API key input label 🔐
buttonLabel: "Connect to Supabase", // submit button label 🔗
})
// Returns: { supabase, url, anonKey } ✅
git clone https://github.com/Nitin399-maker//bootstrap-supabase-provider.git
cd bootstrap-supabase-provider
npm install
To test locally: 🧪
<script type="module" src="./bootstrap-supabase-provider.js"></script>
To publish: 📤
npm login
npm publish --access public
MIT License © 2025 Nitin Kumar ✨
FAQs
Easily connect your frontend app to Supabase via a Bootstrap modal.
We found that bootstrap-supabase-provider demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers 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.

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.

Security News
TeamPCP is partnering with ransomware group Vect to turn open source supply chain attacks on tools like Trivy and LiteLLM into large-scale ransomware operations.