ISPS Code
acronymKept in this browser · My desk
Stands for: International Ship and Port Facility Security Code
The International Maritime Organization's set of measures for the security of ships and port facilities, adopted in December 2002 under the Safety of Life at Sea Convention and applied since 1 July 2004.
The International Maritime Organization (IMO) developed the code in response to the perceived threats to ships and port facilities after the attacks of 11 September 2001. It is implemented through chapter XI-2 of the International Convention for the Safety of Life at Sea (SOLAS), has a mandatory and a recommendatory part, and treats security as risk management: each port facility is assessed and runs an approved security plan under a port facility security officer. Its three security levels are what a government raises when the threat rises.
What it covers. The International Ship and Port Facility Security (ISPS) Code entered into force on 1 July 2004 through chapter XI-2 of the International Convention for the Safety of Life at Sea (SOLAS), Special measures to enhance maritime security. The chapter applies to passenger ships and to cargo ships of 500 gross tonnage and upwards, including high-speed craft, to mobile offshore drilling units, and to the port facilities that serve such ships on international voyages. Regulation XI-2/2 gives the code its force; its Part A is mandatory, and Part B is guidance on how to meet Part A. Every company, ship and port facility in scope designates a security officer, the CSO (company security officer), the SSO (ship security officer) and the PFSO (port facility security officer), who assess the risks and prepare and implement the security plans. Regulation XI-2/8 confirms that the master's professional judgement on the ship's security may not be constrained by the company, the charterer or anyone else.
The three levels. The International Maritime Organization (IMO) defines them. Level 1 is normal, the level at which the ship or port facility normally operates, with minimum appropriate protective measures maintained at all times. Level 2 is heightened, applying for as long as there is a heightened risk of a security incident, with additional measures maintained for a period of time. Level 3 is exceptional, for the period when a security incident is probable or imminent, even if the specific target cannot be identified, and setting it should be an exceptional measure based on credible information. Under regulation XI-2/3 the flag state sets the level for its ships, and a ship entering or lying in the port of another contracting government must comply with that government's level when it is higher than the one its own administration has set.
The technical measures that came with it. Regulation XI-2/6 requires every ship in scope to carry a ship security alert system, which sends a ship-to-shore alert to an authority designated by the flag administration, identifying the ship and its position and saying its security is under threat or compromised; it raises no alarm on board, and it must be possible to activate it from the navigation bridge and from at least one other place. The 2002 package also set a new timetable for the Automatic Identification System (AIS): ships other than passenger ships and tankers, of 300 gross tonnage and upwards but under 50,000, had to fit it by the first safety equipment survey after 1 July 2004 or by 31 December 2004, whichever came first, and keep it running at all times except where navigational information must be protected. Ships were required to carry their identification number permanently marked on the hull or superstructure, and a Continuous Synopsis Record, issued by the flag administration, keeps the ship's history of names, flags, owners and registrations on board.
How it is enforced. The code applies the same way to flag states and port states everywhere. The organization keeps no black list of non-compliant countries and imposes no penalties, which it says is not within its remit; it expects market forces to drive compliance. Control is exercised ship by ship, in port, where the other regulations of chapter XI-2 let a contracting government delay or detain a ship, restrict its operations or expel it. The 2002 conference that adopted the code also invited the World Customs Organization to work on the security of cargo units across the supply chain and the International Labour Organization to develop a seafarers' identity document.
How Brazil applies it. Brazil's Congress approved the code through Legislative Decree 645 of 18 September 2009, and it was promulgated by Decree 9.988 of 26 August 2019. Its application is run by a national commission, the Comissão Nacional de Segurança Pública nos Portos, Terminais e Vias Navegáveis (Conportos), under Decree 9.861 of 25 June 2019, and by state commissions (Cesportos), such as Cesportos-SP in São Paulo. Conportos's consolidated rules, Resolution 53 of 4 September 2020, were signed by its president from the Federal Police together with representatives of the Navy, the Foreign Ministry and the national ports secretariat. In its vocabulary each port facility has a risk assessment study (EAR, Estudo de Avaliação de Risco) and a port security plan (PSP, Plano de Segurança Portuária), approved by Conportos through the state commission, and a port security supervisor (SSP, Supervisor de Segurança Portuária), the code's PFSO; only private security organizations accredited by Conportos may prepare the assessments and plans; and the facility issues a Declaration of Security when a ship's security officer requests one. The resolution lists separate measures for levels 1, 2 and 3 covering access, restricted areas, cargo handling, ship stores, unaccompanied baggage and monitoring.
Cyber is separate. The code is about physical and procedural security. The organization's cyber guidance is separate: guidelines on maritime cyber risk management (MSC-FAL.1/Circ.3, now in its fourth revision), and Resolution MSC.428(98), adopted by the Maritime Safety Committee in June 2017, which encourages administrations to make sure cyber risks are addressed in the safety management systems that the International Safety Management (ISM) Code requires, no later than the first annual verification of a company's Document of Compliance after 1 January 2021. The International Association of Ports and Harbors (IAPH) publishes cybersecurity guidelines for ports and port facilities. For ships, the binding detail now comes from classification societies. The International Association of Classification Societies (IACS) Unified Requirement (UR) E26, Cyber resilience of ships, in its first revision of November 2023, applies to ships contracted for construction on or after 1 July 2024, after the 2022 version was withdrawn before it came into force; it is organized under Identify, Protect, Detect, Respond and Recover, the functions familiar from the NIST (National Institute of Standards and Technology) Cybersecurity Framework, and leaves the requirements for individual systems and equipment to UR E27. Its definitions read like a network design brief: a network segment is an OSI (Open Systems Interconnection) layer 2 Ethernet segment, a broadcast domain; segments communicate only through routing at layer 3; and a security zone is a group of computer-based systems with the same security requirements behind interfaces to which an access control policy is applied. On a new ship, VLAN (virtual local area network) and firewall design is part of the class approval.
The two meet at the gate. When the systems of the Santos Port Authority (APS, Autoridade Portuária de Santos), which runs Brazil's largest port, were attacked in November 2026, the trouble surfaced after a power outage that hit its servers on the morning of Friday 6 November; internet and telephone services came back on Monday 9 November after three days, while the port's website and other internal systems were still down on 10 November, when the authority confirmed a cyber attack and said it could not yet determine its extent or whether data had been accessed. The São Paulo state commission for public security in ports, terminals and waterways (Cesportos-SP), coordinated by a Federal Police officer, voted on 8 November to raise the protection of the port's public accesses to level 2: more checks on people and vehicles entering the customs zone and more cargo inspections, with controls carried out by hand. CLM Brasil reported the decision as a response to the cyber vulnerability and to failures detected at the public gates, and the Federal Police opened an inquiry on 10 November. A Navy exercise with about 700 personnel, Operation Tridente III, ran in Santos and Praia Grande from 9 to 12 November, with no operational link shown to the attack. A cyber attack had raised a physical security level. The numbers worth remembering: 1 July 2004, chapter XI-2, 500 gross tonnage, three levels, and 1 July 2024 for the classification rules on ships' cyber resilience.
Also known as: isps, código isps, código internacional para a proteção de navios e instalações portuárias, security level 2, nível de proteção 2, solas xi-2, cesportos, msc.428(98)
Sources
- International Maritime Organization, Frequently Asked Questions on Maritime Security (read 2026-11-12): what the ISPS Code is; SOLAS chapter XI-2 and its scope (passenger ships, cargo ships of 500 gross tonnage and upwards, high-speed craft, mobile offshore drilling units and the port facilities serving them on international voyages); regulations XI-2/3, XI-2/6, XI-2/8 and XI-2/10; the three security levels; adopted in December 2002; the AIS timetable, ship identification numbers and the Continuous Synopsis Record; no black list and no penalties; the 2002 conference resolutions on the WCO and the ILO
- International Maritime Organization, Maritime cyber risk (read 2026-11-12): MSC-FAL.1/Circ.3/Rev.4 guidelines; Resolution MSC.428(98) of June 2017 and the 1 January 2021 verification date; the IAPH guidelines for ports; IACS Recommendation 166 among other guidance
- CLM Brasil, 'Porto de Santos confirma invasão hacker e Polícia Federal eleva o nível de segurança', 10 November 2026 (read 2026-11-11): Cesportos raised Santos to protection level II after the cyber vulnerability and failures at the public gates; the consultation of Sunday 8 November; the order formalized by the Federal Police officer who coordinates the commission
- TMC, 'Porto de Santos é alvo de ataque hacker; sistemas estão fora do ar' (read 2026-11-11): the port authority's note; the Comissão Estadual de Segurança Pública nos Portos, Terminais e Vias Navegáveis (Cesportos-SP) raised the protection of the accesses
- International Maritime Organization, SOLAS XI-2 and the ISPS Code (read 2026-11-12): in force under SOLAS chapter XI-2 on 1 July 2004; mandatory Part A and recommendatory Part B; port facility, ship and company security officers (PFSO, SSO, CSO) who assess and prepare security plans
- Conportos, Resolução nº 53, de 4 de setembro de 2020, published by the Federal Police (read 2026-11-12): consolidation of the national commission's rules under the ISPS Code; the 5th Diplomatic Conference's Resolution 2 of 12 December 2002; Legislative Decree 645 of 18 September 2009 and Decree 9.988 of 26 August 2019; Decree 9.861 of 25 June 2019; risk assessment (EAR), port security plan (PSP) and port security supervisor (SSP); security organizations accredited by Conportos; the Declaration of Security; measures for protection level 2; signed by the Federal Police president of Conportos with the Navy, Foreign Affairs and the national ports secretariat
- IACS, Unified Requirement E26, Cyber resilience of ships, Rev.1, November 2023 (read 2026-11-12): applied to ships contracted for construction on or after 1 July 2024; the April 2022 version withdrawn before 1 January 2024; scope as passenger ships and cargo ships of 500 GT and upwards on international voyages; a network segment defined as an OSI layer-2 Ethernet segment, with routing at layer 3 between segments; security zones with an access control policy; requirements under Identify, Protect, Detect, Respond and Recover; UR E27 for on-board systems and equipment; IEC 61162-460 for navigation and radiocommunication
- Agência iNFRA, 'Porto de Santos mantém operações e busca normalizar sistemas, afirma APS', 10 November 2026, 15:46 (read 2026-11-12): operations maintained; systems affected after a power outage on Friday 6 November; internet and telephony restored, the website and other internal systems still unavailable; Cesportos-SP widened the protection of the accesses; the extent of the attack and any data access not yet determined
- SBT News (Beatriz Nogueira), 'Porto de Santos confirma que sofreu ataque hacker', 10 November 2026, 19:45 (read 2026-11-12): the incident identified after a power outage on the morning of Friday 6 November; internet and telephony restored on Monday 9 November after three days; alternative means of service and control
- Revista Sociedade Militar, 'Maior porto do Brasil confirma ataque hacker, PF abre inquérito e nível de segurança é elevado enquanto Marinha mobiliza 700 militares na região', 10 November 2026 (read 2026-11-12): a Federal Police inquiry opened on 10 November; controls carried out manually; the Navy's Operation Tridente III from 9 to 12 November in Santos and Praia Grande, with no operational link shown to the attack