
Security News
Insecure Agents Podcast: How to Keep AI Agents From Bypassing Security Controls
Socket CTO Ahmad Nassri discusses how to keep AI agents from bypassing package blocks, limit credential access, and monitor their actions.
tweetapi-sdk
Advanced tools
TypeScript client for the tweetapi.dev API: read-only X (Twitter) profiles, tweets, threads, search.
Typed TypeScript client for tweetapi.dev, the read-only X (Twitter) data API. Generated from the API's OpenAPI document, so every endpoint, parameter and response type is here.
npm install tweetapi-sdk
import { tweetapi } from 'tweetapi-sdk';
const api = tweetapi({ apiKey: process.env.TWEETAPI_KEY! });
const { data: profile } = await api.getUser({ path: { handle: 'x' } });
console.log(profile?.data?.followers, profile?.credits_charged);
const { data: page } = await api.searchTweets({ query: { q: 'from:x since:2026-09-01', count: 20 } });
for (const t of page?.data ?? []) console.log(t.id, t.text);
const { data: many } = await api.getUsers({ body: { handles: ['x', 'github', 'vercel'] } });
console.log(many?.items, many?.errors);
Every call returns { data, error, response }. On a non-2xx status data is undefined and error holds the
API error with its code (no_credits, not_found, rate_limited, ...). Works in Node 18+, Bun, Deno,
browsers and edge runtimes; it uses fetch.
Methods: getMe, listPacks, createCheckout, getUser, getUsers, getUserTweets, getFollowers,
getFollowing, searchTweets, getTweet, getTweets, getThread, getReplies, getQuotes,
getRetweeters. Pagination: pass next_cursor from a page back as query.cursor.
Docs: https://tweetapi.dev/docs. API reference: https://tweetapi.dev/reference.
FAQs
TypeScript client for the tweetapi.dev API: read-only X (Twitter) profiles, tweets, threads, search.
The npm package tweetapi-sdk receives a total of 13 weekly downloads. As such, tweetapi-sdk popularity was classified as not popular.
We found that tweetapi-sdk 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.

Security News
Socket CTO Ahmad Nassri discusses how to keep AI agents from bypassing package blocks, limit credential access, and monitor their actions.

Security News
GPT-6 Astra tried to plant malicious code in simulated open source projects using fake GitHub accounts and deceptive PRs during an assigned CTF challenge.

Security News
upm uses Node.js to deliver fast npm installs in about 250 KB, with a JavaScript API and security defaults.