performing-oil-gas-cybersecurity-assessment
What it does
This tool helps check the security of industrial control systems in oil and gas companies. It assesses everything from refineries to pipelines and wells, comparing against security standards.
When to use it
- ✓When assessing the security of a refinery or pipeline.
- ✓When preparing for pipeline security audits.
- ✓When checking the security of remote control systems.
Skill link
https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/performing-oil-gas-cybersecurity-assessment/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Assess the security of our oil pipeline SCADA system according to the API 1164 standard.”
5 new skills a week. 1 minute to read.
How it works
The tool analyzes network configuration, control systems, and communications, comparing them against established security rules. It identifies weaknesses and suggests improvements.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Performing Oil & Gas Cybersecurity Assessment
When to Use
- When conducting a cybersecurity assessment of a refinery, pipeline, or production facility
- When preparing for TSA Pipeline Security Directive compliance (SD-01, SD-02)
- When assessing cybersecurity posture against API Standard 1164 (Pipeline SCADA Security)
- When evaluating the security of remote wellhead SCADA systems and satellite communications
- When a merger, acquisition, or regulatory audit requires a comprehensive OT security evaluation
Do not use for IT-only corporate network assessments of oil and gas companies, for physical security assessments without a cyber component, or for environmental compliance assessments.
Prerequisites
- Written authorization from facility management and operations team
- Understanding of oil and gas operations (upstream, midstream, downstream processes)
- Familiarity with API 1164, TSA SD-01/SD-02, IEC 62443, and NIST CSF
- Passive monitoring tools for OT network traffic capture
- Access to network diagrams, SCADA architecture documentation, and safety studies (HAZOP)
Workflow
Step 1: Scope Assessment Based on Facility Type
Oil and gas facilities have unique characteristics based on their operational segment that affect the assessment approach.
# Oil & Gas Cybersecurity Assessment Scope
facility:
name: "Gulf Coast Refinery"
segment: "Downstream"
capacity: "250,000 barrels per day"
regulatory: ["TSA SD-02", "API 1164", "IEC 62443", "NIST CSF"]
assessment_areas:
process_control:
description: "Refinery DCS and SCADA systems"
systems:
- "Honeywell Experion DCS - main process control"
- "Yokogawa CENTUM VP - hydrocracker unit"
- "Triconex SIS - emergency shutdown systems"
- "Allen-Bradley PLCs - utilities and tank farm"
protocols: ["Modbus/TCP", "OPC UA", "HART", "Foundation Fieldbus"]
pipeline_scada:
description: "Pipeline SCADA for crude receipt and product dispatch"
systems:
- "ABB RTU560 - pipeline RTUs at pump stations"
- "GE iFIX SCADA - pipeline control center"
- "Flow computers - custody transfer metering"
protocols: ["DNP3", "Modbus RTU over serial", "IEC 60870-5-104"]
communications: ["Licensed radio", "Leased line", "Satellite (VSAT)"]
safety_systems:
description: "Safety Instrumented Systems and fire/gas detection"
systems:
- "Schneider Triconex 3008 - process SIS"
- "Honeywell FSC - fire and gas"
- "Combustion turbine protection systems"
criticality: "SIL 2/3 rated - highest priority"
remote_access:
description: "Vendor and operator remote access to OT"
methods:
- "Citrix-based remote access to SCADA terminals"
- "VPN to vendor support for DCS maintenance"
- "Satellite communication to remote pump stations"
physical_security:
description: "Physical security integration with cyber"
systems:
- "Access control systems (badge readers)"
- "CCTV with IP network connectivity"
- "Perimeter intrusion detection"
compliance_mapping:
tsa_sd_02:
- "Implement network segmentation between IT and OT"
- "Develop and maintain a Cybersecurity Implementation Plan (CIP)"
- "Establish a Cybersecurity Assessment Program"
- "Report cybersecurity incidents to CISA within 24 hours"
- "Implement access control measures for critical OT systems"
api_1164:
- "Risk-based cybersecurity program for pipeline SCADA"
- "Asset identification and classification"
- "Network security and access control"
- "Personnel security and training"
- "Incident response and recovery"
Step 2: Assess Pipeline SCADA Security
Pipeline SCADA systems have unique challenges including long-distance communications over untrusted media, unmanned remote sites, and custody transfer integrity requirements.
#!/usr/bin/env python3
"""Pipeline SCADA Security Assessment Tool.
Evaluates security of pipeline SCADA systems against
API 1164 and TSA Pipeline Security Directive requirements.
"""
import json
import sys
from dataclasses import dataclass, field, asdict
from datetime import datetime
@dataclass
class AssessmentFinding:
finding_id: str
category: str
severity: str
title: str
description: str
affected_systems: list
regulatory_reference: str
remediation: str
timeline: str
@dataclass
class ComplianceCheck:
requirement_id: str
description: str
…
FAQ
What are SCADA systems?
SCADA (Supervisory Control and Data Acquisition) systems are used to monitor and control industrial processes remotely, such as in oil pipelines or refineries.
What are the API 1164 and TSA standards?
These are sets of rules and guidelines created to ensure the cybersecurity of control systems in oil and gas companies.
Is this tool for regular computer (IT) security?
No, this tool focuses on industrial control systems (OT), not on corporate IT networks.
Details
Original description by the author
Conduct cybersecurity assessments of upstream, midstream, and downstream oil and gas operations, covering pipeline SCADA, refinery DCS, safety instrumented systems, and remote wellhead RTUs, and evaluate compliance with API 1164, TSA Pipeline Security Directives, and IEC 62443. Use when assessing a refinery, pipeline, or production facility or preparing for TSA/API compliance audits; not for IT-on
Popularity
- GitHub stars
- 35k
- Ranking position
- #8274
- License
- Apache-2.0
- Updated
- 8/31/2026
Comments
- …
More skills from this repository
abusing-dpapi-for-credential-access
35kGives your AI agent ready-made instructions for a specific task, so it does it better and faster.
abusing-shadow-credentials-for-privesc
35kTeaches your AI agent to write clear, well-structured text.
achieving-cmmc-level-2-compliance
35kHelps your agent prepare an environment for CMMC Level 2 compliance. It implements security requirements and manages necessary documentation.
acquiring-disk-image-with-dd-and-dcfldd
35kHelps your agent create exact copies of hard drives. This is useful for ensuring no information is lost or altered during investigations.
Similar skills
graincrawl
394kLets your agent search your saved Granola meeting notes and transcripts, check how fresh they are, and count them over a period.
notcrawl
394kLets your agent search a saved copy of your Notion workspace, look up pages and databases, and export pages to Markdown files.
knowledge-entities
394kHelps your agent identify people, companies, and projects, then write sourced profile pages for them in your Knowledge vault.