
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@agentuity/keyvalue
Advanced tools
A standalone package for the Agentuity Key-Value storage service.
npm install @agentuity/keyvalue
import { KeyValueClient } from '@agentuity/keyvalue';
const client = new KeyValueClient();
// Set a value with optional TTL
await client.set('my-namespace', 'user:123', { name: 'John', email: 'john@example.com' }, {
ttl: 3600 // expires in 1 hour
});
// Get a value
const result = await client.get('my-namespace', 'user:123');
if (result.exists) {
console.log('Found:', result.data);
console.log('Content-Type:', result.contentType);
}
// Delete a value
await client.delete('my-namespace', 'user:123');
// Get namespace statistics
const stats = await client.getStats('my-namespace');
console.log(`${stats.count} keys, ${stats.sum} bytes`);
// Search for keys
const results = await client.search('my-namespace', 'user');
The client can be configured with options:
const client = new KeyValueClient({
apiKey: 'your-api-key', // or set AGENTUITY_SDK_KEY
url: 'https://api.agentuity.com', // or set AGENTUITY_KV_URL
logger: customLogger, // optional custom logger
});
| Variable | Description | Default |
|---|---|---|
AGENTUITY_SDK_KEY | API key for authentication | Required |
AGENTUITY_REGION | Region for API endpoints | usc |
AGENTUITY_KV_URL | Override KV API URL | Auto-detected |
Keys can have an optional TTL:
// Key expires in 1 hour
await client.set('ns', 'key', value, { ttl: 3600 });
// Key never expires
await client.set('ns', 'key', value, { ttl: null });
// Key uses namespace default TTL
await client.set('ns', 'key', value);
Apache-2.0
FAQs
Unknown package
We found that @agentuity/keyvalue demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.