
Research
SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains
An emerging npm supply chain attack that infects repos, steals CI secrets, and targets developer AI toolchains for further compromise.
00f100/fcphp-session
Advanced tools
Package to manipulate Session
Composer:
$ composer require 00f100/fcphp-session
or add in composer.json
{
"require": {
"00f100/fcphp-session": "*"
}
}
use FcPhp\Session\Facades\SessionFacade;
/**
* Method to return instance of Session
*
* @param array $cookies Cookies default
* @param string $nonce Nonce to use 00f100/fcphp-crypto
* @param string $pathKeys Path to save crypto-keys
* @return void
*/
SessionFacade::getInstance(array $cookies, string $nonce = null, string $pathKeys = null);
// Start session and load cache
$nonce = '...';
$pathKeys = 'var/crypto/keys';
// Use Cache into file
$sessionFile = SessionFacade::getInstance($_COOKIE, $nonce, $pathKeys);
// Create new configuration
$sessionRedis->set('item.config', 'value');
// Print: value
echo $sessionRedis->get('item.config');
/*
Return:
Array (
'item' => Array(
'config' => 'value'
)
)
*/
print_r($sessionRedis->get());
// Save into Cookie
$sessionRedis->commit();
FAQs
Package to manipulate Sessions
We found that 00f100/fcphp-session demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
An emerging npm supply chain attack that infects repos, steals CI secrets, and targets developer AI toolchains for further compromise.

Company News
Socket is proud to join the OpenJS Foundation as a Silver Member, deepening our commitment to the long-term health and security of the JavaScript ecosystem.

Security News
npm now links to Socket's security analysis on every package page. Here's what you'll find when you click through.