fullcourtdefense-cli 1.34.18 → 1.34.19

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.
@@ -7424,6 +7424,8 @@ function provenCompoundDownload(command, detectedUrl) {
7424
7424
  const segments = splitShellSegments(command).filter((segment) => /\b(?:https?|s3|gs|ftp|sftp|smb):\/\//i.test(segment));
7425
7425
  if (!segments.length || !command.includes(detectedUrl)) return false;
7426
7426
  return segments.every((segment) => {
7427
+ const statusRead = /^\(((?:Invoke-WebRequest|iwr)\s+[^\r\n]+)\)\.(?:StatusCode|StatusDescription|RawContentLength)$/i.exec(segment);
7428
+ if (statusRead) segment = statusRead[1];
7427
7429
  if (/[$`{}()<>;&]/.test(segment)) return false;
7428
7430
  const pipeline = splitShellSegments(segment, true);
7429
7431
  if (pipeline.slice(1).some((part) => !/^(?:Select-Object|Format-Table|Format-List)\s+[\w., *-]+$|^Out-Null$/i.test(part))) return false;
package/dist/version.json CHANGED
@@ -1,3 +1,3 @@
1
1
  {
2
- "version": "1.34.18"
2
+ "version": "1.34.19"
3
3
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fullcourtdefense-cli",
3
- "version": "1.34.18",
3
+ "version": "1.34.19",
4
4
  "description": "Full Court Defense CLI — security scanning for AI agents from your terminal",
5
5
  "main": "dist/index.js",
6
6
  "bin": {