@runsec/mcp 1.0.83 → 1.0.84

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -10
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1239,7 +1239,6 @@ function applyCognitivePipeline(workspaceRoot, findings) {
1239
1239
  (f) => f.suppressed || isNuclearSuppressedFinding(f) || !f.primary_log_eligible
1240
1240
  )
1241
1241
  ).concat(duplicates);
1242
- const allScored = [...primary, ...suppressed];
1243
1242
  console.error(
1244
1243
  `[runsec] cognitive: raw=${findings.length} nuclear=${nuclearSuppressed.length} primary=${primary.length} suppressed=${suppressed.length}`
1245
1244
  );
@@ -1249,7 +1248,7 @@ function applyCognitivePipeline(workspaceRoot, findings) {
1249
1248
  summary: {
1250
1249
  version: "v1.0",
1251
1250
  primary_log_threshold: PRIMARY_LOG_THRESHOLD,
1252
- findings_total: allScored.length,
1251
+ findings_total: findings.length,
1253
1252
  findings_primary: primary.length,
1254
1253
  findings_suppressed: suppressed.length,
1255
1254
  false_positive_filtering: true
@@ -1871,14 +1870,6 @@ function mapTrufflehogFindings(rows, workspaceRoot) {
1871
1870
  const rawSecret = String(raw.Raw ?? "").trim();
1872
1871
  const display = redacted || rawSecret || "[secret redacted]";
1873
1872
  const description = `TruffleHog: exposed ${detector}${verified ? " (verified)" : ""}`;
1874
- if (!isTrufflehogVerified(verified, description)) {
1875
- const blob = `${display} ${rawSecret} ${description}`;
1876
- if (isLockfileOrModulesPath(rel) || isStaticLayoutDumpPath(rel)) continue;
1877
- if (hasEnvironmentInterpolation(blob)) continue;
1878
- if (blobHasDevDatabaseSecret(blob)) continue;
1879
- if (isHexChecksumBlob(display) || isHexChecksumBlob(rawSecret)) continue;
1880
- if (isUnverifiedTrufflehogNoiseDetector(detector)) continue;
1881
- }
1882
1873
  const severity = severityForSecret(detector, verified);
1883
1874
  findings.push({
1884
1875
  category: "secrets",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@runsec/mcp",
3
- "version": "1.0.83",
3
+ "version": "1.0.84",
4
4
  "main": "dist/index.js",
5
5
  "files": [
6
6
  "package.json",