
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.
@rozenite/agent-shared
Advanced tools

@rozenite/agent-shared contains the shared type definitions used by Rozenite Agent packages. It defines the Agent tool shape, the message protocol for registering and calling tools, and the shared AGENT_PLUGIN_ID constant used by the bridge packages.
AgentTool and JSON-schema-like input typesAGENT_PLUGIN_ID for the Agent transportInstall the shared package as a dependency:
npm install @rozenite/agent-shared
This package exports:
AGENT_PLUGIN_IDAgentToolJSONSchema7DevToolsPluginMessageRegisterToolPayloadUnregisterToolPayloadToolCallPayloadToolResultPayloadRegisterToolMessageUnregisterToolMessageToolCallMessageToolResultMessageAgentMessageimport {
AGENT_PLUGIN_ID,
type AgentTool,
type ToolCallMessage,
} from '@rozenite/agent-shared';
const tool: AgentTool = {
name: 'example.echo',
description: 'Echo a value back to the caller.',
inputSchema: {
type: 'object',
properties: {
value: { type: 'string' },
},
required: ['value'],
},
};
console.log(AGENT_PLUGIN_ID);
rozenite is an open source project and will always remain free to use. If you think it's cool, please star it 🌟.
Callstack is a group of React and React Native geeks, contact us at hello@callstack.com if you need any help with these or just want to say hi!
Like the project? ⚛️ Join the team who does amazing stuff for clients and drives React Native Open Source! 🔥
FAQs
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.