
Security News
GPT-6 Astra Attempts Supply Chain Attacks Against Open Source Maintainers in Testing
GPT-6 Astra hits 100% on ExploitBench and finds zero-days autonomously, while independent tests reveal scope violations and monitoring gaps.
agentshield-js
Advanced tools
Official SDK for the AgentShield security protocol — real-time smart contract security for autonomous AI agents
Trust no contract. Verify before you transact.
Official JavaScript SDK for AgentShield — smart contract security for autonomous AI agents. 20 methods covering verification, scanning, wallet monitoring, threat reporting, and leaderboards.
npm install agentshield-js
const AgentShield = require('agentshield-js');
const shield = new AgentShield({ apiKey: 'your-key' }); // optional for free tier
// Verify a contract before trading
const result = await shield.verify('0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D', 'ethereum');
console.log(result.risk_level); // "low" | "medium" | "high" | "critical"
console.log(result.is_honeypot); // false
console.log(result.risks_found); // []
// Full scan (14+ checks)
const scan = await shield.scan('DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263', 'solana');
console.log(scan.mint_authority); // false
console.log(scan.freeze_authority); // false
// Safe wrapper — throws on dangerous contracts
await shield.safeInteract('0x...', 'base'); // throws if honeypot/rug
| Method | Description |
|---|---|
verify(contract, chain) | Quick safety check — honeypots, rug pulls, taxes, ownership |
scan(contract, chain) | Full 14+ threat scan — mint auth, freeze, proxies, liquidity |
deepScan(contract, chain) | Forensic analysis — bytecode, ownership graph, exploits |
verifyBatch(contracts, chain) | Batch verify up to 50 contracts |
contractDiff(contract, chain) | Detect changes between contract snapshots |
safeInteract(contract, chain) | Verify + throw on danger (use before any tx) |
safeScan(contract, chain) | Scan + throw on danger |
| Method | Description |
|---|---|
monitor({ wallet, callback_url }) | Real-time drain detection with auto-freeze |
freeze({ wallet, reason }) | Emergency freeze all agent wallets |
alerts(wallet, limit) | Get recent drain alerts |
| Method | Description |
|---|---|
report({ contract, reason, evidence }) | Report malicious contracts (+50 bonus calls) |
reputation(agent) | Get community reputation score |
webhook({ contract, callback_url }) | Watch for proxy upgrades, ownership transfers |
dashboard() | Your usage, billing, webhooks |
stats() | Platform-wide statistics |
integrations() | Available integrations |
| Method | Description |
|---|---|
leaderboard() | Race to 1M — top 10 win $500 USDC |
setAgentName(name) | Set leaderboard display name |
giveaway() | View active giveaways |
giveawayEnter(name) | Enter giveaway (paid subscribers only) |
referral(action, code) | Create/redeem referral codes (20% commission) |
Ethereum, Base, Polygon, Arbitrum, Optimism, BSC, Avalanche, Solana
| Tier | Price | Calls |
|---|---|---|
| Free | $0 | 10 verify + 5 scan + 2 deep per day |
| Pay-per-call | $0.001 | Unlimited via x402 (USDC or SOL) |
| Starter | $4.99/mo | 5,000 calls |
| Pro | $19.99/mo | 100,000 + unlimited deep scans |
| Builder | $49.99/mo | Unlimited everything |
For AI agents using Model Context Protocol:
npx agentshield-mcp
See agentshield-mcp for 19 MCP tools.
MIT
FAQs
Official SDK for the AgentShield security protocol — real-time smart contract security for autonomous AI agents
The npm package agentshield-js receives a total of 4 weekly downloads. As such, agentshield-js popularity was classified as not popular.
We found that agentshield-js 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
GPT-6 Astra hits 100% on ExploitBench and finds zero-days autonomously, while independent tests reveal scope violations and monitoring gaps.

Product
Socket can now send alerts and supply chain attack notifications to Microsoft Teams, with filters that route the right updates to each channel.

Security News
pnpm 12 rewrites the package manager in Rust, cutting install times by up to 90% while preserving pnpm 11 workflows and lockfiles.