
Research
/Security News
77 Firefox Extensions Linked to Crypto Wallet and Credential Theft
Socket uncovered 77 linked Firefox extensions, including 40 that steal wallet secrets or credentials and 37 deceptive sports-score shells.
@profullstack/sh1pt-core
Advanced tools
Core interfaces and contract-test runners for sh1pt adapters.
🌐 Homepage: https://sh1pt.com 📦 Source: https://github.com/profullstack/sh1pt
sh1pt is the single command between an idea and global distribution — one codebase → every store, registry, CDN, ad network, cloud provider, and channel. This package is its foundation: the plugin contract every adapter implements, plus the test runners that verify adapters behave.
pnpm add @profullstack/sh1pt-core
# or: npm i, bun add, deno add npm:
You only need this package directly if you're authoring a sh1pt adapter — a social platform, a cloud provider, a payment processor, a package registry. If you just want to use sh1pt, install @profullstack/sh1pt instead.
Target, SocialPlatform, Bot, BridgeNetwork, CloudProvider, DnsProvider, MerchProvider, PaymentProvider, AdPlatform, VcsProvider, AgentCLI, CaptchaSolver, WebhookTarget, DocProvider, JurisdictionPack, RecipedefineXxx() constructors — type-safe factories every adapter uses as its export defaultsetup() helpers — webhookUrlSetup, tokenSetup, oauthSetup, manualSetup, plus the SetupContext / SetupResult types every adapter uses to auto-persist config to ~/.config/sh1pt/config.json@profullstack/sh1pt-core/testing — one-line test setup per adapterimport { defineSocial, tokenSetup } from '@profullstack/sh1pt-core';
interface Config {
username: string;
}
export default defineSocial<Config>({
id: 'social-my-platform',
label: 'My Platform',
requires: { maxBodyChars: 500 },
async connect(ctx, config) {
if (!ctx.secret('MY_PLATFORM_TOKEN')) {
throw new Error('MY_PLATFORM_TOKEN not in vault');
}
return { accountId: config.username };
},
async post(ctx, post, config) {
ctx.log(`posting ${post.body.length} chars`);
if (ctx.dryRun) return { id: 'dry-run', url: '', platform: 'my-platform', publishedAt: new Date().toISOString() };
// … real API call …
return { id: `mp_${Date.now()}`, url: '…', platform: 'my-platform', publishedAt: new Date().toISOString() };
},
setup: tokenSetup({
secretKey: 'MY_PLATFORM_TOKEN',
label: 'My Platform',
vendorDocUrl: 'https://my-platform.example.com/developers',
steps: [
'Go to the developer console',
'Create an API token with post scope',
'Copy the token (shown once)',
],
}),
});
Every adapter that implements an interface should run the matching contract-test runner. One line in your test file:
// packages/social/my-platform/src/index.test.ts
import { contractTestSocial } from '@profullstack/sh1pt-core/testing';
import adapter from './index.js';
contractTestSocial(adapter, {
sampleConfig: { username: 'testuser' },
requiredSecrets: ['MY_PLATFORM_TOKEN'],
});
The runner verifies:
id and label are present and correctly namespacedconnect() throws a vault-hint error when required secrets are missingdry-run mode never hits the network--max-hourly-price, social adapters with requires.media reject posts without media, etc.)@profullstack/sh1pt-core also exports the JSON-on-disk config store every adapter's setup() writes to:
import { getAdapterConfig, setAdapterConfig, configPath } from '@profullstack/sh1pt-core';
const cfg = await getAdapterConfig<MyConfig>('social-my-platform');
await setAdapterConfig('social-my-platform', { username: 'sh1pt' });
console.log('config lives at', configPath()); // ~/.config/sh1pt/config.json
Atomic writes, 0600 perms, respects XDG_CONFIG_HOME.
MIT
FAQs
Core interfaces and contract-test runners for sh1pt adapters.
The npm package @profullstack/sh1pt-core receives a total of 90 weekly downloads. As such, @profullstack/sh1pt-core popularity was classified as not popular.
We found that @profullstack/sh1pt-core 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
/Security News
Socket uncovered 77 linked Firefox extensions, including 40 that steal wallet secrets or credentials and 37 deceptive sports-score shells.

Security News
NIST disclosed an unreleased AI tool called V-etalon and opened a broad inquiry into NVD modernization after years of automation plans produced no public enrichment system.

Security News
In his AI Council 2026 talk, Feross Aboukhadijeh covers recent package compromises, vulnerability discovery, and a more automated security model.