ship-safe 9.2.3 → 9.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli/agents/mcp-security-agent.js +1 -1
- package/cli/commands/ci.js +2 -2
- package/package.json +1 -1
- package/cli/.ship-safe/context.json +0 -8157
- package/cli/.ship-safe/history.json +0 -190
|
@@ -64,7 +64,7 @@ const PATTERNS = [
|
|
|
64
64
|
{
|
|
65
65
|
rule: 'MCP_STDIO_NO_SANDBOX',
|
|
66
66
|
title: 'MCP: stdio Transport Without Sandbox',
|
|
67
|
-
regex: /(?:StdioServerTransport|
|
|
67
|
+
regex: /(?:StdioServerTransport|new\s+StdioTransport|transport\s*[:=]\s*['"]stdio['"]|StdioClientTransport)/g,
|
|
68
68
|
severity: 'medium',
|
|
69
69
|
cwe: 'CWE-269',
|
|
70
70
|
owasp: 'A04:2021',
|
package/cli/commands/ci.js
CHANGED
|
@@ -241,10 +241,10 @@ function buildSARIF(findings, rootPath) {
|
|
|
241
241
|
locations: [{
|
|
242
242
|
physicalLocation: {
|
|
243
243
|
artifactLocation: {
|
|
244
|
-
uri: path.relative(rootPath, f.file).replace(/\\/g, '/'),
|
|
244
|
+
uri: path.relative(rootPath, f.file).replace(/\\/g, '/').replace(/\[/g, '%5B').replace(/\]/g, '%5D'),
|
|
245
245
|
uriBaseId: '%SRCROOT%',
|
|
246
246
|
},
|
|
247
|
-
region: { startLine: f.line, startColumn: f.column || 1 },
|
|
247
|
+
region: { startLine: Math.max(1, f.line || 1), startColumn: f.column || 1 },
|
|
248
248
|
},
|
|
249
249
|
}],
|
|
250
250
|
})),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ship-safe",
|
|
3
|
-
"version": "9.2.
|
|
3
|
+
"version": "9.2.4",
|
|
4
4
|
"description": "AI-powered multi-agent security platform. 23 agents scan 80+ attack classes including AI integration supply chain (Vercel-class attacks), Hermes Agent deployments (ASI-01–ASI-10), tool registry poisoning, function-call injection, skill permission drift, and agent attestation. Ship Safe × Hermes Agent.",
|
|
5
5
|
"main": "cli/index.js",
|
|
6
6
|
"bin": {
|