~/talk

Stop Writing Insecure PowerShell... Seriously.

Talkat PowerShell + DevOps Global Summit 2025 · 2025-04-07..04-10· [security]
name:Rob Pleau
links:none on file
slides:none on file

Demonstrates concrete fixes: runs PSScriptAnalyzer with built‑in security rules, adds InjectionHunter and a custom AST‑based rule that flags four fake SSNs, and wires those checks into a GitHub Actions CI that fails on injection violations (three violations triggered in the demo). Shows an exploitable get‑whois module where Invoke‑Expression downloads a payload, and uses Microsoft.PowerShell.SecretManagement + SecretStore to replace hardcoded credentials with vault‑backed secrets.

AI-written summary · about

  1. 0:00Welcome
  2. 2:18Insecure PowerShell patterns
  3. 3:00PowerShell Script Analyzer
  4. 6:50Script Analyzer on insecure code
  5. 9:58Extending Script Analyzer with Injection Hunter
  6. 13:11Injection attacks with Invoke-Expression
  7. 17:44Custom rules for PII detection
  8. 25:47Script Analyzer for CI/CD
  9. 31:05Script Analyzer in GitHub Actions
  10. 36:04PowerShell Secret Management
  11. 43:47Module safety evaluation
  12. 45:11Closing and Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.