hiskra-code
Configuração de agentes, skills e regras globais do opencode — instalável via npm
This report shows the evidence for hiskra-code@2.0.2. 1 of 8 known versions is blocked or flagged. The newest version, 3.1.0, is flagged. See all versions.
AI Security Review
scanned 4mo ago · by lpm-firewall-aiAlthough the contents look like a legitimate opencode agent bundle and no exfiltration/destructive code was found, installing npm packages must not silently install or activate AI-agent control instructions in the consuming project. The concrete lifecycle and import-time mutation of .opencode/opencode.json is sufficient to block as AI-agent control-surface hijack. Product guard normalized a concrete AI-agent control hijack publish_block to the blockable dangerous-capability shape.
Decision evidence
public snapshot- package.json defines postinstall: node postinstall.js
- postinstall.js copies package agents/, skills/, config.md into project .opencode/ during npm install
- postinstall.js creates opencode.json with default_agent: orquestrador and instructions: .opencode/config.md
- index.cjs public exports wrap calls with ensureProjectInitialized(), which auto-runs initProject on import/use when .opencode is absent
- agents/orquestrador.md is mode: primary with edit/bash allow and instructs use of subagents
- config.md contains broad workflow instructions for future AI-agent behavior
- No HTTP requests or exfiltration code found; only opencode schema URL string appears
- No child_process, eval, Function, dynamic remote loading, native binaries, or destructive rm/unlink behavior found
- Copied files are visible markdown config/agent/skill files rather than hidden binary payloads
Source & flagged code
3 flagged · loading sourcePackage defines install-time lifecycle scripts.
package.jsonView on unpkgInstall-time lifecycle script is not statically allowlisted and needs review.
package.jsonView on unpkgFindings
Affected versions and remediation
This report applies to hiskra-code@2.0.2.
The versions list below shows the verdict for each recorded version.
- Avoid installing hiskra-code@2.0.2. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.