In practice / Prevention
Company security: prevention from code to the internal network
What ongoing security care should include: websites, internal systems, servers, code, access, updates, backups and a prepared response.
A company does not have one kind of security for its website and another for everything else. Accounts, servers, code, the network and suppliers are all connected. A weak spot in one part can change the risk for the entire operation.
The PHP, React2Shell and Shai-Hulud cases show different types of problems. There is no single button that solves them all. You need a sustainable way of working.
1. Know what you operate
List public websites, internal applications, servers, domains, network devices and important external services. Record the administrator, support, access and dependencies. Do not forget test installations and old projects that are still accessible.
2. Assign responsibility for updates
Every important component needs an owner for alerts and fixes. Decide how urgency is assessed, who can approve a maintenance intervention and how the result is verified. Choose the check interval according to exposure and risk; a critical announcement should not wait for a routine administrative date.
3. Review the code and its path to production
A security review should cover dependencies, repository permissions, publishing processes and secrets. When taking over a project, ask for documentation and agree who manages integrations. AI-suggested code should go through the same expert review and functional testing as any other change.
4. Separate permissions and network environments
An employee, an external supplier, a guest device and a server do not need the same rights. Review multi-factor authentication, unused accounts, remote access and network segmentation. When a person leaves or a supplier changes, there must be a procedure for revoking access.
5. Monitor events that someone will evaluate
Monitoring should have an owner and clear escalation. A high number of alerts without a response is not working oversight. Select critical functions and suspicious events to which you can assign a next step.
6. Verify backups and recovery
Test the recovery of data, configurations and the application within the agreed scope. Track the time, missing information and the resulting functionality. Depending on the company's goals, failover to a standby operation may also be needed.
7. Prepare people for an incident
Define contacts, decision-making rights and how available evidence will be preserved. Employees should know where to report a suspicious message, an unknown sign-in or unusual system behaviour. The procedures must remain available even when the usual tools are down.
What regular care should deliver
A clear overview of changes made, new findings and open risks. The company should know what has been resolved, what is awaiting a decision and what needs larger modernisation. It is advisable to adjust the frequency and scope continuously to changes in the project.
A security audit helps set priorities. Ongoing management should then make sure that fixes, updates and recovery verification become regular work.
Sources and further reading
The links lead to the original announcements, reports and documentation the article is based on.